21 #ifndef IPCOMMUNICATION_H 22 #define IPCOMMUNICATION_H 41 #endif // IPCOMMUNICATION_H
int ipcmd_open_tcp(struct ipcmd_t *ipcmd, char *host, int port)
int ipcmd_recv(struct ipcmd_t *ipcmd, YPSpur_msg *data)
void ipcmd_flush(struct ipcmd_t *ipcmd)
int ipcmd_recv_tcp(struct ipcmd_t *ipcmd, YPSpur_msg *data)
int ipcmd_send_msq(struct ipcmd_t *ipcmd, YPSpur_msg *data)
int ipcmd_send_tcp(struct ipcmd_t *ipcmd, YPSpur_msg *data)
void ipcmd_flush_msq(struct ipcmd_t *ipcmd)
int ipcmd_send(struct ipcmd_t *ipcmd, YPSpur_msg *data)
void ipcmd_close(struct ipcmd_t *ipcmd)
void ipcmd_flush_tcp(struct ipcmd_t *ipcmd)
int ipcmd_recv_msq(struct ipcmd_t *ipcmd, YPSpur_msg *data)
int ipcmd_open_msq(struct ipcmd_t *ipcmd, int key, int creat)