summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlefranc2007-07-24 15:17:27 +0000
committerlefranc2007-07-24 15:17:27 +0000
commit45c11da55a2ded30c4a672ccff728fb3d77ec7d3 (patch)
treea2e5f48c4caba874e36883ac49f6604efb6477bc
parent775a7b79c9b51a1f56d494044ed5bf5a627b5fee (diff)
- modified function_call header to add a msg_id
- added the FUNCTION_CALL_FLAG_ASYNC flag for asynchronous function call git-svn-id: svn+ssh://pessac/svn/cesar/trunk@526 017c9cb6-072f-447c-8318-d5b54f68fe89
-rw-r--r--maximus/common/types/functioncall_types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/maximus/common/types/functioncall_types.h b/maximus/common/types/functioncall_types.h
index aaa4b9a37c..7e21436388 100644
--- a/maximus/common/types/functioncall_types.h
+++ b/maximus/common/types/functioncall_types.h
@@ -16,8 +16,10 @@ struct Function_Call_Header
{
uint8_t version;
uint8_t type;
+ uint16_t msg_id;
uint8_t param_nb;
uint8_t flags;
+ uint16_t reserved;
} __attribute__ ((__packed__));
// Function_Call_Header.type
@@ -30,6 +32,8 @@ enum Function_Call_Type
FUNCTION_CALL_TYPE_NB
};
+#define FUNCTION_CALL_FLAG_ASYNC 0x01
+
// Function_Call_Header.param_nb
//
typedef unsigned int Function_Call_Parameters_Number;