diff options
author | Loïc Collignon <loic.collignon@iot.bzh> | 2018-12-18 10:54:55 +0100 |
---|---|---|
committer | Loïc Collignon <loic.collignon@iot.bzh> | 2018-12-20 18:13:14 +0100 |
commit | 57faac0038cdfd2ed2c113e7ae5a752fe5aa99a4 (patch) | |
tree | f7aeafc5080e7d9c4df04718ade34a6973146213 /ahl-binding/ahl-api.hpp | |
parent | f30e1a348f35e5ba9ff2d00d8f71edf095926d17 (diff) |
Moved non class member to a different file
The ahl-binding.cpp file should contain only ahl_binding_t members.
Change-Id: I00508eb7e188b72bed7ae3a8abdc212c8e28949d
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
Diffstat (limited to 'ahl-binding/ahl-api.hpp')
-rw-r--r-- | ahl-binding/ahl-api.hpp | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/ahl-binding/ahl-api.hpp b/ahl-binding/ahl-api.hpp new file mode 100644 index 0000000..fed48ba --- /dev/null +++ b/ahl-binding/ahl-api.hpp @@ -0,0 +1,30 @@ +#pragma once + +/* + * Copyright (C) 2018 "IoT.bzh" + * Author Loïc Collignon <loic.collignon@iot.bzh> + * + * 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. + */ + +#include "afb-binding-common.h" + +int ahl_api_create(void*, afb_api_t handle); +int afbBindingEntry(afb_api_t handle); +int ahl_api_init(afb_api_t); +void ahl_api_on_event(afb_api_t, const char* e, struct json_object* o); +int ahl_api_config_roles(afb_api_t, CtlSectionT*, json_object* o); +void ahl_api_get_roles(afb_req_t req); +void ahl_api_subscribe(afb_req_t req); +void ahl_api_unsubscribe(afb_req_t req); +void ahl_api_role(afb_req_t req);
\ No newline at end of file |