Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
mv some app examples in app- folders
[simgrid.git] / examples / msg / chainsend / messages.h
diff --git a/examples/msg/chainsend/messages.h b/examples/msg/chainsend/messages.h
deleted file mode 100644 (file)
index 7118d29..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-#ifndef KADEPLOY_MESSAGES_H
-#define KADEPLOY_MESSAGES_H
-
-#include "msg/msg.h"
-#include "xbt/sysdep.h"
-
-#define MESSAGE_BUILD_CHAIN_SIZE 40
-#define MESSAGE_SEND_DATA_HEADER_SIZE 1
-#define MESSAGE_END_DATA_SIZE 1
-
-/* Messages enum */
-typedef enum {
-  MESSAGE_BUILD_CHAIN = 0,
-  MESSAGE_SEND_DATA
-} e_message_type;
-
-/* Message struct */
-typedef struct s_message {
-  e_message_type type;
-  const char *issuer_hostname;
-  const char *mailbox;
-  const char *prev_hostname;
-  const char *next_hostname;
-  const char *data_block;
-  unsigned int data_length;
-  unsigned int num_pieces;
-} s_message_t, *message_t;
-
-/* Message methods */
-msg_task_t task_message_new(e_message_type type, unsigned int len, const char *issuer_hostname, const char *mailbox);
-msg_task_t task_message_chain_new(const char *issuer_hostname, const char *mailbox, const char* prev, const char *next, const unsigned int num_pieces);
-msg_task_t task_message_data_new(const char *issuer_hostname, const char *mailbox, const char *block, unsigned int len);
-void task_message_delete(void *);
-
-#endif /* KADEPLOY_MESSAGES_H */