summaryrefslogtreecommitdiff
path: root/src/g_unix_signal.h
diff options
context:
space:
mode:
authorben <benjaminfranzke@googlemail.com>2010-07-23 16:44:07 +0200
committerben <benjaminfranzke@googlemail.com>2010-07-23 16:44:07 +0200
commit7eba2fb8fac9f45273f206516070c2ad14e1dfb9 (patch)
treeeea741f22dcfe1e3a54ca129020f17c981744526 /src/g_unix_signal.h
parent376e048b40007bf24adffa2317ebb3e9903a3c86 (diff)
downloadpa-sink-ctl-7eba2fb8fac9f45273f206516070c2ad14e1dfb9.tar.gz
pa-sink-ctl-7eba2fb8fac9f45273f206516070c2ad14e1dfb9.tar.bz2
pa-sink-ctl-7eba2fb8fac9f45273f206516070c2ad14e1dfb9.zip
unix SIGWNICH signal wrapped as glib signal source
Diffstat (limited to 'src/g_unix_signal.h')
-rw-r--r--src/g_unix_signal.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/g_unix_signal.h b/src/g_unix_signal.h
new file mode 100644
index 0000000..f9d6f8b
--- /dev/null
+++ b/src/g_unix_signal.h
@@ -0,0 +1,10 @@
+#ifndef G_UNIX_SIGNAL_H
+#define G_UNIX_SIGNAL_H
+
+#include <glib.h>
+
+GSource *g_unix_signal_source_new(gint signum);
+guint g_unix_signal_add(gint signum, GSourceFunc function, gpointer data);
+guint g_unix_signal_add_full(gint priority, gint signum, GSourceFunc function, gpointer data, GDestroyNotify notify);
+
+#endif /* G_UNIX_SIGNAL_H */