+extern char _GRAS_header[6];
+
+extern int gras_msg_libdata_id; /* The identifier of our libdata */
+
+typedef enum {
+ e_gras_msg_kind_unknown = 0,
+ e_gras_msg_kind_oneway = 1
+ /* future:
+ method call (answer expected; sessionID attached)
+ successful return (usual datatype attached, with sessionID)
+ error return (payload = exception)
+ [+ call cancel, and others]
+ even after:
+ forwarding request and other application level routing stuff
+ group communication
+ */
+
+} e_gras_msg_kind_t;
+
+/** @brief Message instance */
+typedef struct {
+ gras_socket_t expe;
+ e_gras_msg_kind_t kind;
+ gras_msgtype_t type;
+ void *payl;
+ int payl_size;
+} s_gras_msg_t, *gras_msg_t;
+