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