send_dascmd

Synopsis

    #include "nortlib.h"
    
    int send_dascmd(int type, int value, int dg_ok);
    

Description

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.

Returns

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.

See Also

DigSelect(), Client/Server functions.

Source File

/usr/local/src/nortlib/senddasc.c

Alphabetical List
Subject List
Return to Manuals Page
webmaster@huarp.harvard.edu
Copyright 2001 by the President and Fellows of Harvard College