LIRC libraries
LinuxInfraredRemoteControl
transmit.h
Go to the documentation of this file.
1 /****************************************************************************
2 ** transmit.h **************************************************************
3 ****************************************************************************/
26 #ifndef _TRANSMIT_H
27 #define _TRANSMIT_H
28 
29 #include "ir_remote.h"
30 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34 
35 #define WBUF_SIZE 256
36 
38 void send_buffer_init(void);
39 
47 int send_buffer_put(struct ir_remote* remote, struct ir_ncode* code);
48 
50 int init_sim(struct ir_remote* remote,
51  struct ir_ncode* code,
52  int repeat_preset);
56 int send_buffer_length(void);
57 
59 const lirc_t* send_buffer_data(void);
60 
62 lirc_t send_buffer_sum(void);
63 
66 #ifdef __cplusplus
67 }
68 #endif
69 
70 #endif
One remote as represented in the configuration file.
const lirc_t * send_buffer_data(void)
Definition: transmit.c:379
lirc_t send_buffer_sum(void)
Definition: transmit.c:384
void send_buffer_init(void)
Clear and re-initiate the buffer.
Definition: transmit.c:62
int send_buffer_put(struct ir_remote *remote, struct ir_ncode *code)
Initializes the global send buffer for transmitting the code in the second argument, residing in the remote in the first.
Definition: transmit.c:355
Describes and decodes the signals from IR remotes.
IR Command, corresponding to one (command defining) line of the configuration file.
int send_buffer_length(void)
Do not document this function.
Definition: transmit.c:373