aboutsummaryrefslogtreecommitdiff
path: root/reload.c
diff options
context:
space:
mode:
authorDavid <dbphillipsnz@gmail.com>2014-05-10 11:32:45 +1200
committerDavid <dbphillipsnz@gmail.com>2014-05-10 11:32:45 +1200
commite7d8d46e9a7f8590fd89f4b1964778f6b1f57e13 (patch)
tree7a54533dbd930ee9e6ea61f89547ef79483e4a29 /reload.c
parent72c2b91bbece8b963763f626e10fc479fffd4e35 (diff)
downloadparamano-e7d8d46e9a7f8590fd89f4b1964778f6b1f57e13.tar.xz
First preparations for config reloading on-the-fly
Diffstat (limited to 'reload.c')
-rw-r--r--reload.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/reload.c b/reload.c
new file mode 100644
index 0000000..fcc5ca9
--- /dev/null
+++ b/reload.c
@@ -0,0 +1,22 @@
+/************************************************************************
+ * This file is part of trayfreq-archlinux. *
+ * *
+ * trayfreq-archlinux is free software; you can redistribute it and/or *
+ * modify it under the terms of the GNU General Public License as *
+ * published by the Free Software Foundation; either version 3 of the *
+ * License, or (at your option) any later version. *
+ * *
+ * trayfreq-archlinux is distributed in the hope that it will be useful,*
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License *
+ * along with trayfreq-archlinux. If not, see *
+ * <http://www.gnu.org/licenses/>. *
+ ************************************************************************/
+
+void reload_config()
+{
+ printf("USR1\n");
+}