From 9332d1fd62492d8dd843a571693eeec75d8d3632 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Tue, 22 May 2012 15:07:43 +0200 Subject: headers: declare eiotas_xx_free functions --- src/include/eiotas_board.h | 2 ++ src/include/eiotas_door.h | 2 ++ src/include/eiotas_link.h | 2 ++ src/include/eiotas_particle.h | 2 ++ src/include/eiotas_room.h | 2 ++ 5 files changed, 10 insertions(+) diff --git a/src/include/eiotas_board.h b/src/include/eiotas_board.h index 3234287..87d628a 100644 --- a/src/include/eiotas_board.h +++ b/src/include/eiotas_board.h @@ -33,6 +33,8 @@ struct _Eiotas_Board { Eina_Hash *postponed; /* TODO Particles */ }; +void eiotas_board_free(Eiotas_Board *board); + EAPI Eiotas_Board* eiotas_board_add(const char* name, Eiotas_Room *parent, Eiotas_User_Bits *user_bits); #endif // __EIOTAS_BOARD_H__ diff --git a/src/include/eiotas_door.h b/src/include/eiotas_door.h index aadcbd1..3b40415 100644 --- a/src/include/eiotas_door.h +++ b/src/include/eiotas_door.h @@ -32,6 +32,8 @@ struct _Eiotas_Door { Eiotas_User_Bits user_bits; /* user bits */ }; +void eiotas_door_free(Eiotas_Door *door); + EAPI Eiotas_Door* eiotas_door_add(const char* name, Eiotas_Room *parent, Eiotas_User_Bits *user_bits); #endif // __EIOTAS_DOOR_H__ diff --git a/src/include/eiotas_link.h b/src/include/eiotas_link.h index 7bdb5b2..4692641 100644 --- a/src/include/eiotas_link.h +++ b/src/include/eiotas_link.h @@ -24,4 +24,6 @@ typedef struct _Eiotas_Link Eiotas_Link; struct _Eiotas_Link { }; +void eiotas_link_free(Eiotas_Link *link); + #endif // __EIOTAS_LINK_H__ diff --git a/src/include/eiotas_particle.h b/src/include/eiotas_particle.h index 898a27e..a34fbe4 100644 --- a/src/include/eiotas_particle.h +++ b/src/include/eiotas_particle.h @@ -28,6 +28,8 @@ struct _Eiotas_Particle { Eina_Stringshare *src; /* TODO */ }; +void eiotas_particle_free(Eiotas_Particle *particle); + Eiotas_Particle* eiotas_particle_alloc(); #endif // __EIOTAS_PARTICLE_H__ diff --git a/src/include/eiotas_room.h b/src/include/eiotas_room.h index da40f3c..1b2bc2c 100644 --- a/src/include/eiotas_room.h +++ b/src/include/eiotas_room.h @@ -31,6 +31,8 @@ struct _Eiotas_Room { Eina_Hash *children; /* stringshared values optimized hash table holding Rooms, Doors and Boards */ }; +void eiotas_room_free(Eiotas_Room *room); + EAPI Eiotas_Room* eiotas_room_add(const char* name, Eiotas_Room *parent); #endif // __EIOTAS_ROOM_H__ -- cgit v1.1-2-g2b99