Fix the memory leak
[platform/core/connectivity/bluetooth-frwk.git] / include / bluetooth-api.h
index 273835a..aa5ae3b 100644 (file)
@@ -518,8 +518,10 @@ typedef enum {
  * TDS transport Type
  */
 typedef enum {
-               BLUETOOTH_TDS_TRANSPORT_BT = 0x01,      /* Transport type BR-EDR */
-               BLUETOOTH_TDS_TRANSPORT_CUSTOM, /* Transport type custom */
+               BLUETOOTH_TDS_TRANSPORT_BT = 0x01,              /* Transport type BR-EDR */
+               BLUETOOTH_TDS_TRANSPORT_CUSTOM,                 /* Transport type custom */
+               BLUETOOTH_TDS_TRANSPORT_WIFI_NAN,               /* Wi-Fi Alliance Neighbor Awareness Networking */
+               BLUETOOTH_TDS_TRANSPORT_WIFI_SVC_ADV,   /* Wi-Fi Alliance Service Advertisement */
                /* ... */
                BLUETOOTH_TDS_TRANSPORT_INVALID
 } bluetooth_tds_transport_t;
@@ -606,8 +608,8 @@ typedef struct {
 * Advertising parameters
 */
 typedef struct {
-       float interval_min;
-       float interval_max;
+       int interval_min;
+       int interval_max;
        guint8 filter_policy;
        guint8 type;
        int tx_power_level;