This documentation briefly describes functions in the directory src/libGalaxy/ServerStub which are present but probably will not be used by the developer. The signatures of these functions may change from release to release.
void GalSS_AddBareDispatchFunction(GalIO_ServerStruct *i, char *name, Gal_FrameFnPtr fn, Gal_DispatchFnSignatureKeyEntry *in_key_array, int allow_other_in_keys, int reply_provided, Gal_DispatchFnSignatureKeyEntry *out_key_array, int allow_other_out_keys)
Gal_Frame GalSS_CallServerFunction(Gal_Frame
frame,
GalSS_Environment *env, int optional)
Calls the server function specified in
frame.
Both frame and server_data are passed to the function.
If the function is not optional, a warning is printed if it does
not exist. The result frame is returned.
int GalSS_EnvErrorOfType(GalSS_Environment *env, int type, char *description)
int GalSS_FrameHandler(GalIO_CommStruct
*gcomm, Gal_Frame frame)
This function is always the third argument
of GalIO_ServerInit, and
it is called with connection as an argument. The frame is a message
which will be passed to the appropriate dispatch function. The return value
is
GalSS_ServerLocationEntry *GalSS_DigestServerLocationFile(char *filename)
int GalSS_SessionDecodeLocks(Gal_Frame fr, int *mask_ptr, int *value_ptr)
Please send comments and suggestions to:bugs-darpacomm@linus.mitre.org
Last updated December 20, 2000.
Copyright (c) 1998, 1999, 2000
The MITRE
Corporation
ALL RIGHTS RESERVED