Libtrap: Internal development docs
1.16.1
|
TRAP file interfaces. More...
Go to the source code of this file.
Data Structures | |
struct | file_buffer_s |
struct | file_private_s |
Macros | |
#define | TIME_PARAM "time=" |
#define | TIME_PARAM_LEN strlen(TIME_PARAM) |
#define | SIZE_PARAM "size=" |
#define | SIZE_PARAM_LEN strlen(SIZE_PARAM) |
#define | TIME_FORMAT_STRING ".%Y%m%d%H%M" |
#define | TIME_FORMAT_STRING_LEN strlen(TIME_FORMAT_STRING) |
#define | FILE_SIZE_SUFFIX_LEN 6 |
#define | FILENAME_TEMPLATE_LEN PATH_MAX + 256 |
Typedefs | |
typedef struct file_buffer_s | file_buffer_t |
typedef struct file_private_s | file_private_t |
Functions | |
int | create_file_recv_ifc (trap_ctx_priv_t *ctx, const char *params, trap_input_ifc_t *ifc, uint32_t idx) |
Allocate and initiate file input interface. This function is called by TRAP library to initialize one input interface. More... | |
int | create_file_send_ifc (trap_ctx_priv_t *ctx, const char *params, trap_output_ifc_t *ifc, uint32_t idx) |
Allocate and initiate file output interface. This function is called by TRAP library to initialize one output interface. More... | |
#define FILE_SIZE_SUFFIX_LEN 6 |
Definition at line 55 of file ifc_file.h.
#define FILENAME_TEMPLATE_LEN PATH_MAX + 256 |
Definition at line 56 of file ifc_file.h.
#define SIZE_PARAM "size=" |
Definition at line 51 of file ifc_file.h.
#define SIZE_PARAM_LEN strlen(SIZE_PARAM) |
Definition at line 52 of file ifc_file.h.
#define TIME_FORMAT_STRING ".%Y%m%d%H%M" |
Definition at line 53 of file ifc_file.h.
#define TIME_FORMAT_STRING_LEN strlen(TIME_FORMAT_STRING) |
Definition at line 54 of file ifc_file.h.
#define TIME_PARAM "time=" |
Definition at line 49 of file ifc_file.h.
#define TIME_PARAM_LEN strlen(TIME_PARAM) |
Definition at line 50 of file ifc_file.h.
typedef struct file_buffer_s file_buffer_t |
typedef struct file_private_s file_private_t |