2 * Copyright 2019 Konsulko Group
3 * Author: Matt Ranostay <matt.ranostay@konsulko.com>
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
18 #ifndef NAVIGATION_API_H
19 #define NAVIGATION_API_H
27 #include <glib-object.h>
29 #include <json-c/json.h>
31 #define AFB_BINDING_VERSION 3
32 #include <afb/afb-binding.h>
34 #include <json-c/json.h>
38 struct navigation_state {
40 afb_event_t status_event;
41 afb_event_t position_event;
42 afb_event_t waypoints_event;
45 json_object *status_storage;
46 json_object *position_storage;
47 json_object *waypoints_storage;