Functions |
| int | lirc_init (const char *prog, int verbose) |
| | Initial setup: connect to lircd socket. More...
|
| |
|
int | lirc_deinit (void) |
| | Release resources allocated by lirc_init(), basically disconnect from socket.
|
| |
| int | lirc_readconfig (const char *path, struct lirc_config **config, int(check)(char *s)) |
| | Parse a lircrc configuration file. More...
|
| |
| void | lirc_freeconfig (struct lirc_config *config) |
| | Deallocate an object retrieved using lirc_readconfig(). More...
|
| |
| char * | lirc_nextir (void) |
| |
| char * | lirc_ir2char (struct lirc_config *config, char *code) |
| |
| int | lirc_nextcode (char **code) |
| | Get next available code from the lircd daemon. More...
|
| |
| int | lirc_code2char (struct lirc_config *config, char *code, char **string) |
| | Translate a code string to an application string using .lircrc. More...
|
| |
| int | lirc_readconfig_only (const char *file, struct lirc_config **config, int(check)(char *s)) |
| | Parse a lircrc configuration file without connecting to lircrcd. More...
|
| |
|
int | lirc_code2charprog (struct lirc_config *config, char *code, char **string, char **prog) |
| |
| size_t | lirc_getsocketname (const char *id, char *buf, size_t size) |
| | Retrieve default lircrcd socket path. More...
|
| |
| const char * | lirc_getmode (struct lirc_config *config) |
| | Get mode defined in lircrc. More...
|
| |
| const char * | lirc_setmode (struct lirc_config *config, const char *mode) |
| | Set mode defined in lircrc. More...
|
| |
| int | lirc_command_init (lirc_cmd_ctx *ctx, const char *fmt,...) |
| | Initiate a lirc_cmd_ctx to run a command. More...
|
| |
| int | lirc_command_run (lirc_cmd_ctx *ctx, int fd) |
| | Run a command in non-blocking mode. More...
|
| |
| void | lirc_command_reply_to_stdout (lirc_cmd_ctx *ctx) |
| | Set command_ctx write_to_stdout flag. More...
|
| |
| int | lirc_send_one (int fd, const char *remote, const char *keysym) |
| | Send keysym using given remote. More...
|
| |
| int | lirc_simulate (int fd, const char *remote, const char *keysym, int scancode, int repeat) |
| | Send a simulated lirc event.This call might block for some time since it involves communication with lircd. More...
|
| |
| int | lirc_get_remote_socket (const char *address, int port, int quiet) |
| | Return an opened and connected file descriptor to remote lirc socket. More...
|
| |
| int | lirc_get_local_socket (const char *path, int quiet) |
| | Return an opened and connected file descriptor to local lirc socket. More...
|
| |