*/
#include <stdio.h>
+#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
return 0;
}
-gboolean bt_launch_unable_to_pairing_syspopup(int result)
+bool bt_launch_unable_to_pairing_syspopup(int result)
{
BT_DBG("+");
int ret = 0;
b = bundle_create();
if (b == NULL)
- return FALSE;
+ return false;
bundle_add(b, "event-type", "unable-to-pairing");
}
BT_DBG("-");
- return TRUE;
+ return true;
}
-gboolean bt_is_tethering_enabled(void)
+bool bt_is_tethering_enabled(void)
{
BT_DBG("+");
if (ret != TETHERING_ERROR_NONE)
BT_ERR("Fail to destroy tethering: %d", ret);
- return (gboolean)enabled;
+ return enabled;
}
int bt_get_mime_type(char *file_name, char **mime_type)