109 #ifndef LIRC_CLIENT_H
110 #define LIRC_CLIENT_H
122 #include "lirc/paths.h"
123 #include "lirc/lirc_config.h"
131 typedef uint32_t __u32;
134 #define LIRC_RET_SUCCESS (0)
135 #define LIRC_RET_ERROR (-1)
137 #define LIRC_ALL ((char*)(-1))
140 enum lirc_flags { none = 0x00,
146 toggle_reset = 0x20, };
171 unsigned int rep_delay;
172 unsigned int ign_first_events;
207 int lirc_init(
const char* prog,
int verbose);
231 int (check) (
char* s));
282 int (check) (
char* s));
367 int lirc_send_one(
int fd,
const char* remote,
const char* keysym);
void lirc_command_reply_to_stdout(lirc_cmd_ctx *ctx)
int lirc_init(const char *prog, int verbose)
const char * lirc_setmode(struct lirc_config *config, const char *mode)
int lirc_get_local_socket(const char *path, int quiet)
int lirc_command_run(lirc_cmd_ctx *ctx, int fd)
const char * lirc_getmode(struct lirc_config *config)
int lirc_simulate(int fd, const char *remote, const char *keysym, int scancode, int repeat)
size_t lirc_getsocketname(const char *id, char *buf, size_t size)
int lirc_command_init(lirc_cmd_ctx *ctx, const char *fmt,...)
int lirc_nextcode(char **code)
int lirc_get_remote_socket(const char *address, int port, int quiet)
int lirc_code2char(struct lirc_config *config, char *code, char **string)
int lirc_readconfig_only(const char *file, struct lirc_config **config, int(check)(char *s))
int lirc_readconfig(const char *path, struct lirc_config **config, int(check)(char *s))
int lirc_send_one(int fd, const char *remote, const char *keysym)
void lirc_freeconfig(struct lirc_config *config)
char * lirc_ir2char(struct lirc_config *config, char *code)