diff options
author | Ravi kumar Veeramally <ravikumar.veeramally@linux.intel.com> | 2014-03-13 13:58:44 +0200 |
---|---|---|
committer | Szymon Janc <szymon.janc@tieto.com> | 2014-03-14 13:34:16 +0100 |
commit | d7e5e16a360c9ca48aa65defc3238b671ace3e7e (patch) | |
tree | c57862d574ddeb665b5ab505e2b95687505b1150 /android/hal-health.c | |
parent | 1d0715f86491ce1bae39c4824098a9f309889204 (diff) | |
download | bluez-d7e5e16a360c9ca48aa65defc3238b671ace3e7e.tar.gz |
android/hal-health: Add hal-health.c with initial get interface call
Diffstat (limited to 'android/hal-health.c')
-rw-r--r-- | android/hal-health.c | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/android/hal-health.c b/android/hal-health.c new file mode 100644 index 000000000..59f8cca38 --- /dev/null +++ b/android/hal-health.c @@ -0,0 +1,42 @@ +/* + * Copyright (C) 2014 Intel Corporation + * + * 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 <stdbool.h> +#include <stddef.h> +#include <string.h> +#include <stdlib.h> + +#include "hal-log.h" +#include "hal.h" +#include "hal-msg.h" +#include "ipc-common.h" +#include "hal-ipc.h" + +static bthl_interface_t health_if = { + .size = sizeof(health_if), + .init = NULL, + .register_application = NULL, + .unregister_application = NULL, + .connect_channel = NULL, + .destroy_channel = NULL, + .cleanup = NULL +}; + +bthl_interface_t *bt_get_health_interface(void) +{ + return &health_if; +} |