e_uuid_store: Add function to dump the table for debugging
This commit is contained in:
parent
7a940b1062
commit
8ebda14276
|
@ -21,6 +21,23 @@
|
||||||
|
|
||||||
struct uuid_store *store;
|
struct uuid_store *store;
|
||||||
|
|
||||||
|
void
|
||||||
|
e_uuid_dump(void)
|
||||||
|
{
|
||||||
|
struct uuid_table *table;
|
||||||
|
struct table_entry *entry;
|
||||||
|
Eina_List *l;
|
||||||
|
|
||||||
|
if (store == NULL) return;
|
||||||
|
|
||||||
|
table = store->table;
|
||||||
|
if (table == NULL) return;
|
||||||
|
|
||||||
|
INF("Dump UUID table:");
|
||||||
|
EINA_LIST_FOREACH(table->entries, l, entry)
|
||||||
|
INF("UUID %li, x=%i, y=%i, width=%i, heigth=%i", entry->uuid, entry->x, entry->y, entry->width, entry->heigth );
|
||||||
|
}
|
||||||
|
|
||||||
EINTERN int
|
EINTERN int
|
||||||
e_uuid_store_init(void)
|
e_uuid_store_init(void)
|
||||||
{
|
{
|
||||||
|
|
|
@ -27,6 +27,7 @@ struct uuid_store {
|
||||||
|
|
||||||
EINTERN int e_uuid_store_init(void);
|
EINTERN int e_uuid_store_init(void);
|
||||||
EINTERN int e_uuid_store_shutdown(void);
|
EINTERN int e_uuid_store_shutdown(void);
|
||||||
|
EAPI void e_uuid_dump(void);
|
||||||
EAPI Eina_Bool e_uuid_store_reload(void);
|
EAPI Eina_Bool e_uuid_store_reload(void);
|
||||||
EAPI Eina_Bool e_uuid_store_entry_del(long uuid);
|
EAPI Eina_Bool e_uuid_store_entry_del(long uuid);
|
||||||
EAPI Eina_Bool e_uuid_store_entry_update(long uuid, E_Client *ec);
|
EAPI Eina_Bool e_uuid_store_entry_update(long uuid, E_Client *ec);
|
||||||
|
|
Loading…
Reference in New Issue