#include "common.h"#include "config.h"#include "hashlist.h"#include "vector.h"#include "thread.h"#include "socket.h"Go to the source code of this file.
Data Structures | |
| struct | _cp_client |
Defines | |
| #define | DEFAULT_CLIENT_TIMEOUT 300 |
| #define | DEFAULT_RETRIES 3 |
Typedefs | |
| typedef CPROPS_DLL struct _cp_client | cp_client |
Functions | |
| CPROPS_DLL void | cp_client_init () |
| CPROPS_DLL void | cp_client_stop_all () |
| CPROPS_DLL void | cp_client_shutdown () |
| CPROPS_DLL void | cp_tcp_add_shutdown_callback (void(*cb)(void *), void *prm) |
| CPROPS_DLL cp_client * | cp_client_create (char *host, int port) |
| CPROPS_DLL cp_client * | cp_client_create_addr (struct sockaddr_in *) |
| CPROPS_DLL void | cp_client_set_timeout (cp_client *client, int sec, int usec) |
| CPROPS_DLL void | cp_client_set_retry (cp_client *client, int retry_count) |
| CPROPS_DLL void | cp_client_set_owner (cp_client *client, void *owner) |
| CPROPS_DLL int | cp_client_connect (cp_client *client) |
| CPROPS_DLL int | cp_client_reopen (cp_client *client, char *host, int port) |
| CPROPS_DLL int | cp_client_close (cp_client *client) |
| CPROPS_DLL void | cp_client_destroy (cp_client *client) |
| CPROPS_DLL int | cp_client_read (cp_client *client, char *buf, int len) |
| CPROPS_DLL int | cp_client_read_string (cp_client *client, cp_string *str, int len) |
| CPROPS_DLL int | cp_client_write (cp_client *client, char *buf, int len) |
| CPROPS_DLL int | cp_client_write_string (cp_client *client, cp_string *str) |
Definition in file client.h.
1.3.9.1