summaryrefslogtreecommitdiff
path: root/src/unix_signal.h
blob: 2e1aab68aef037f9498bb351a7e30ea86c61d838 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef UNIX_SIGNAL_H
#define UNIX_SIGNAL_H

#include <glib.h>

GSource *
unix_signal_source_new(gint signum);
guint
unix_signal_add(gint signum, GSourceFunc function, gpointer data);
guint
unix_signal_add_full(gint priority, gint signum, GSourceFunc function,
		     gpointer data, GDestroyNotify notify);

#endif /* UNIX_SIGNAL_H */