2004 by Marc J. Rochkind. All rights reserved. Portions marked "Open Source" may be copied under license.

 

Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

c7/smi_skt.h File Reference


Detailed Description

header for above [Sec. 8.5]

Definition in file smi_skt.h.

Go to the source code of this file.

Functions

SMIQsmi_open_skt (const char *name, SMIENTITY entity, size_t msgsize)
bool smi_close_skt (SMIQ *sqp)
bool smi_close_fd_skt (SMIQ *sqp, int fd)
bool smi_send_getaddr_skt (SMIQ *sqp, struct client_id *client, void **addr)
bool smi_send_release_skt (SMIQ *sqp)
bool smi_receive_getaddr_skt (SMIQ *sqp, void **addr)
bool smi_receive_release_skt (SMIQ *sqp)


Function Documentation

bool smi_close_fd_skt SMIQ sqp,
int  fd
 

bool smi_close_skt SMIQ sqp  ) 
 

Definition at line 50 of file smi_skt.c.

References EC_CLEANUP_BGN, EC_CLEANUP_END, ec_false, SMIQ_SKT::sq_msg, SMIQ_SKT::sq_ssip, and ssi_close().

Referenced by smi_open_skt().

SMIQ* smi_open_skt const char *  name,
SMIENTITY  entity,
size_t  msgsize
 

Definition at line 33 of file smi_skt.c.

References EC_CLEANUP_BGN, EC_CLEANUP_END, ec_null, smi_close_skt(), SMI_SERVER, SMIQ, SMIQ_SKT::sq_entity, SMIQ_SKT::sq_msg, SMIQ_SKT::sq_msgsize, SMIQ_SKT::sq_ssip, and ssi_open().

bool smi_receive_getaddr_skt SMIQ sqp,
void **  addr
 

Definition at line 97 of file smi_skt.c.

References smi_msg::client_id::c_id1, EC_CLEANUP_BGN, EC_CLEANUP_END, EC_FAIL, ec_false, ec_neg1, errno, readall(), smi_msg::smi_client, SMI_SERVER, SMIQ_SKT::sq_entity, SMIQ_SKT::sq_msg, SMIQ_SKT::sq_msgsize, SMIQ_SKT::sq_ssip, ssi_close_fd(), ssi_get_server_fd(), and ssi_wait_server().

bool smi_receive_release_skt SMIQ sqp  ) 
 

Definition at line 132 of file smi_skt.c.

bool smi_send_getaddr_skt SMIQ sqp,
struct client_id *  client,
void **  addr
 

Definition at line 69 of file smi_skt.c.

References SMI_SERVER, SMIQ_SKT::sq_client, SMIQ_SKT::sq_entity, and SMIQ_SKT::sq_msg.

bool smi_send_release_skt SMIQ sqp  ) 
 

Definition at line 80 of file smi_skt.c.

References EC_CLEANUP_BGN, EC_CLEANUP_END, ec_neg1, SMI_SERVER, SMIQ_SKT::sq_client, SMIQ_SKT::sq_entity, SMIQ_SKT::sq_msg, SMIQ_SKT::sq_msgsize, SMIQ_SKT::sq_ssip, ssi_get_server_fd(), and writeall().


Generated on Fri Apr 23 10:57:10 2004 for AUP2 Example Source by doxygen 1.3.1