From 51880aee4ed5ec9c40660bfb4640eb5fe695a62a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Fri, 25 May 2012 16:50:25 +0200 Subject: Particle: feed the struct --- src/include/eiotas_particle.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/include/eiotas_particle.h b/src/include/eiotas_particle.h index e376e8f..1b309a0 100644 --- a/src/include/eiotas_particle.h +++ b/src/include/eiotas_particle.h @@ -19,14 +19,26 @@ #ifndef __EIOTAS_PARTICLE_H__ #define __EIOTAS_PARTICLE_H__ -#include +#include +#include +#include #include #include +#include "eiotas_iota.h" + typedef struct _Eiotas_Particle Eiotas_Particle; struct _Eiotas_Particle { EINA_INLIST; + time_t ts; /* creation time */ + Eiotas_Iota *src; /* where it's born */ + Eiotas_Iota *dst; /* current destination */ + Eina_Array *dsts; /* array of destinatinon strings */ + Eina_Hash *payload; /* string data carried by this particle */ + Eina_Inlist *merged; /* list of merged particles */ + Eina_Array *link_fields; /* fields used to generate the link value */ + Eina_Stringshare *link_value; /* computed from link_fields and paylod, used for pearing particles */ }; void eiotas_particle_free(Eiotas_Particle *particle); -- cgit v1.1-2-g2b99