summaryrefslogtreecommitdiffstats
path: root/src/include/eiotas_particle.h
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-05-31 16:38:12 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-05-31 16:38:12 +0200
commit01e95f4f8601d7fef228fb61c74cdb95d37acb29 (patch)
tree59eee049cde0b5da21557e1781e33819f115f7e9 /src/include/eiotas_particle.h
parent047577a3e1837bf34f40ca6e1c8e0401f068a41d (diff)
downloadedoors-01e95f4f8601d7fef228fb61c74cdb95d37acb29.zip
edoors-01e95f4f8601d7fef228fb61c74cdb95d37acb29.tar.gz
Particle : add eiotas_particle_data_del
Diffstat (limited to 'src/include/eiotas_particle.h')
-rw-r--r--src/include/eiotas_particle.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/eiotas_particle.h b/src/include/eiotas_particle.h
index b752928..26489aa 100644
--- a/src/include/eiotas_particle.h
+++ b/src/include/eiotas_particle.h
@@ -137,6 +137,16 @@ EAPI const char* eiotas_particle_data_get(Eiotas_Particle *particle, const char
EAPI Eina_Bool eiotas_particle_data_set(Eiotas_Particle *particle, const char *key, const char *value);
/**
+ * @brief Delete the data associated to a given key
+ *
+ * @param particle The @ref Eiotas_Particle to delete data from
+ * @param key The @ref Eina_Hash key
+ *
+ * @return @ref EINA_FALSE if an error occurred, @ref EINA_TRUE otherwise.
+ */
+EAPI Eina_Bool eiotas_particle_data_del(Eiotas_Particle *particle, const char *key);
+
+/**
* @}
*/