summaryrefslogtreecommitdiff
path: root/cesar/cp2/cco
diff options
context:
space:
mode:
authorboure2008-06-17 16:03:17 +0000
committerboure2008-06-17 16:03:17 +0000
commit80bd25699c30861cd201d873cf5cde1e81ce8590 (patch)
treec1cfe07830a2ed1c8836fcadb9e15433820e35f4 /cesar/cp2/cco
parent510a5ae408ee8d2d0ca49596c00ed8ce00e46cfa (diff)
add msg_stub
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@2364 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/cp2/cco')
-rw-r--r--cesar/cp2/cco/bw/test/src/msg_stub.c303
1 files changed, 303 insertions, 0 deletions
diff --git a/cesar/cp2/cco/bw/test/src/msg_stub.c b/cesar/cp2/cco/bw/test/src/msg_stub.c
new file mode 100644
index 0000000000..67a8446abb
--- /dev/null
+++ b/cesar/cp2/cco/bw/test/src/msg_stub.c
@@ -0,0 +1,303 @@
+/* Cesar project {{{
+ *
+ * Copyright (C) 2008 Spidcom
+ *
+ * <<<Licence>>>
+ *
+ * }}} */
+/**
+ * \file link.c
+ * \brief link management
+ * \ingroup cp2/conn
+ *
+ * « long description »
+ */
+#include "common/std.h"
+#include "cp2/cp.h"
+#include "cp2/inc/context.h"
+#include "cp2/conn/conn_mgr.h"
+#include "cp2/conn/conn.h"
+#include "cp2/conn/link.h"
+#include "cp2/mme.h"
+
+/**
+ * Send a conn add req
+ * \param ctx Control Plane context
+ * \param peer Peer informations
+ * \param data Data to send
+ *
+ */
+void
+cp_msg_cm_conn_new_req_send(cp_t *ctx,
+ cp_mme_peer_t peer,
+ cp_msg_cm_conn_new_req_t *data)
+{
+}
+
+/**
+ * Reception of a CM_CONN_NEW.REQ
+ * \param ctx Control Plane context
+ * \param mme MME received
+ * \param data data to fill
+ * \return ture on success
+ *
+ */
+bool
+cp_msg_cm_conn_new_req_receive(cp_t *ctx,
+ cp_mme_rx_t *mme,
+ cp_msg_cm_conn_new_req_t *data)
+{
+ return true;
+}
+
+void
+cp_msg_cm_conn_new_cnf_sent(cp_t *ctx,
+ cp_mme_rx_t *mme,
+ cp_msg_cm_conn_new_cnf_t *data)
+{
+}
+
+bool
+cp_msg_cm_conn_new_cnf_receive(cp_t *ctx,
+ cp_mme_rx_t *mme,
+ cp_msg_cm_conn_new_cnf_t *data)
+{
+ return true;
+}
+
+/******************/
+/* APCM family */
+/******************/
+void
+cp_msg_apcm_conn_add_req_send(cp_t *ctx,
+ cp_mme_rx_t *mme,
+ cp_msg_apcm_conn_add_req_t *data)
+{
+}
+
+bool
+cp_msg_apcm_conn_add_req_receive(cp_t *ctx,
+ cp_mme_rx_t *mme,
+ cp_msg_apcm_conn_add_req_t *data)
+{
+ return true;
+}
+
+/**
+ * Sends a apcm_conn_add.cnf
+ * \param ctx Control Plane context
+ * \param peer Peer informations
+ * \param data Data to send
+ *
+ */
+void
+cp_msg_apcm_conn_add_cnf_send(cp_t *ctx,
+ cp_mme_peer_t peer,
+ cp_msg_apcm_conn_add_cnf_t *data)
+{
+}
+
+/**
+ * Reception of a APCM_CONN_ADD.CNF
+ * \param ctx Control Plane context
+ * \param mme MME received
+ * \param data data to fill
+ * \return ture on success
+ *
+ */
+bool
+cp_msg_apcm_conn_add_cnf_receive(cp_t *ctx,
+ cp_mme_rx_t *mme,
+ cp_msg_apcm_conn_add_cnf_t *data)
+{
+ return true;
+}
+/**
+ * Sends a apcm_conn_add.ind
+ * \param ctx Control Plane context
+ * \param peer Peer informations
+ * \param data Data to send
+ *
+ */
+void
+cp_msg_apcm_conn_add_ind_send(cp_t *ctx,
+ cp_mme_peer_t peer,
+ cp_msg_apcm_conn_add_ind_t *data)
+{
+}
+
+/**
+ * Reception of a APCM_CONN_ADD.IND
+ * \param ctx Control Plane context
+ * \param mme MME received
+ * \param data data to fill
+ * \return true on success
+ *
+ */
+bool
+cp_msg_apcm_conn_add_ind_receive(cp_t *ctx,
+ cp_mme_rx_t *mme,
+ cp_msg_apcm_conn_add_ind_t *data)
+{
+ return true;
+}
+ /**
+ * Sends a CM_CONN_REL.IND
+ * \param ctx Control Plane context
+ * \param peer Peer informations
+ * \param data Data to send
+ *
+ */
+void
+cp_msg_apcm_conn_rel_ind_send(cp_t *ctx,
+ cp_mme_peer_t peer,
+ cp_msg_apcm_conn_rel_ind_t *data)
+{
+}
+/**
+ * Reception of a CM_CONN_REL.IND
+ * \param ctx Control Plane context
+ * \param mme MME received
+ * \param data data to fill
+ * \return ture on success
+ *
+ */
+bool
+cp_msg_cm_conn_rel_ind_receive(cp_t *ctx,
+ cp_mme_rx_t *mme,
+ cp_msg_cm_conn_rel_ind_t *data)
+{
+ return true;
+}
+
+/**
+ * Sends a CM_CONN_REL.RSP
+ * \param ctx Control Plane context
+ * \param peer Peer informations
+ * \param data Data to send
+ *
+ */
+void
+cp_msg_cm_conn_rel_rsp_send(cp_t *ctx,
+ cp_mme_peer_t peer,
+ cp_msg_cm_conn_rel_rsp_t *data)
+{
+}
+
+/**
+ * Reception of a CM_CONN_REL.RSP
+ * \param ctx Control Plane context
+ * \param mme MME received
+ * \param data data to fill
+ * \return ture on success
+ *
+ */
+bool
+cp_msg_cm_conn_rel_rsp_receive(cp_t *ctx,
+ cp_mme_rx_t *mme,
+ cp_msg_cm_conn_rel_rsp_t *data)
+{
+ return true;
+}
+
+void
+cp_msg_cm_conn_info_req_send(cp_t *ctx,
+ cp_mme_peer_t peer,
+ cp_msg_cm_conn_info_req_t *data)
+{
+}
+
+bool
+cp_msg_cm_conn_info_req_receive(cp_t *ctx,
+ cp_mme_rx_t *mme,
+ cp_msg_cm_conn_info_req_t *data)
+{
+ return true;
+}
+
+bool
+cp_msg_cm_conn_mod_req_receive(cp_t *ctx,
+ cp_mme_rx_t *mme,
+ cp_msg_cm_conn_mod_req_t *data)
+{
+ return true;
+}
+void
+cp_msg_apcm_conn_mod_ind_send(cp_t *ctx,
+ cp_mme_peer_t peer,
+ cp_msg_apcm_conn_mod_ind_t *data)
+{
+}
+bool
+cp_msg_cm_conn_mod_cnf_receive(cp_t *ctx,
+ cp_mme_rx_t *mme,
+ cp_msg_cm_conn_mod_cnf_t *data)
+{
+ return true;
+}
+
+bool
+cp_msg_cm_conn_info_cnf_receive(cp_t *ctx,
+ cp_mme_rx_t *mme,
+ cp_msg_cm_conn_info_cnf_t *data)
+{
+ return true;
+}
+bool
+cp_msg_apcm_conn_add_rsp_receive(cp_t *ctx,
+ cp_mme_rx_t *mme,
+ cp_msg_apcm_conn_add_rsp_t *data)
+{
+ return true;
+}
+void
+cp_msg_cm_conn_new_cnf_send(cp_t *ctx,
+ cp_mme_peer_t peer,
+ cp_msg_cm_conn_new_cnf_t *data)
+{
+}
+
+bool
+cp_msg_apcm_conn_mod_req_receive(cp_t *ctx,
+ cp_mme_rx_t *mme,
+ cp_msg_apcm_conn_mod_req_t *data)
+{
+ return true;
+}
+
+void
+cp_msg_cm_conn_mod_req_send(cp_t *ctx,
+ cp_mme_peer_t peer,
+ cp_msg_cm_conn_mod_req_t *data)
+{
+}
+
+bool
+cp_msg_apcm_conn_mod_rsp_receive(cp_t *ctx,
+ cp_mme_rx_t *mme,
+ cp_msg_apcm_conn_mod_rsp_t *data)
+{
+ return true;
+}
+
+void
+cp_msg_cm_conn_mod_cnf_send(cp_t *ctx,
+ cp_mme_peer_t peer,
+ cp_msg_cm_conn_mod_cnf_t *data)
+{
+}
+
+bool
+cp_msg_apcm_conn_rel_req_receive(cp_t *ctx,
+ cp_mme_rx_t *mme,
+ cp_msg_apcm_conn_rel_req_t *data)
+{
+ return true;
+}
+void
+cp_msg_cm_conn_rel_ind_send(cp_t *ctx,
+ cp_mme_peer_t peer,
+ cp_msg_cm_conn_rel_ind_t *data)
+{
+}
+