From f1b901ed676b2d45ec8e6ae3d6ef2f94d79f9ee6 Mon Sep 17 00:00:00 2001 From: José Bollo Date: Tue, 10 May 2016 13:47:58 +0200 Subject: Refactoring requests and context handling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also adds a first (untested) implmentation of the afb services over dbus. Change-Id: Id1bdeccf75f3a70d3658bdaf0510d6e7b97f6c32 Signed-off-by: José Bollo --- src/afb-api-dbus.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/afb-api-dbus.h (limited to 'src/afb-api-dbus.h') diff --git a/src/afb-api-dbus.h b/src/afb-api-dbus.h new file mode 100644 index 00000000..8ea1909b --- /dev/null +++ b/src/afb-api-dbus.h @@ -0,0 +1,25 @@ +/* + * Copyright 2016 IoT.bzh + * Author: José Bollo + * + * 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. + */ + + +#pragma once + +extern int afb_api_dbus_add_client(const char *path); + +extern int afb_api_dbus_add_server(const char *path); + + -- cgit 1.2.3-korg