#include <pkg.h>
Collaboration diagram for pkg_conn:
Public Member Functions | |
void pkc_errlog | PKG_ARGS ((char *msg)) |
Error message logger. | |
Data Fields | |
int | pkc_fd |
TCP connection fd. | |
const struct pkg_switch * | pkc_switch |
Array of message handlers. | |
pkg_header | pkc_hdr |
hdr of cur msg | |
long | pkc_len |
pkg_len, in host order | |
unsigned short | pkc_type |
pkg_type, in host order | |
char | pkc_stream [PKG_STREAMLEN] |
output stream | |
int | pkc_magic |
for validating pointers | |
int | pkc_strpos |
index into stream buffer | |
char * | pkc_inbuf |
input stream buffer | |
int | pkc_incur |
current pos in inbuf | |
int | pkc_inend |
first unused pos in inbuf | |
int | pkc_inlen |
length of pkc_inbuf | |
int | pkc_left |
# bytes pkg_get expects | |
char * | pkc_buf |
start of dynamic buf | |
char * | pkc_curpos |
current position in pkg_buf |
Definition at line 98 of file pkg.h.
|
Error message logger.
|
|
TCP connection fd.
|
|
Array of message handlers.
|
|
hdr of cur msg
|
|
pkg_len, in host order
|
|
pkg_type, in host order
|
|
output stream
|
|
for validating pointers
|
|
index into stream buffer
|
|
input stream buffer
|
|
current pos in inbuf
|
|
first unused pos in inbuf
|
|
length of pkc_inbuf
|
|
# bytes pkg_get expects
|
|
start of dynamic buf
|
|
current position in pkg_buf
|