File pl_comm.h¶
FileList > cubrid > src > sp > pl_comm.h
Go to the source code of this file
#include <sys/socket.h>#include <vector>#include <string>#include "porting.h"
Classes¶
| Type | Name |
|---|---|
| struct | pl_status_info |
Public Types¶
| Type | Name |
|---|---|
| typedef struct pl_status_info | PL_STATUS_INFO |
| enum | SP_CODE |
Public Functions¶
| Type | Name |
|---|---|
| int | pl_connect_server (const char * db_name, int server_port, SOCKET & out) |
| void | pl_disconnect_server (SOCKET & sockfd) |
| char * | pl_get_socket_file_path (const char * db_name) |
| int | pl_ping (SOCKET fd) |
| int | pl_readn (SOCKET fd, void * vptr, int n) |
| int | pl_readn_with_timeout (SOCKET fd, void * vptr, int n, int timeout) |
| int | pl_writen (SOCKET fd, const void * vptr, int n) |
Public Types Documentation¶
typedef PL_STATUS_INFO¶
enum SP_CODE¶
enum SP_CODE {
SP_CODE_INVOKE = 0x01,
SP_CODE_RESULT = 0x02,
SP_CODE_ERROR = 0x04,
SP_CODE_INTERNAL_JDBC = 0x08,
SP_CODE_DESTROY = 0x10,
SP_CODE_COMPILE = 0x80,
SP_CODE_UTIL_BOOTSTRAP = 0xDD,
SP_CODE_UTIL_PING = 0xDE,
SP_CODE_UTIL_STATUS = 0xEE
};
Public Functions Documentation¶
function pl_connect_server¶
function pl_disconnect_server¶
function pl_get_socket_file_path¶
function pl_ping¶
function pl_readn¶
function pl_readn_with_timeout¶
function pl_writen¶
The documentation for this class was generated from the following file cubrid/src/sp/pl_comm.h