LIRC libraries
LinuxInfraredRemoteControl
 All Classes Files Functions Variables Typedefs Enumerations Macros Groups Pages
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)
Initializes the global sending buffer.
Definition: transmit.c:62
</pre >< h3 > Syntax and semantics of the functions</h3 >< p > Note even if implementing the functions in there is no need to declare them as< code > external C</code >< h4 >< code > init_func</code ></h4 >< code > int the functions< code > all other return values success</p >< h4 >< code > send_func</code ></h4 >< code > int residing in the second argument For the function< code > send_buffer_put(struct ir_remote *remote, struct ir_ncode *code)</code > is called
Initializes the global send buffer for transmitting the code in the second argument, residing in the remote in the first.
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