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 ...
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.
int MLGetInteger16 (MLINK link, short *i) gets a 16-bit integer from the MathLink connection specified by link and stores it as a C short in i.
int MLGetInteger32 (MLINK link, int *i) gets a 32-bit integer from the MathLink connection specified by link and stores it in i.
int MLGetInteger (MLINK link, int *i) gets an integer from the MathLink connection specified by link and stores it in i.
int MLPutInteger32 (MLINK link, int i) puts the 32-bit integer i to the MathLink connection specified by link.
int MLPutInteger64 (MLINK link, mlint64 i) puts the 64-bit integer i to the MathLink connection specified by link.
int MLSetSignalHandler (MLENV env, int s, void *sa) installs the Unix signal handler detailed in the object sa for signal s in the MathLink library signal-handling mechanism.
int MLActivate (MLINK link) activates a MathLink connection, waiting for the program at the other end to respond.
MLAllocator is a MathLink type that describes a function pointer to a function taking an unsigned long argument and returning a void * that implements a memory allocator.