MLMain()
(Mathematica MathLink C Function) int MLMain (int argc, char ** argv) sets up communication between an external program started using Install and Mathematica.
MLMessageHandlerObject is a MathLink type that describes a function pointer to a function taking three arguments: an MLINK, an int, and an int, and returning a void that ...
int MLNewPacket (MLINK link) skips to the end of the current packet on link.
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.
int MLPutArgCount (MLINK link, int n) specifies the number of arguments of a composite function to be put on link.
int MLPutData (MLINK link, const char *b, int count) puts count bytes from the buffer b to the MathLink connection specified by link.
int MLPutInteger16 (MLINK link, int i) puts the 16-bit integer i to the MathLink connection specified by link.
int MLPutNext (MLINK link, int type) prepares to put an object of the specified type on link.
int MLPutReal128 (MLINK link, mlextended_double d) puts the extend-precision floating-point number d to the MathLink connection specified by link.