summaryrefslogtreecommitdiffstats
path: root/src/NotificationProxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/NotificationProxy.h')
-rw-r--r--src/NotificationProxy.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/NotificationProxy.h b/src/NotificationProxy.h
index 7b4b48d..3552b79 100644
--- a/src/NotificationProxy.h
+++ b/src/NotificationProxy.h
@@ -27,4 +27,20 @@
27struct iphone_np_client_int { 27struct iphone_np_client_int {
28 iphone_umux_client_t connection; 28 iphone_umux_client_t connection;
29 GMutex *mutex; 29 GMutex *mutex;
30 GThread *notifier;
30}; 31};
32
33static const char *np_default_notifications[10] = {
34 NP_SYNC_SUSPEND_REQUEST,
35 NP_SYNC_RESUME_REQUEST,
36 NP_PHONE_NUMBER_CHANGED,
37 NP_SYNC_CANCEL_REQUEST,
38 NP_DEVICE_NAME_CHANGED,
39 NP_ATTEMPTACTIVATION,
40 NP_DS_DOMAIN_CHANGED,
41 NP_APP_INSTALLED,
42 NP_APP_UNINSTALLED,
43 NULL
44};
45
46gpointer iphone_np_notifier( gpointer arg );