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:29 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-05-31 16:37:29 +0200
commit31d939efaaa6cda68aec56e859b3c00852fa7ede (patch)
tree5abfdd82dbb5cbe1ac538240f0f394a8da022d82 /src/include/eiotas_particle.h
parent8c561b86372f517b3d6ac9137f09a94f6d2425da (diff)
downloadedoors-31d939efaaa6cda68aec56e859b3c00852fa7ede.zip
edoors-31d939efaaa6cda68aec56e859b3c00852fa7ede.tar.gz
Particle : add eiotas_particle_data_get
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 34b59ed..2815b71 100644
--- a/src/include/eiotas_particle.h
+++ b/src/include/eiotas_particle.h
@@ -116,6 +116,16 @@ EAPI void eiotas_particle_destinations_add(Eiotas_Particle *particle, const char
EAPI void eiotas_particle_link_fields_set(Eiotas_Particle *particle, const char *link_fields);
/**
+ * @brief Restore the data associated to a given key
+ *
+ * @param particle The @ref Eiotas_Particle to restore data from
+ * @param key The @ref Eina_Hash key
+ *
+ * @return The data stored on success, NULL otherwise.
+ */
+EAPI const char* eiotas_particle_data_get(Eiotas_Particle *particle, const char *key);
+
+/**
* @}
*/