int MLNextPacket (MLINK link) goes to the next packet on link and returns a constant to indicate its head.
MLINK MLOpenArgcArgv (MLENV env, int argc, char ** argv, int* errno) opens a MathLink connection, taking parameters from command-line arguments.
MLINK MLOpenString (MLENV env, const char *string, int *errno) opens a MathLink connection taking parameters from a character string.
MLParameters is a MathLink type used to contain user-supplied parameters or functionality for an MLENV object.
int MLPutArgCount (MLINK link, int n) specifies the number of arguments of a composite function to be put on link.
int MLPutByteArray (MLINK link, unsigned char *a, int *dims, char ** heads, int d) puts an array of integers in the range 0\[Dash]255 to the MathLink connection specified by ...
int MLPutByteString (MLINK link, const unsigned char *s, int n) puts a string of n characters starting from location s to the MathLink connection specified by link.
int MLPutByteSymbol (MLINK link, const unsigned char *s, long l) puts a symbol whose name is given by the character string s of length l to the MathLink connection specified ...
int MLPutData (MLINK link, const char *b, int count) puts count bytes from the buffer b to the MathLink connection specified by link.
int MLPutDouble (MLINK link, double x) puts the floating-point number x of C type double to the MathLink connection specified by link.