|
struct pkg_conn * | pkg_open (const char *host, const char *service, const char *protocol, const char *username, const char *passwd, const struct pkg_switch *switchp, pkg_errlog errlog) |
|
void | pkg_close (struct pkg_conn *pc) |
|
int | pkg_process (struct pkg_conn *) |
|
int | pkg_suckin (struct pkg_conn *) |
|
int | pkg_send (int type, const char *buf, size_t len, struct pkg_conn *pc) |
|
int | pkg_2send (int type, const char *buf1, size_t len1, const char *buf2, size_t len2, struct pkg_conn *pc) |
|
int | pkg_stream (int type, const char *buf, size_t len, struct pkg_conn *pc) |
|
int | pkg_flush (struct pkg_conn *pc) |
|
int | pkg_waitfor (int type, char *buf, size_t len, struct pkg_conn *pc) |
|
char * | pkg_bwaitfor (int type, struct pkg_conn *pc) |
|
int | pkg_block (struct pkg_conn *pc) |
|
struct pkg_conn * | pkg_transerver (const struct pkg_switch *switchp, pkg_errlog errlog) |
|
int | pkg_permserver (const char *service, const char *protocol, int backlog, pkg_errlog) |
|
int | pkg_permserver_ip (const char *ipOrHostname, const char *service, const char *protocol, int backlog, pkg_errlog errlog) |
|
struct pkg_conn * | pkg_getclient (int fd, const struct pkg_switch *switchp, pkg_errlog errlog, int nodelay) |
|
unsigned short | pkg_gshort (char *buf) |
|
unsigned long | pkg_glong (char *buf) |
|
char * | pkg_pshort (char *buf, unsigned short s) |
|
char * | pkg_plong (char *buf, unsigned long l) |
|
const char * | pkg_version (void) |
|
LIBPKG provides routines to manage multiplexing and de-multiplexing synchronous and asynchronous messages across stream connections.
Definition in file pkg.h.