zephyr/include
Szymon Janc 6645d3f485 Bluetooth: GATT: Remove destroy callback from bt_gatt_discover_params
Instead of destroy callback, call discovery_func with NULL attribute to
indicated that discovery has completed. This makes it clear when
discovery is completed and parameters used for it are no longer used.
Thanks to this application doesn't need to abuse user data destroy
callback for detecting if discovery has completed.

Also note that bt_gatt_discover doesn't take any user data parameter
and that destroy callback was acctually called with discovery
parameters.

If application would require to pass user data along with parameters
it may use CONTAINER_OF macro along with bt_gatt_discover_params.

Change-Id: Iec4eb9795975ef2555502e13a682e13ff37742e0
Signed-off-by: Szymon Janc <ext.szymon.janc@tieto.com>
2016-02-05 20:25:32 -05:00
..
arch irq: rename irq_connect() to IRQ_CONNECT() 2016-02-05 20:25:25 -05:00
bluetooth Bluetooth: GATT: Remove destroy callback from bt_gatt_discover_params 2016-02-05 20:25:32 -05:00
display c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
drivers cc2520: Reworking radio on and transmission logic 2016-02-05 20:25:23 -05:00
microkernel c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
misc c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
net net: Stack analyze function fixed 2016-02-05 20:25:32 -05:00
toolchain toolchain: check if both __aligned and __packed are defined 2016-02-05 20:25:31 -05:00
adc.h adc: updated the adc read api description 2016-02-05 20:25:25 -05:00
aio_comparator.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
atomic.h
cache.h cache: add implementation for cache-less systems 2016-02-05 20:25:24 -05:00
clock_control.h clock: add Quark SE clock control 2016-02-05 20:24:48 -05:00
device.h device: Make device_sync_call_complete aware of the caller context 2016-02-05 20:25:28 -05:00
gpio.h gpio: allow pins to be enabled/disabled 2016-02-05 20:25:29 -05:00
i2c.h i2c: Set I2C_MSG_STOP in i2c_write and i2c_read 2016-02-05 20:25:17 -05:00
init.h init: add SYS_INIT() 2016-02-05 20:25:25 -05:00
ipm.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
irq_offload.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
kernel_version.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
linker-defs.h init: Add protection against incorrect levels or priorities 2016-02-05 20:24:54 -05:00
linker-tool-gcc.h Fixed file description and applied doxygen style 2016-02-05 20:24:58 -05:00
linker-tool.h Fixed file description and applied doxygen style 2016-02-05 20:24:58 -05:00
microkernel.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
nanokernel.h build: Add C++ support 2016-02-05 20:25:23 -05:00
pinmux.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
pwm.h
rtc.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
section_tags.h ARM: ARC: put sw_isr_table in ROM by default 2016-02-05 20:25:21 -05:00
sections.h ARM: ARC: put sw_isr_table in ROM by default 2016-02-05 20:25:21 -05:00
shared_irq.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
spi.h spi: Fix the spi configuration mode documentation 2016-02-05 20:25:21 -05:00
sw_isr_table.h irq: fix declared _sw_isr_table size on ARC 2016-02-05 20:25:25 -05:00
sys_clock.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
sys_io.h
toolchain.h Fixed file description and applied doxygen style 2016-02-05 20:24:58 -05:00
uart.h uart: remove incorrect comment w.r.t. type of device pointer 2016-02-05 20:25:23 -05:00
watchdog.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
zephyr.h