Added code for MAC-PHY interface, DU_APP, F1AP, SCTP and CU stub
[o-du/l2.git] / src / du_app / du_mgr.h
1 /*******************************************************************************
2 ################################################################################
3 #   Copyright (c) [2017-2019] [Radisys]                                        #
4 #                                                                              #
5 #   Licensed under the Apache License, Version 2.0 (the "License");            #
6 #   you may not use this file except in compliance with the License.           #
7 #   You may obtain a copy of the License at                                    #
8 #                                                                              #
9 #       http://www.apache.org/licenses/LICENSE-2.0                             #
10 #                                                                              #
11 #   Unless required by applicable law or agreed to in writing, software        #
12 #   distributed under the License is distributed on an "AS IS" BASIS,          #
13 #   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   #
14 #   See the License for the specific language governing permissions and        #
15 #   limitations under the License.                                             #
16 ################################################################################
17 *******************************************************************************/
18
19 /* This file contains message handling functionality for DU cell management */
20 #ifndef __DU_MGR_H__
21 #define __DU_MGR_H__
22
23 #include "stdio.h"
24 #include "ctype.h"
25 #include "envopt.h"        /* Environment options */
26 #include "envdep.h"        /* Environment dependent */
27 #include "envind.h"        /* Environment independent */
28 #include "gen.h"           /* General */
29 #include "ssi.h"           /* System services */
30 #include "cm5.h"           /* Common timer defines */
31 #include "cm_tkns.h"       /* Common tokens defines */
32 #include "cm_mblk.h"       /* Common memory allocation library defines */
33 #include "cm_llist.h"      /* Common link list  defines  */
34 #include "cm_hash.h"       /* Common hashlist  defines */
35 #include "cm_lte.h"
36 #include "cm_inet.h"
37 #include "lkw.h"
38 #include "lrg.h"
39
40 #include "du_common.h"
41
42 #include "gen.x"           /* General */
43 #include "ssi.x"           /* System services */
44
45 #include "cm5.x"           /* Common timer library */
46 #include "cm_tkns.x"       /* Common tokens */
47 #include "cm_mblk.x"       /* Common memory allocation */
48 #include "cm_llist.x"      /* Common link list */
49 #include "cm_hash.x"       /* Common hashlist */
50 #include "cm_lte.x"
51 #include "cm_inet.x"
52 #include "cm_lib.x"
53 #include "lkw.x"
54 #include "lrg.x"
55
56 #define DU_PROC  0
57 #define DU_POOL  1
58 /* Events */
59 #define EVTCFG 0
60 #define EVTSCTPUP 1
61
62 /* Selector */
63 #define DU_SELECTOR_LC   0
64 #define DU_SELECTOR_TC   1
65 #define DU_SELECTOR_LWLC 2
66
67 /* DU APP DB */
68 typedef struct duDb
69 {
70    F1Status f1Status;
71
72 }DuDb;
73
74
75 /* DU Cell Functions */
76 S16 duActvInit(Ent entity, Inst inst, Region region, Reason reason);
77 S16 duActvTsk(Pst *pst, Buffer *mBuf);
78 S16 duProcCfgComplete();
79
80 #endif
81
82 /**********************************************************************
83          End of file
84 **********************************************************************/