summaryrefslogtreecommitdiffstats
path: root/src/notification_proxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/notification_proxy.h')
-rw-r--r--src/notification_proxy.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/notification_proxy.h b/src/notification_proxy.h
index 8d5cd24..595cb01 100644
--- a/src/notification_proxy.h
+++ b/src/notification_proxy.h
@@ -8,30 +8,31 @@
8 * modify it under the terms of the GNU Lesser General Public 8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version. 10 * version 2.1 of the License, or (at your option) any later version.
11 * 11 *
12 * This library is distributed in the hope that it will be useful, 12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details. 15 * Lesser General Public License for more details.
16 * 16 *
17 * You should have received a copy of the GNU Lesser General Public 17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software 18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 */ 20 */
21#ifndef INOTIFICATION_PROXY_H
22#define INOTIFICATION_PROXY_H
23 21
24#include <glib.h> 22#ifndef __NOTIFICATION_PROXY_H
23#define __NOTIFICATION_PROXY_H
25 24
25#include "idevice.h"
26#include "libimobiledevice/notification_proxy.h" 26#include "libimobiledevice/notification_proxy.h"
27#include "property_list_service.h" 27#include "property_list_service.h"
28#include <libimobiledevice-glue/thread.h>
28 29
29struct np_client_private { 30struct np_client_private {
30 property_list_service_client_t parent; 31 property_list_service_client_t parent;
31 GMutex *mutex; 32 mutex_t mutex;
32 GThread *notifier; 33 THREAD_T notifier;
33}; 34};
34 35
35gpointer np_notifier(gpointer arg); 36void* np_notifier(void* arg);
36 37
37#endif 38#endif