LIRC libraries
LinuxInfraredRemoteControl
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Modules Pages
release.h
Go to the documentation of this file.
1 
2 /****************************************************************************
3  ** release.h ***************************************************************
4  ****************************************************************************
5  * Copyright (C) 2007 Christoph Bartelmus <lirc@bartelmus.de>
6  */
7 
15 #ifndef RELEASE_H
16 #define RELEASE_H
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
22 #include "ir_remote_types.h"
23 
24 void register_input(void);
25 
26 void register_button_press(struct ir_remote* remote,
27  struct ir_ncode* ncode,
28  ir_code code, int reps);
29 
30 void get_release_data(const char** remote_name,
31  const char** button_name,
32  int* reps);
33 
34 void set_release_suffix(const char* s);
35 
36 void get_release_time(struct timeval* tv);
37 
38 const char* check_release_event(const char** remote_name,
39  const char** button_name);
40 
41 const char* trigger_release_event(const char** remote_name,
42  const char** button_name);
43 
44 const char* release_map_remotes(struct ir_remote* old,
45  struct ir_remote* new_remote,
46  const char** remote_name,
47  const char** button_name);
48 
49 
50 #ifdef __cplusplus
51 }
52 #endif
53 
54 #endif /* RELEASE_H */
__u64 ir_code
Describes and decodes the signals from IR remotes.
ir_code code