csp_if_socket.h File Reference
#include <stdint.h>
#include <csp/csp.h>
#include <csp/csp_interface.h>
#include <csp/arch/csp_thread.h>

Go to the source code of this file.

Data Structures

struct  csp_socket_handle_t
 Unix socket driver handle. More...
 

Macros

#define SOCKET_BUFFER_SIZE   256
 

Enumerations

enum  csp_if_socket_modes { CSP_SOCKET_SERVER = 0, CSP_SOCKET_CLIENT }
 Enum for csp socket mode. More...
 

Functions

int csp_socket_init (csp_iface_t *socket_iface, csp_socket_handle_t *socket_driver)
 Init function for CSP socket interface. More...
 
int csp_socket_close (csp_iface_t *socket_iface, csp_socket_handle_t *socket_driver)