summaryrefslogtreecommitdiff
path: root/xmodmap.h
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:49:23 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:49:23 +0000
commitdc0f15394719e18bb9b01e70468f4d9908488d35 (patch)
tree7ab8dfcac5f42c5c2951a6007e45a45d53a09537 /xmodmap.h
parente29f1f1ed2128d7382a72ccb1684045fe4bc8183 (diff)
Diffstat (limited to 'xmodmap.h')
-rw-r--r--xmodmap.h30
1 files changed, 20 insertions, 10 deletions
diff --git a/xmodmap.h b/xmodmap.h
index 96b4f66..1a9a91c 100644
--- a/xmodmap.h
+++ b/xmodmap.h
@@ -26,6 +26,7 @@ other dealings in this Software without prior written authorization
from The Open Group.
*/
+/* $XFree86: xc/programs/xmodmap/xmodmap.h,v 1.5 2001/12/14 20:02:13 dawes Exp $ */
extern char *ProgramName;
extern Display *dpy;
@@ -36,13 +37,22 @@ extern char *inputFilename;
extern int lineno;
extern int parse_errors;
-extern void initialize_map ();
-extern void process_file ();
-extern void process_line ();
-extern void handle_line ();
-extern void print_opcode ();
-extern void print_work_queue ();
-extern int execute_work_queue ();
-extern void print_modifier_map ();
-extern void print_key_table ();
-extern void print_pointer_map ();
+extern void initialize_map(void);
+extern void process_file(char *filename);
+extern void process_line(char *buffer);
+extern void handle_line(char *line, int len);
+extern void print_work_queue(void);
+extern int execute_work_queue(void);
+extern void print_modifier_map(void);
+extern void print_key_table(Bool exprs);
+extern void print_pointer_map(void);
+
+extern int UpdateModifierMapping(XModifierKeymap *map);
+extern int AddModifier(XModifierKeymap **mapp, KeyCode keycode, int modifier);
+extern int RemoveModifier(XModifierKeymap **mapp, KeyCode keycode,
+ int modifier);
+extern int ClearModifier(XModifierKeymap **mapp, int modifier);
+extern void PrintModifierMapping(XModifierKeymap *map, FILE *fp);
+extern void PrintKeyTable(Bool exprs, FILE *fp);
+extern void PrintPointerMap(FILE *fp);
+extern int SetPointerMap(unsigned char *map, int n);