ci_server

Synopsis

    
    #include "nortlib.h"
    void ci_server(void);
    

Description

ci_server() does all the work for a command server. It does not return until cmd_batch() returns a CMDREP_QUIT or it receivesa CMDINTERP_QUIT message.

It registers the CMDINTERP_NAME with the operating system, then loops to Receive messages. For each received command, ci_server() calls cmd_init() and cmd_batch(). If needed, a hook couldbe added to Receive other messages.

Returns

Nothing.

See Also

Command Server and Client functions.

Source File

/usr/local/src/nortlib/cis.c

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