int MLCheckFunction (MLINK link, char *name, long *n) checks that a function whose head is a symbol with the specified name is on link, and stores the number of the arguments ...
int MLFlush (MLINK link) flushes out any buffers containing data waiting to be sent on link.
int MLGetArgCount (MLINK link, int *n) finds the number of arguments to a function on link and stores the result in n.
int MLGetInteger64 (MLINK link, mlint64 *i) gets a 64-bit integer from the MathLink connection specified by link and stores it in i.
int MLGetLinkedEnvIDString (MLINK link, const char ** e) returns the identification string of the MathLink environment connected to link and stores it in e.
int MLGetUCS2Symbol (MLINK link, const unsigned short ** s, int *len) gets a UCS-2 character string corresponding to the name of a symbol from the MathLink connection ...
int MLPutInteger64List (MLINK link, mlint64 *a, int n) puts a list of n 64-bit integers starting from location a to the MathLink connection specified by link.
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.
void MLReleaseEnvIDString (MLINK link, const char *s) disowns the memory allocated by MLGetLinkedEnvIDString() to store the identification string s.