major folder reorganisation, R pkg is now epclust/ at first level. Experimental usage...
[epclust.git] / old_C_code / stage1 / src / MPI_Communication / pack.h
diff --git a/old_C_code/stage1/src/MPI_Communication/pack.h b/old_C_code/stage1/src/MPI_Communication/pack.h
new file mode 100644 (file)
index 0000000..38338f7
--- /dev/null
@@ -0,0 +1,12 @@
+#ifndef PPAM_PACK_H
+#define PPAM_PACK_H
+
+#include "Util/types.h"
+
+// serialize a Work_t object into a bytes string
+void pack_work(Work_t* work, uint32_t nbSeriesInChunk, Byte* packedWork);
+
+// serialize a Result_t object into a bytes string
+void pack_result(Result_t* result, Byte* packedResult);
+
+#endif