#include <fcntl.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <unistd.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <ypparam.h>
#include <msq.win32.h>
#include <ipcommunication.h>
#include <utility.h>
#include <yprintf.h>
Go to the source code of this file.
|
void | ipcmd_close (struct ipcmd_t *ipcmd) |
|
void | ipcmd_flush (struct ipcmd_t *ipcmd) |
|
void | ipcmd_flush_msq (struct ipcmd_t *ipcmd) |
|
void | ipcmd_flush_tcp (struct ipcmd_t *ipcmd) |
|
int | ipcmd_open_msq (struct ipcmd_t *ipcmd, int key, int creat) |
|
int | ipcmd_open_tcp (struct ipcmd_t *ipcmd, char *host, int port) |
|
int | ipcmd_recv (struct ipcmd_t *ipcmd, YPSpur_msg *data) |
|
int | ipcmd_recv_msq (struct ipcmd_t *ipcmd, YPSpur_msg *data) |
|
int | ipcmd_recv_tcp (struct ipcmd_t *ipcmd, YPSpur_msg *data) |
|
int | ipcmd_send (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) |
|
#define SIZE_TYPE unsigned int |
#define SOCK_DATATYPE void * |
#define SOCK_SHUTDOWN_OPTION SHUT_RDWR |
void ipcmd_close |
( |
struct ipcmd_t * |
ipcmd | ) |
|
void ipcmd_flush |
( |
struct ipcmd_t * |
ipcmd | ) |
|
void ipcmd_flush_msq |
( |
struct ipcmd_t * |
ipcmd | ) |
|
void ipcmd_flush_tcp |
( |
struct ipcmd_t * |
ipcmd | ) |
|
int ipcmd_open_msq |
( |
struct ipcmd_t * |
ipcmd, |
|
|
int |
key, |
|
|
int |
creat |
|
) |
| |
int ipcmd_open_tcp |
( |
struct ipcmd_t * |
ipcmd, |
|
|
char * |
host, |
|
|
int |
port |
|
) |
| |