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
send_buffer_put
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,...
Definition: transmit.c:355
send_buffer_sum
lirc_t send_buffer_sum(void)
Definition: transmit.c:384
send_buffer_length
int send_buffer_length(void)
Do not document this function.
Definition: transmit.c:373
ir_ncode
IR Command, corresponding to one (command defining) line of the configuration file.
Definition: ir_remote_types.h:64
send_buffer_init
void send_buffer_init(void)
Clear and re-initiate the buffer.
Definition: transmit.c:62
ir_remote
One remote as represented in the configuration file.
Definition: ir_remote_types.h:155
ir_remote.h
Describes and decodes the signals from IR remotes.
send_buffer_data
const lirc_t * send_buffer_data(void)
Definition: transmit.c:379