MythTV
master
|
#include <cstddef>
Go to the source code of this file.
Classes | |
struct | lirc_state |
struct | lirc_list |
struct | lirc_code |
struct | lirc_config |
struct | lirc_config_entry |
Macros | |
#define | LIRC_RET_SUCCESS (0) |
#define | LIRC_RET_ERROR (-1) |
#define | LIRC_ALL ((char *) (-1)) |
Enumerations | |
enum | lirc_flags { none =0x00, once =0x01, quit =0x02, modex =0x04, ecno =0x08, startup_mode =0x10, toggle_reset =0x20 } |
Functions | |
struct lirc_state * | lirc_init (const char *lircrc_root_file, const char *lircrc_user_file, const char *prog, const char *lircd, int verbose) |
int | lirc_deinit (struct lirc_state *state) |
int | lirc_readconfig (const struct lirc_state *state, const char *file, struct lirc_config **config, int(check)(char *s)) |
void | lirc_freeconfig (struct lirc_config *config) |
int | lirc_nextcode (struct lirc_state *state, char **code) |
int | lirc_code2char (const struct lirc_state *state, struct lirc_config *config, const char *code, char **string) |
int | lirc_readconfig_only (const struct lirc_state *state, const char *file, struct lirc_config **config, int(check)(char *s)) |
int | lirc_code2charprog (struct lirc_state *state, struct lirc_config *config, char *code, char **string, char **prog) |
size_t | lirc_getsocketname (const char *filename, char *buf, size_t size) |
const char * | lirc_getmode (const struct lirc_state *state, struct lirc_config *config) |
const char * | lirc_setmode (const struct lirc_state *state, struct lirc_config *config, const char *mode) |
#define LIRC_RET_SUCCESS (0) |
Definition at line 23 of file lirc_client.h.
#define LIRC_RET_ERROR (-1) |
Definition at line 24 of file lirc_client.h.
#define LIRC_ALL ((char *) (-1)) |
Definition at line 26 of file lirc_client.h.
enum lirc_flags |
Enumerator | |
---|---|
none | |
once | |
quit | |
modex | |
ecno | |
startup_mode | |
toggle_reset |
Definition at line 28 of file lirc_client.h.
struct lirc_state* lirc_init | ( | const char * | lircrc_root_file, |
const char * | lircrc_user_file, | ||
const char * | prog, | ||
const char * | lircd, | ||
int | verbose | ||
) |
Definition at line 137 of file lirc_client.cpp.
Referenced by LIRC::Init().
int lirc_deinit | ( | struct lirc_state * | state | ) |
Definition at line 211 of file lirc_client.cpp.
Referenced by LIRC::Init(), lirc_init(), LIRC::run(), and LIRCPriv::~LIRCPriv().
int lirc_readconfig | ( | const struct lirc_state * | state, |
const char * | file, | ||
struct lirc_config ** | config, | ||
int(check)(char *s) | |||
) |
Definition at line 840 of file lirc_client.cpp.
Referenced by LIRC::Init().
void lirc_freeconfig | ( | struct lirc_config * | config | ) |
Definition at line 1400 of file lirc_client.cpp.
Referenced by lirc_readconfig(), and LIRCPriv::~LIRCPriv().
int lirc_nextcode | ( | struct lirc_state * | state, |
char ** | code | ||
) |
Definition at line 1773 of file lirc_client.cpp.
int lirc_code2char | ( | const struct lirc_state * | state, |
struct lirc_config * | config, | ||
const char * | code, | ||
char ** | string | ||
) |
Definition at line 1630 of file lirc_client.cpp.
Referenced by LIRC::Process().
int lirc_readconfig_only | ( | const struct lirc_state * | state, |
const char * | file, | ||
struct lirc_config ** | config, | ||
int(check)(char *s) | |||
) |
Definition at line 945 of file lirc_client.cpp.
int lirc_code2charprog | ( | struct lirc_state * | state, |
struct lirc_config * | config, | ||
char * | code, | ||
char ** | string, | ||
char ** | prog | ||
) |
Definition at line 1664 of file lirc_client.cpp.
size_t lirc_getsocketname | ( | const char * | filename, |
char * | buf, | ||
size_t | size | ||
) |
Definition at line 1834 of file lirc_client.cpp.
Referenced by lirc_readconfig().
const char* lirc_getmode | ( | const struct lirc_state * | state, |
struct lirc_config * | config | ||
) |
Definition at line 1844 of file lirc_client.cpp.
const char* lirc_setmode | ( | const struct lirc_state * | state, |
struct lirc_config * | config, | ||
const char * | mode | ||
) |
Definition at line 1867 of file lirc_client.cpp.