O-CU-UP
[scp/ocu/5gnr.git] / Include / cuupUeIdTransf.h
1 /******************************************************************************
2 ###############################################################################
3 #   Copyright (c) [2017-2020] [ICT/CAS]                                        #
4 #   Licensed under the ORAN Software License v1.0 (License)             #
5 ###############################################################################
6 ******************************************************************************/
7 #ifndef CUUP_UE_INFO_H
8 #define CUUP_UE_INFO_H
9
10 #include "vos_types.h"
11 #include "vos_lib.h"
12
13 #define FALSE                                                   0
14 #define TRUE                                                    1
15 #define MAX_UE_NUM                                              42
16
17 typedef struct cuupUeIdxInfo
18 {
19         UINT8  isUsed;          /* TRUE:used, FALSE: not used */
20         UINT16 ueIdx;
21         UINT64 ueE1apId;
22 }CuupUeIdxInfo_t;
23
24 typedef struct cuupUeIdxTable
25 {
26         CuupUeIdxInfo_t ueIdxInfo[MAX_UE_NUM];
27 }CuupUeIdxTable_t;
28
29 extern INT32 cuupAddUeE1apid(UINT64 ueE1apId, UINT16 *ueIdx, CuupUeIdxTable_t *pTable);
30 extern INT32 cuupDelUeIdx(UINT16 ueIdx, CuupUeIdxTable_t *pTable);
31 extern INT32 cuupGetUeIdx(UINT64 ueE1apId, UINT16 *ueIdx, CuupUeIdxTable_t *pTable);
32
33
34 #endif /* CUUP_UE_INFO_H */