LIRC libraries
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Groups Pages
lirc_options.c File Reference

(9c596ec 2015-02-10 14:16:32 +0100)

Implements lirc_options.h. More...

#include <getopt.h>
#include <stdio.h>
#include <stdlib.h>
#include "ciniparser.h"
#include "lirc_options.h"
#include "lirc_log.h"

Go to the source code of this file.


loglevel_t options_set_loglevel (const char *optarg)
void options_set_opt (const char *key, const char *value)
const char * options_getstring (const char *const key)
int options_getint (const char *const key)
int options_getboolean (const char *const key)
void options_load (int argc, char **const argv, const char *path_arg, void(*parse_options)(int, char **const))
void options_add_defaults (const char *const defaults[])
void options_unload (void)


dictionarylirc_options = NULL

Detailed Description

Implements lirc_options.h.

Definition in file lirc_options.c.

Function Documentation

loglevel_t options_set_loglevel ( const char *  optarg)

Parse and store a loglevel, returning value (possibly LIRC_BADLEVEL).

Definition at line 38 of file lirc_options.c.