LIRC libraries
LinuxInfraredRemoteControl
dump_config.h
Go to the documentation of this file.
1 /****************************************************************************
2 ** dump_config.h ***********************************************************
3 ****************************************************************************
4 *
5 * dump_config.h - dumps data structures into file
6 *
7 * Copyright (C) 1998 Pablo d'Angelo <pablo@ag-trek.allgaeu.org>
8 *
9 */
10 
19 #ifndef _DUMP_CONFIG_H
20 #define _DUMP_CONFIG_H
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
26 
27 
28 #include <stdio.h>
29 #include <sys/types.h>
30 #include <unistd.h>
31 
32 #include "ir_remote.h"
33 
34 void fprint_comment(FILE* f,
35  const struct ir_remote* rem,
36  const char* commandline);
37 
38 void fprint_flags(FILE* f, int flags);
39 
40 void fprint_remotes(FILE* f,
41  const struct ir_remote* all,
42  const char* commandline);
43 
44 void fprint_remote_gap(FILE* f, const struct ir_remote* rem);
45 
46 void fprint_remote_head(FILE* f, const struct ir_remote* rem);
47 
48 void fprint_remote_foot(FILE* f, const struct ir_remote* rem);
49 
50 void fprint_remote_signal_head(FILE* f, const struct ir_remote* rem);
51 
52 void fprint_remote_signal_foot(FILE* f, const struct ir_remote* rem);
53 
54 void fprint_remote_signal(FILE* f,
55  const struct ir_remote* rem,
56  const struct ir_ncode* codes);
57 
58 void fprint_remote_signals(FILE* f, const struct ir_remote* rem);
59 
60 void fprint_remote(FILE* f,
61  const struct ir_remote* rem,
62  const char* commandline);
63 
64 #ifdef __cplusplus
65 }
66 #endif
67 
68 #endif
One remote as represented in the configuration file.
Describes and decodes the signals from IR remotes.
IR Command, corresponding to one (command defining) line of the configuration file.