summaryrefslogtreecommitdiff
path: root/cesar/cp/msg/inc/msg_cc.h
diff options
context:
space:
mode:
authorlaranjeiro2009-07-28 13:28:48 +0000
committerlaranjeiro2009-07-28 13:28:48 +0000
commite377333f6cd8ddf4b38fe041dda4e883bd4d14a0 (patch)
tree5a6ea29cc7cc272267a1b6cb5c9c9ba911231091 /cesar/cp/msg/inc/msg_cc.h
parentaa2682418e666c5f26372dbc309e3a04f5201f56 (diff)
*cp/msg: (Closes #425)
* Added the verification of the fields of the MME. * Added a long jump when the MME has no more bits to read and the user request for more. In this case the called function return false. * Same thing for fragmented messages. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@5108 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/cp/msg/inc/msg_cc.h')
-rw-r--r--cesar/cp/msg/inc/msg_cc.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/cesar/cp/msg/inc/msg_cc.h b/cesar/cp/msg/inc/msg_cc.h
index 72da1c4f5d..fecc1f74d6 100644
--- a/cesar/cp/msg/inc/msg_cc.h
+++ b/cesar/cp/msg/inc/msg_cc.h
@@ -435,8 +435,9 @@ cp_msg_cc_discover_list_cnf_receive_begin (cp_t *ctx, cp_mme_rx_t *mme);
* \param msg the MME payload.
* \param nb_sta The number of discovered station done by the source
* station.
+ * \return true on success.
*/
-void
+bool
cp_msg_cc_discover_list_cnf_recv_begin_sta (cp_t *ctx, cp_mme_rx_t *msg,
uint *nb_sta);
@@ -445,8 +446,9 @@ cp_msg_cc_discover_list_cnf_recv_begin_sta (cp_t *ctx, cp_mme_rx_t *msg,
* \param ctx the control plane context.
* \param mme the MME message.
* \param data the data structure to store the discovered station data.
+ * \return true on success.
*/
-void
+bool
cp_msg_cc_discover_list_cnf_recv_station (cp_t *ctx, cp_mme_rx_t *mme,
cp_msg_cc_discover_list_sta_t *data);
@@ -456,8 +458,9 @@ cp_msg_cc_discover_list_cnf_recv_station (cp_t *ctx, cp_mme_rx_t *mme,
* \param msg the MME payload.
* \param nb_net The number of discovered networks done by the source
* station.
+ * \return true on success.
*/
-void
+bool
cp_msg_cc_discover_list_cnf_recv_begin_net (cp_t *ctx, cp_mme_rx_t *msg,
uint *nb_net);
@@ -466,8 +469,9 @@ cp_msg_cc_discover_list_cnf_recv_begin_net (cp_t *ctx, cp_mme_rx_t *msg,
* \param ctx the control plane context.
* \param mme the MME message.
* \param data the data structure to store the discovered network data.
+ * \return true on success.
*/
-void
+bool
cp_msg_cc_discover_list_cnf_recv_network (cp_t *ctx, cp_mme_rx_t *mme,
cp_msg_cc_discover_list_net_t *data);
@@ -475,8 +479,9 @@ cp_msg_cc_discover_list_cnf_recv_network (cp_t *ctx, cp_mme_rx_t *mme,
* Ends the MME.
* \param ctx the control plane context.
* \param mme the MME message.
+ * \return true on success.
*/
-void
+bool
cp_msg_cc_discover_list_cnf_recv_end (cp_t *ctx, cp_mme_rx_t *mme);
/**