|
int CPXdelfuncdest (CPXCENVptr env, CPXCHANNELptr channel, void *handle, void (CPXPUBLIC *msgfunction)(void*, const char*)); |
The pointer to the CPLEX environment as returned by CPXopenCPLEX()
.
The pointer to the channel to which the function destination is to be added.
The pointer to the function to be called when a message is sent to a channel. For details about this callback function, see CPXaddfuncdest
()
.
void msgfunction (void *handle, char *msg_string) { FILE *fp; fp = (FILE *)handle; fprintf (fp, "%s", msg_string); } status = CPXdelfuncdest (env, mychannel, fileptr, msgfunction); |