#include "nortlib.h" int send_dascmd(int type, int value, int dg_ok);
Sends the specified DASCMD to CmdCtrl or the DG. DASCMD types are defined in globmsg.h. The dg_ok argument specifies whether it is reasonable to send the command to the DG if a CmdCtrl cannot be found. This should generally be set to a non-zero value if the command is in fact intended for the DG, such as DCT_TM or DCT_QUIT.
send_dascmd() returns 0 on success. Failure to locate CC (or DG) is handled according to nl_response rules. Valid error returns from CC (or DG) are returned to the calling program.
DigSelect(), Client/Server functions.