TwiceAsNice
2019-02-18
|
#include <ctype.h>
#include <errno.h>
#include <stdio.h>
#include <string.h>
#include "hpdi32_api.h"
#include "main.h"
#include "util_string.h"
Classes | |
struct | var_hex_t |
struct | var_item_t |
struct | var_list_t |
struct | parm_hex_t |
struct | parm_item_t |
struct | parm_list_t |
struct | _cmd_t |
Macros | |
#define | VERBOSE_OFF 0 |
#define | VERBOSE_ON 1 |
#define | VERBOSE_VERY 2 |
Typedefs | |
typedef struct _cmd_t | cmd_t |
Functions | |
static U32 | _list_commands (void *device, long line, const char *value, const cmd_t *cmd, U32 *set, unsigned long *get) |
static U32 | _parm_hex (void *device, long line, const char *value, const cmd_t *cmd, U32 *set, unsigned long *get) |
static U32 | _parm_list (void *device, long line, const char *value, const cmd_t *cmd, U32 *set, unsigned long *get) |
static U32 | _var_hex (void *device, long line, const char *value, const cmd_t *cmd, U32 *set, unsigned long *get) |
static U32 | _var_list (void *device, long line, const char *value, const cmd_t *cmd, U32 *set, unsigned long *get) |
static U32 | _parse_u32 (long line, const char *command, const char *value, U32 *get) |
static U32 | _read_line (FILE *file, char *buf, size_t size, int *end) |
static char * | _skip_ws (char *buf) |
static void | _trunk_ws (char *buf) |
static void | _parse_key_value (char *buf, char **key, char **eq, char **value) |
static const cmd_t * | _command_locate (const char *cmd) |
U32 | read_config_file (void *device, const char *name) |
#define VERBOSE_OFF 0 |
#define VERBOSE_ON 1 |
#define VERBOSE_VERY 2 |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
U32 read_config_file | ( | void * | device, |
const char * | name | ||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |