Release A code commit
[o-du/l2.git] / src / du_app / F1AP / f1ap_msg_hdl.h
similarity index 75%
rename from src/cu_app/cu_mgr_main.h
rename to src/du_app/F1AP/f1ap_msg_hdl.h
index 15ac29b..c2d16c3 100644 (file)
 ################################################################################
 *******************************************************************************/
 
-#ifndef __CU_MGR_MAIN_H__
-#define __CU_MGR_MAIN_H__
+/* This file contains all F1AP message handler related functionality */
+#include<stdio.h>
+#include<sys/types.h>
+#include<ProtocolIE-Field.h>
+#include<string.h>
+#include "ProtocolExtensionField.h"
+#include "F1AP-PDU.h"
 
-
-#include "stdio.h"
-#include "stdlib.h"
-#include "string.h"
-#include "ctype.h"
-#include "stdbool.h"
 #include "envopt.h"        /* Environment options */
 #include "envdep.h"        /* Environment dependent */
 #include "envind.h"        /* Environment independent */
-
 #include "gen.h"           /* General */
 #include "ssi.h"           /* System services */
-
-#include "cu_common.h"
+#include "ss_queue.h"
+#include "ss_task.h"
+#include "ss_msg.h"
 
 #include "gen.x"           /* General */
-#include "ssi.x"           /* System services */
-#include "cm_lib.x"
+#include "ssi.x"   /* System services */
+#include "ss_queue.x"
+#include "ss_task.x"
+#include "ss_msg.x"
+
+#define ENC_BUF_MAX_LEN 100
 
-CuCfgParams cuCfgParams; //global variable to hold all configs
+extern char encBuf[ENC_BUF_MAX_LEN];
+int  encBufSize;
 
-void readCuCfg();
-void cuAppInmsgHdlr(char *recvBuf,U8 len);
+S16 BuildF1SetupReq();
+void F1InmsgHdlr(Buffer *mBuf);
 
-#endif
+#define ENCODE_FAIL -1
+#define TRANS_ID 1
+#define RRC_SIZE 1
 
 /**********************************************************************
          End of file