![]() |
libxcoder
5.2.0
|
Application to query and print info about NETINT video processing devices on system. More...
Go to the source code of this file.
Data Structures | |
struct | dyn_str_buf |
Macros | |
#define | DYN_STR_BUF_CHUNK_SIZE 4096 |
Typedefs | |
typedef struct dyn_str_buf | dyn_str_buf_t |
Enumerations | |
enum | outFormat { FMT_TEXT, FMT_FULL_TEXT, FMT_JSON, FMT_TEXT, FMT_FULL_TEXT, FMT_SIMPLE_TEXT, FMT_JSON, FMT_JSON1, FMT_JSON2, FMT_EXTRA } |
Functions | |
int | strcat_dyn_buf (dyn_str_buf_t *dyn_str_buf, const char *fmt,...) |
Accumulate string data in a dynamically sized buffer. This is useful to separate error messages from json and table output. More... | |
void | clear_dyn_str_buf (dyn_str_buf_t *dyn_str_buf) |
int32_t | main (int argc, char *argv[]) |
Application to query and print info about NETINT video processing devices on system.
Definition in file ni_rsrc_list.c.
#define DYN_STR_BUF_CHUNK_SIZE 4096 |
Definition at line 57 of file ni_rsrc_list.c.
typedef struct dyn_str_buf dyn_str_buf_t |
enum outFormat |
Enumerator | |
---|---|
FMT_TEXT | |
FMT_FULL_TEXT | |
FMT_JSON | |
FMT_TEXT | |
FMT_FULL_TEXT | |
FMT_SIMPLE_TEXT | |
FMT_JSON | |
FMT_JSON1 | |
FMT_JSON2 | |
FMT_EXTRA |
Definition at line 42 of file ni_rsrc_list.c.
void clear_dyn_str_buf | ( | dyn_str_buf_t * | dyn_str_buf | ) |
Definition at line 133 of file ni_rsrc_list.c.
int32_t main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 647 of file ni_rsrc_list.c.
int strcat_dyn_buf | ( | dyn_str_buf_t * | dyn_str_buf, |
const char * | fmt, | ||
... | |||
) |
Accumulate string data in a dynamically sized buffer. This is useful to separate error messages from json and table output.
[in] | *dyn_str_buf | pointer to structure holding dyn_str_buf info |
[in] | *fmt | printf format specifier |
[in] | ... | additional arguments |
Definition at line 75 of file ni_rsrc_list.c.