diff --git a/cmdsocket.c b/cmdsocket.c index c178a47..1fb3e07 100644 --- a/cmdsocket.c +++ b/cmdsocket.c @@ -1,3 +1,8 @@ +/* Copyright 2010 Stefan Tomanek + * You have permission to copy, modify, and redistribute under the + * terms of the GPL. For full license terms, see COPYING. + */ + #include #include #include diff --git a/cmdsocket.h b/cmdsocket.h index b0f594d..8b095bc 100644 --- a/cmdsocket.h +++ b/cmdsocket.h @@ -1,3 +1,8 @@ +/* Copyright 2010 Stefan Tomanek + * You have permission to copy, modify, and redistribute under the + * terms of the GPL. For full license terms, see COPYING. + */ + int bind_cmdsocket(char *name); struct command *read_command(int cmd_fd); int send_command(int cmd_fd, enum command_type type, char *param, int passfd, int exclusive, char *tag); diff --git a/command.h b/command.h index d362322..bd696e1 100644 --- a/command.h +++ b/command.h @@ -1,3 +1,8 @@ +/* Copyright 2010 Stefan Tomanek + * You have permission to copy, modify, and redistribute under the + * terms of the GPL. For full license terms, see COPYING. + */ + #include "devtag.h" #define TH_COMMAND_PARAM_LENGTH 256 diff --git a/devices.c b/devices.c index 16e31b6..276dceb 100644 --- a/devices.c +++ b/devices.c @@ -1,3 +1,8 @@ +/* Copyright 2010 Stefan Tomanek + * You have permission to copy, modify, and redistribute under the + * terms of the GPL. For full license terms, see COPYING. + */ + #include #include #include diff --git a/devices.h b/devices.h index e39cef8..be62830 100644 --- a/devices.h +++ b/devices.h @@ -1,3 +1,8 @@ +/* Copyright 2010 Stefan Tomanek + * You have permission to copy, modify, and redistribute under the + * terms of the GPL. For full license terms, see COPYING. + */ + #include "devtag.h" typedef struct device { diff --git a/devtag.h b/devtag.h index 18920b5..8faa05e 100644 --- a/devtag.h +++ b/devtag.h @@ -1 +1,6 @@ +/* Copyright 2010 Stefan Tomanek + * You have permission to copy, modify, and redistribute under the + * terms of the GPL. For full license terms, see COPYING. + */ + #define TH_DEVICE_TAG_LENGTH 256 diff --git a/eventnames.c b/eventnames.c index 5077ce1..484be29 100644 --- a/eventnames.c +++ b/eventnames.c @@ -1,3 +1,8 @@ +/* Copyright 2010 Stefan Tomanek + * You have permission to copy, modify, and redistribute under the + * terms of the GPL. For full license terms, see COPYING. + */ + #include #include #include diff --git a/eventnames.h b/eventnames.h index 000c7fe..feb8673 100644 --- a/eventnames.h +++ b/eventnames.h @@ -1,3 +1,8 @@ +/* Copyright 2010 Stefan Tomanek + * You have permission to copy, modify, and redistribute under the + * terms of the GPL. For full license terms, see COPYING. + */ + #include const char *lookup_event_name_i(const int evtype, const int evcode); diff --git a/eventtable.h b/eventtable.h index 286210d..db4ccf7 100644 --- a/eventtable.h +++ b/eventtable.h @@ -1,3 +1,8 @@ +/* Copyright 2010 Stefan Tomanek + * You have permission to copy, modify, and redistribute under the + * terms of the GPL. For full license terms, see COPYING. + */ + #include #define EV_MAP( N ) [ N ] = #N diff --git a/ignore.c b/ignore.c index 92d8f78..9c4f365 100644 --- a/ignore.c +++ b/ignore.c @@ -1,3 +1,8 @@ +/* Copyright 2010 Stefan Tomanek + * You have permission to copy, modify, and redistribute under the + * terms of the GPL. For full license terms, see COPYING. + */ + #include #include #include "ignore.h" diff --git a/ignore.h b/ignore.h index f123e8d..776220f 100644 --- a/ignore.h +++ b/ignore.h @@ -1,3 +1,8 @@ +/* Copyright 2010 Stefan Tomanek + * You have permission to copy, modify, and redistribute under the + * terms of the GPL. For full license terms, see COPYING. + */ + typedef struct ignore { int code; struct ignore *next; diff --git a/keystate.c b/keystate.c index a14fd39..687f3a5 100644 --- a/keystate.c +++ b/keystate.c @@ -1,3 +1,8 @@ +/* Copyright 2010 Stefan Tomanek + * You have permission to copy, modify, and redistribute under the + * terms of the GPL. For full license terms, see COPYING. + */ + #include #include #include diff --git a/keystate.h b/keystate.h index 4194dd8..04a7f4f 100644 --- a/keystate.h +++ b/keystate.h @@ -1,3 +1,8 @@ +/* Copyright 2010 Stefan Tomanek + * You have permission to copy, modify, and redistribute under the + * terms of the GPL. For full license terms, see COPYING. + */ + #include typedef unsigned short keystate_holder[KEY_MAX+1]; diff --git a/obey.c b/obey.c index 2605b72..7b1c7a0 100644 --- a/obey.c +++ b/obey.c @@ -1,3 +1,8 @@ +/* Copyright 2010 Stefan Tomanek + * You have permission to copy, modify, and redistribute under the + * terms of the GPL. For full license terms, see COPYING. + */ + #include #include "devices.h" #include "command.h" diff --git a/obey.h b/obey.h index 68ed2df..794274c 100644 --- a/obey.h +++ b/obey.h @@ -1 +1,6 @@ +/* Copyright 2010 Stefan Tomanek + * You have permission to copy, modify, and redistribute under the + * terms of the GPL. For full license terms, see COPYING. + */ + int obey_command( struct command *cmd ); diff --git a/th-cmd.c b/th-cmd.c index e291c96..cbb1603 100644 --- a/th-cmd.c +++ b/th-cmd.c @@ -1,3 +1,8 @@ +/* Copyright 2010 Stefan Tomanek + * You have permission to copy, modify, and redistribute under the + * terms of the GPL. For full license terms, see COPYING. + */ + #include #include #include diff --git a/thd.c b/thd.c index b1006e9..86b780b 100644 --- a/thd.c +++ b/thd.c @@ -1,6 +1,6 @@ -/* - * thd.c - the triggerhappy daemon - * by Stefan Tomanek +/* Copyright 2010 Stefan Tomanek + * You have permission to copy, modify, and redistribute under the + * terms of the GPL. For full license terms, see COPYING. */ #include diff --git a/thd.h b/thd.h index 71b5f4b..33bfdab 100644 --- a/thd.h +++ b/thd.h @@ -1 +1,6 @@ +/* Copyright 2010 Stefan Tomanek + * You have permission to copy, modify, and redistribute under the + * terms of the GPL. For full license terms, see COPYING. + */ + void cleanup(void); diff --git a/trigger.c b/trigger.c index e275b61..676c61c 100644 --- a/trigger.c +++ b/trigger.c @@ -1,3 +1,8 @@ +/* Copyright 2010 Stefan Tomanek + * You have permission to copy, modify, and redistribute under the + * terms of the GPL. For full license terms, see COPYING. + */ + #include #include #include diff --git a/trigger.h b/trigger.h index 1e6dd0c..714ea14 100644 --- a/trigger.h +++ b/trigger.h @@ -1,3 +1,8 @@ +/* Copyright 2010 Stefan Tomanek + * You have permission to copy, modify, and redistribute under the + * terms of the GPL. For full license terms, see COPYING. + */ + #include "devtag.h" #define TRIGGER_MODIFIERS_MAX 5 diff --git a/triggerparser.c b/triggerparser.c index d5ab640..3bc2e91 100644 --- a/triggerparser.c +++ b/triggerparser.c @@ -1,3 +1,8 @@ +/* Copyright 2010 Stefan Tomanek + * You have permission to copy, modify, and redistribute under the + * terms of the GPL. For full license terms, see COPYING. + */ + #include #include #include diff --git a/triggerparser.h b/triggerparser.h index d43b3e8..f5e8d81 100644 --- a/triggerparser.h +++ b/triggerparser.h @@ -1 +1,6 @@ +/* Copyright 2010 Stefan Tomanek + * You have permission to copy, modify, and redistribute under the + * terms of the GPL. For full license terms, see COPYING. + */ + trigger* parse_trigger(char* line); diff --git a/uinput.c b/uinput.c index 8ee7919..6127150 100644 --- a/uinput.c +++ b/uinput.c @@ -1,3 +1,8 @@ +/* Copyright 2010 Stefan Tomanek + * You have permission to copy, modify, and redistribute under the + * terms of the GPL. For full license terms, see COPYING. + */ + #include #include #include diff --git a/uinput.h b/uinput.h index d6f00b8..5a3ce72 100644 --- a/uinput.h +++ b/uinput.h @@ -1,3 +1,8 @@ +/* Copyright 2010 Stefan Tomanek + * You have permission to copy, modify, and redistribute under the + * terms of the GPL. For full license terms, see COPYING. + */ + int open_uinput(const char *path); void close_uinput(); int send_event(const int type, const int code, const int value);