diff options
author | Yun-Hao Chung <howardchung@chromium.org> | 2021-08-11 15:08:56 +0800 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2021-08-11 11:18:22 -0700 |
commit | 4f3adc7bef6970331b0af11abf768b5e59408e2c (patch) | |
tree | 34846579f52c3fcb3d2872736329c5567d5541cd /client/admin.h | |
parent | b03f77ba5b3a03cb515675f39e361f7e061b0f29 (diff) | |
download | bluez-4f3adc7bef6970331b0af11abf768b5e59408e2c.tar.gz |
client: add admin submenu and allow command
This creates a menu - admin and add a commands to bluetoothctl
- allow [clear/uuid1 uuid2 ...]
Reviewed-by: Miao-chen Chou <mcchou@chromium.org>
Diffstat (limited to 'client/admin.h')
-rw-r--r-- | client/admin.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/client/admin.h b/client/admin.h new file mode 100644 index 000000000..1c8c2152d --- /dev/null +++ b/client/admin.h @@ -0,0 +1,25 @@ +/* + * + * BlueZ - Bluetooth protocol stack for Linux + * + * Copyright (C) 2021 Google LLC + * + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + */ + +void admin_policy_set_set_proxy(GDBusProxy *proxy); +void admin_policy_set_status_proxy(GDBusProxy *proxy); + +void admin_policy_read_service_allowlist(DBusConnection *dbus_conn); +void admin_policy_set_service_allowlist(DBusConnection *dbus_conn, + int argc, char *argv[]); |