int MLSetEnvIDString (MLENV env, const char *eid) sets the MathLink environment identification string to eid.
void MLSetUserData (MLINK link, void* d, MLUserFunction f) installs the users data object data and function f in link.
int MLPutFunction (MLINK link, const char *s, int n) puts a function with head given by a symbol with name s and with n arguments to the MathLink connection specified by link.
MLENV
(Mathematica MathLink C Function) MLENV is a MathLink type representing a MathLink library environment.
int MLGetReal64 (MLINK link, double *x) gets a double-precision floating-point number from the MathLink connection link and stores it in x.
MLINK MLLoopbackOpen (MLENV env, int *errno) opens a loopback MathLink connection.
int MLSetYieldFunction (MLINK link, MLYieldFunctionObject yf) installs the yield function yf for the link referenced by link.
void MLDestroyMark (MLINK link, MLMARK mark) destroys the specified mark on a link.
MLMARK MLCreateMark (MLINK link) creates a mark at the current position in a sequence of expressions on a link.
MLINK MLDuplicateLink (MLINK parent, const char *name, int *err) returns a copy of parent and sets the new link object's name to name.