summaryrefslogtreecommitdiffstats
path: root/src/include/eiotas_particle.h
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-05-31 16:37:59 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-05-31 16:37:59 +0200
commit047577a3e1837bf34f40ca6e1c8e0401f068a41d (patch)
treec03b4492741464bb2f95c193bddad44fedd544cb /src/include/eiotas_particle.h
parent31d939efaaa6cda68aec56e859b3c00852fa7ede (diff)
downloadedoors-047577a3e1837bf34f40ca6e1c8e0401f068a41d.zip
edoors-047577a3e1837bf34f40ca6e1c8e0401f068a41d.tar.gz
Particle : add eiotas_particle_data_set
Diffstat (limited to 'src/include/eiotas_particle.h')
-rw-r--r--src/include/eiotas_particle.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/include/eiotas_particle.h b/src/include/eiotas_particle.h
index 2815b71..b752928 100644
--- a/src/include/eiotas_particle.h
+++ b/src/include/eiotas_particle.h
@@ -126,6 +126,17 @@ EAPI void eiotas_particle_link_fields_set(Eiotas_Particle *particle, const char
EAPI const char* eiotas_particle_data_get(Eiotas_Particle *particle, const char *key);
/**
+ * @brief Store a key:value data couple into the Eiotas_Particle
+ *
+ * @param particle The @ref Eiotas_Particle to store data into
+ * @param key The @ref Eina_Hash key
+ * @param value The value to store
+ *
+ * @return @ref EINA_FALSE if an error occurred, @ref EINA_TRUE otherwise.
+ */
+EAPI Eina_Bool eiotas_particle_data_set(Eiotas_Particle *particle, const char *key, const char *value);
+
+/**
* @}
*/