1
by Alexander Sack
Import upstream version 0.14 |
1 |
/*
|
2 |
*
|
|
3 |
* OBEX Client
|
|
4 |
*
|
|
1.1.2
by Baptiste Mille-Mathias
Import upstream version 0.22 |
5 |
* Copyright (C) 2007-2010 Intel Corporation
|
6 |
* Copyright (C) 2007-2010 Marcel Holtmann <marcel@holtmann.org>
|
|
1
by Alexander Sack
Import upstream version 0.14 |
7 |
*
|
8 |
*
|
|
9 |
* This program is free software; you can redistribute it and/or modify
|
|
10 |
* it under the terms of the GNU General Public License as published by
|
|
11 |
* the Free Software Foundation; either version 2 of the License, or
|
|
12 |
* (at your option) any later version.
|
|
13 |
*
|
|
14 |
* This program is distributed in the hope that it will be useful,
|
|
15 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17 |
* GNU General Public License for more details.
|
|
18 |
*
|
|
19 |
* You should have received a copy of the GNU General Public License
|
|
20 |
* along with this program; if not, write to the Free Software
|
|
21 |
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
22 |
*
|
|
23 |
*/
|
|
24 |
||
25 |
#include <gdbus.h> |
|
26 |
||
27 |
#define PBAP_INTERFACE "org.openobex.PhonebookAccess"
|
|
28 |
||
29 |
struct pbap_data { |
|
30 |
char *path; |
|
31 |
guint8 format; |
|
32 |
guint8 order; |
|
33 |
uint64_t filter; |
|
34 |
};
|
|
35 |
||
36 |
gboolean pbap_register_interface(DBusConnection *connection, const char *path, |
|
37 |
void *user_data, GDBusDestroyFunction destroy); |
|
38 |
void pbap_unregister_interface(DBusConnection *connection, const char *path, |
|
39 |
void *user_data); |