A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[mc] Server side symbol evaluation
[simgrid.git]
/
src
/
mc
/
mc_protocol.h
diff --git
a/src/mc/mc_protocol.h
b/src/mc/mc_protocol.h
index a33d00ec1c5bf5877ea6ee4b62906a6532f0a0f9..251e1842b01aa033840131863e64cb528945dba5 100644
(file)
--- a/
src/mc/mc_protocol.h
+++ b/
src/mc/mc_protocol.h
@@
-44,6
+44,7
@@
typedef enum {
MC_MESSAGE_UNIGNORE_HEAP,
MC_MESSAGE_IGNORE_MEMORY,
MC_MESSAGE_STACK_REGION,
MC_MESSAGE_UNIGNORE_HEAP,
MC_MESSAGE_IGNORE_MEMORY,
MC_MESSAGE_STACK_REGION,
+ MC_MESSAGE_REGISTER_SYMBOL,
} e_mc_message_type;
#define MC_MESSAGE_LENGTH 512
} e_mc_message_type;
#define MC_MESSAGE_LENGTH 512
@@
-80,6
+81,13
@@
typedef struct s_mc_stack_region_message {
s_stack_region_t stack_region;
} s_mc_stack_region_message_t, *mc_stack_region_message_t;
s_stack_region_t stack_region;
} s_mc_stack_region_message_t, *mc_stack_region_message_t;
+typedef struct s_mc_register_symbol_message {
+ e_mc_message_type type;
+ char name[128];
+ int (*callback)(void*);
+ void* data;
+} s_mc_register_symbol_message_t, * mc_register_symbol_message_t;
+
int MC_protocol_send(int socket, void* message, size_t size);
int MC_protocol_send_simple_message(int socket, int type);
int MC_protocol_hello(int socket);
int MC_protocol_send(int socket, void* message, size_t size);
int MC_protocol_send_simple_message(int socket, int type);
int MC_protocol_hello(int socket);