forked from enlightenment/enlightenment
bool -> Eina_Bool
By: Eduardo Lima (Etrunko) <etrunko@profusion.mobi> SVN revision: 53414
This commit is contained in:
parent
b407b56227
commit
d786ea3805
|
@ -140,7 +140,7 @@ struct _connman_technology_onoff_data
|
||||||
{
|
{
|
||||||
const char *type;
|
const char *type;
|
||||||
E_Connman_Module_Context *ctxt;
|
E_Connman_Module_Context *ctxt;
|
||||||
bool on;
|
Eina_Bool on;
|
||||||
};
|
};
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -161,7 +161,7 @@ _connman_technology_onoff_cb(void *data, DBusMessage *msg __UNUSED__, DBusError
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_connman_technology_onoff(E_Connman_Module_Context *ctxt, const char *type, bool on)
|
_connman_technology_onoff(E_Connman_Module_Context *ctxt, const char *type, Eina_Bool on)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
struct _connman_technology_onoff_data *d;
|
struct _connman_technology_onoff_data *d;
|
||||||
|
|
|
@ -87,7 +87,7 @@ _connman_toggle_offline_mode_cb(void *data, DBusMessage *msg __UNUSED__, DBusErr
|
||||||
void
|
void
|
||||||
_connman_toggle_offline_mode(E_Connman_Module_Context *ctxt)
|
_connman_toggle_offline_mode(E_Connman_Module_Context *ctxt)
|
||||||
{
|
{
|
||||||
bool offline;
|
Eina_Bool offline;
|
||||||
|
|
||||||
if ((!ctxt) || (!ctxt->has_manager))
|
if ((!ctxt) || (!ctxt->has_manager))
|
||||||
{
|
{
|
||||||
|
@ -320,7 +320,7 @@ _connman_service_changed(void *data, const E_Connman_Element *element)
|
||||||
E_Connman_Service *service = data;
|
E_Connman_Service *service = data;
|
||||||
const char *str;
|
const char *str;
|
||||||
unsigned char u8;
|
unsigned char u8;
|
||||||
bool b;
|
Eina_Bool b;
|
||||||
|
|
||||||
#define GSTR(name_, getter) \
|
#define GSTR(name_, getter) \
|
||||||
str = NULL; \
|
str = NULL; \
|
||||||
|
@ -388,7 +388,7 @@ _connman_service_new(E_Connman_Module_Context *ctxt, E_Connman_Element *element)
|
||||||
E_Connman_Service *service;
|
E_Connman_Service *service;
|
||||||
const char *str;
|
const char *str;
|
||||||
unsigned char u8;
|
unsigned char u8;
|
||||||
bool b;
|
Eina_Bool b;
|
||||||
|
|
||||||
if (!element)
|
if (!element)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
|
@ -105,8 +105,8 @@ struct E_Connman_Module_Context
|
||||||
} poller;
|
} poller;
|
||||||
|
|
||||||
Eina_Bool has_manager:1;
|
Eina_Bool has_manager:1;
|
||||||
bool offline_mode;
|
Eina_Bool offline_mode;
|
||||||
bool offline_mode_pending;
|
Eina_Bool offline_mode_pending;
|
||||||
const char *technology;
|
const char *technology;
|
||||||
const E_Connman_Service *default_service;
|
const E_Connman_Service *default_service;
|
||||||
Eina_Inlist *services;
|
Eina_Inlist *services;
|
||||||
|
|
Loading…
Reference in New Issue