From e7c349950e12eace412206192b4ba7cab6eacc15 Mon Sep 17 00:00:00 2001 From: Yun-Hao Chung Date: Tue, 3 Aug 2021 19:43:09 +0800 Subject: plugins: new plugin This adds an initial code for a new plugin admin. Reviewed-by: Miao-chen Chou --- plugins/admin.c | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 plugins/admin.c (limited to 'plugins') diff --git a/plugins/admin.c b/plugins/admin.c new file mode 100644 index 000000000..8c6a2be53 --- /dev/null +++ b/plugins/admin.c @@ -0,0 +1,32 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later +/* + * + * BlueZ - Bluetooth protocol stack for Linux + * + * Copyright (C) 2021 Google LLC + * + * + */ + +#ifdef HAVE_CONFIG_H +#include +#endif + +#include "src/log.h" +#include "src/plugin.h" + +static int admin_init(void) +{ + DBG(""); + + return 0; +} + +static void admin_exit(void) +{ + DBG(""); +} + +BLUETOOTH_PLUGIN_DEFINE(admin, VERSION, + BLUETOOTH_PLUGIN_PRIORITY_DEFAULT, + admin_init, admin_exit) -- cgit v1.2.1