diff options
author | Michael Janssen <jamuraa@chromium.org> | 2015-03-26 15:08:31 -0700 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2015-03-27 17:01:11 +0200 |
commit | 59c8313ddb578c63965f7118a997d2c446b08307 (patch) | |
tree | 452d53f6c3981247008a4af89001898a59cb1a2c /src/advertising.h | |
parent | f0fee838d4c76db04a2a3a6bf9f549a3f2d2fe5f (diff) | |
download | bluez-59c8313ddb578c63965f7118a997d2c446b08307.tar.gz |
core: advertising: add LEAdvertisingManager stubs
Introducing src/advertising which will implement the
org.bluez.LEAdvertisingManager1 D-Bus interface defined in
doc/advertising-api.txt. Each LE-capable controller gets
an instance of the interface.
Diffstat (limited to 'src/advertising.h')
-rw-r--r-- | src/advertising.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/advertising.h b/src/advertising.h new file mode 100644 index 000000000..a4b99ff87 --- /dev/null +++ b/src/advertising.h @@ -0,0 +1,25 @@ +/* + * + * BlueZ - Bluetooth protocol stack for Linux + * + * Copyright (C) 2015 Google Inc. + * + * + * 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. + * + */ + +struct btd_adapter; +struct btd_advertising; + +struct btd_advertising *btd_advertising_manager_new( + struct btd_adapter *adapter); +void btd_advertising_manager_destroy(struct btd_advertising *manager); |