Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals

ppc.c File Reference

Go to the source code of this file.

Typedefs

typedef ppc_header_s ppc_header_t

Functions

int ppc_register (ppc_t *ppc, unsigned char cmd, ppc_cb_t cb, void *arg)
ssize_t ppc_write (ppc_t *ppc, int fd, unsigned char cmd, char *data, size_t size)
ssize_t ppc_read (ppc_t *ppc, int fd, unsigned char *pcmd, char *data, size_t size)
int ppc_dispatch (ppc_t *ppc, int fd, unsigned char cmd, char *data, size_t size)
int ppc_free (ppc_t *ppc)
int ppc_create (ppc_t **pppc)


Typedef Documentation

typedef struct ppc_header_s ppc_header_t
 

Definition at line 21 of file ppc.c.

Referenced by ppc_read(), and ppc_write().


Function Documentation

int ppc_create ppc_t **  pppc  ) 
 

Definition at line 144 of file ppc.c.

References ppc_t.

Referenced by server_create().

int ppc_dispatch ppc_t ppc,
int  fd,
unsigned char  cmd,
char *  data,
size_t  size
 

Definition at line 126 of file ppc.c.

References ppc_t.

int ppc_free ppc_t ppc  ) 
 

Definition at line 138 of file ppc.c.

References ppc_t.

Referenced by server_free().

ssize_t ppc_read ppc_t ppc,
int  fd,
unsigned char *  pcmd,
char *  data,
size_t  size
 

Definition at line 97 of file ppc.c.

References ppc_header_t, PPC_MAX_DATA_SIZE, and ppc_t.

Referenced by server_ppc_cmd_log_get().

int ppc_register ppc_t ppc,
unsigned char  cmd,
ppc_cb_t  cb,
void *  arg
 

Definition at line 29 of file ppc.c.

References ppc_t.

Referenced by server_create(), and session_mem_module_init().

ssize_t ppc_write ppc_t ppc,
int  fd,
unsigned char  cmd,
char *  data,
size_t  size
 

Definition at line 72 of file ppc.c.

References ppc_header_t, and ppc_t.

Referenced by server_ppc_cb_log_get(), server_ppc_cmd_fork_child(), server_ppc_cmd_log_add(), server_ppc_cmd_log_get(), and server_ppc_cmd_nop().


←Products
© 2005-2006 - KoanLogic S.r.l. - All rights reserved