#define WFD_IF_DEL_OBJ(obj) \
do { \
- if(obj) { \
+ if (obj) { \
evas_object_del(obj); \
obj = NULL; \
} \
#define WFD_IF_DEL_ITEM(obj) \
do { \
- if(obj) { \
+ if (obj) { \
elm_object_item_del(obj); \
obj = NULL; \
} \
#define WFD_RET_IF(expr, fmt, args...) \
do { \
- if(expr) { \
- DBG(LOG_ERROR, "[%s] Return, message "fmt, #expr, ##args );\
+ if (expr) { \
+ DBG(LOG_ERROR, "[%s] Return, message "fmt, #expr, ##args);\
return; \
} \
} while (0)
#define WFD_RETV_IF(expr, val, fmt, args...) \
do { \
- if(expr) { \
- DBG(LOG_ERROR,"[%s] Return value, message "fmt, #expr, ##args );\
+ if (expr) { \
+ DBG(LOG_ERROR, "[%s] Return value, message "fmt, #expr, ##args);\
return (val); \
} \
} while (0)
#define WFD_IF_FREE_MEM(mem) \
do { \
- if(mem) { \
+ if (mem) { \
free(mem); \
mem = NULL; \
} \
} discovery_status_e;
-typedef struct device_type_s_{
+typedef struct device_type_s_ {
char ssid[SSID_LENGTH + 1];
unsigned int category;
unsigned int sub_category;