void MLSetUserData (MLINK link, void* d, MLUserFunction f) installs the users data object data and function f in link.
void MLVersionNumbers (MLENV ep, int *inumb, int *rnumb, int *bnumb) returns the MathLink API interface number, revision number, and build number and stores them respectively ...
MLMessageHandlerObject MLGetMessageHandler (MLINK link) returns the message handler function installed for the MLINK object link.
int MLBytesToPut (MLINK link, int *n) calculates the number of bytes remaining to be written in the textual representation of the current data, and stores the result in n.
int MLSetMessageHandler (MLINK link, MLMessageHandlerObject h) installs the urgent message handler function referenced by h for for link.
int MLEvaluate (MLINK link, char*string) sends a string of input suitable for use with ToExpression[] to Mathematica for evaluation.
int MLPutMessage (MLINK link, int msg) sends the message msg to the link object link.
int MLPutMessageWithArg (MLINK link, int msg, int arg) sends the message msg and its argument arg to the link object link.
int MLSetEnvIDString (MLENV env, const char *eid) sets the MathLink environment identification string to eid.
void * MLUserData (MLINK link, MLUserFunction *fp) returns the data object and function pointer installed by MLSetUserData().