summaryrefslogtreecommitdiffstats
path: root/binding/bluetooth-pbap-common.h
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2019-05-14 00:31:03 -0700
committerMatt Ranostay <matt.ranostay@konsulko.com>2019-05-16 02:20:38 -0700
commitd2237bb1d53d5ee870a8ecb2601bc1daad393f3a (patch)
treeb3d8987007373c81b8712ce35fc0d122255e496c /binding/bluetooth-pbap-common.h
parent10563449b9c9a01f9b1d25d13a19dbf5fa0ee501 (diff)
binding: bluetooth-pbap: add vcard parser framework
Parse the vCard information within the binding itself, and reduce service consumers processing and dependencies. Bug-AGL: SPEC-2392 Change-Id: Ie7654c4ba6d269cb8224e61021e19739614afb4e Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'binding/bluetooth-pbap-common.h')
-rw-r--r--binding/bluetooth-pbap-common.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/binding/bluetooth-pbap-common.h b/binding/bluetooth-pbap-common.h
new file mode 100644
index 0000000..8fdbdc7
--- /dev/null
+++ b/binding/bluetooth-pbap-common.h
@@ -0,0 +1,23 @@
+/*
+ * Copyright (C) 2019 Konsulko Group
+ * Author: Matt Ranostay <matt.ranostay@konsulko.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef BLUETOOTH_PBAP_COMMON_H
+#define BLUETOOTH_PBAP_COMMON_H
+
+json_object *parse_vcards(const char *message);
+
+#endif /* BLUETOOTH_PBAP_COMMON_H */