![]() |
kinetic-c
v0.12.0
Seagate Kinetic Protocol Client Library for C
|
Go to the source code of this file.
Enumerations | |
| enum | KineticWaitStatus |
Functions | |
| int | KineticSocket_Connect (const char *host, int port) |
| void | KineticSocket_Close (int socket) |
| void | KineticSocket_BeginPacket (int socket) |
| void | KineticSocket_FinishPacket (int socket) |
| void | KineticSocket_EnableTCPNoDelay (int socket) |
| enum KineticWaitStatus |
| Enumerator | |
|---|---|
| KINETIC_WAIT_STATUS_DATA_AVAILABLE | |
| KINETIC_WAIT_STATUS_TIMED_OUT | |
| KINETIC_WAIT_STATUS_RETRYABLE_ERROR | |
| KINETIC_WAIT_STATUS_FATAL_ERROR | |
Definition at line 27 of file kinetic_socket.h.
| int KineticSocket_Connect | ( | const char * | host, |
| int | port | ||
| ) |
Definition at line 47 of file kinetic_socket.c.
References KINETIC_OBJ_SIZE, KINETIC_SOCKET_DESCRIPTOR_INVALID, KineticSocket_EnableTCPNoDelay(), LOG0, LOGF0, and LOGF1.
| void KineticSocket_Close | ( | int | socket | ) |
Definition at line 138 of file kinetic_socket.c.
| void KineticSocket_BeginPacket | ( | int | socket | ) |
Definition at line 162 of file kinetic_socket.c.
| void KineticSocket_FinishPacket | ( | int | socket | ) |
Definition at line 172 of file kinetic_socket.c.
| void KineticSocket_EnableTCPNoDelay | ( | int | socket | ) |
Definition at line 156 of file kinetic_socket.c.
1.8.8