ngap_gNB_management_procedures.h 1.93 KB
Newer Older
zhenghuangkun's avatar
zhenghuangkun committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
/*
 * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The OpenAirInterface Software Alliance licenses this file to You under
 * the OAI Public License, Version 1.1  (the "License"); you may not use this file
 * except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.openairinterface.org/?page_id=698
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *-------------------------------------------------------------------------------
 * For more information about the OpenAirInterface (OAI) Software Alliance:
 *      contact@openairinterface.org
 */

zhenghuangkun's avatar
zhenghuangkun committed
22 23 24 25 26 27 28 29 30
/*! \file ngap_gNB_management_procedures.h
 * \brief NGAP gNB task 
 * \author  Yoshio INOUE, Masayuki HARADA 
 * \date 2020
 * \email: yoshio.inoue@fujitsu.com,masayuki.harada@fujitsu.com (yoshio.inoue%40fujitsu.com%2cmasayuki.harada%40fujitsu.com)
 * \version 1.0
 * @ingroup _ngap
 */

zhenghuangkun's avatar
zhenghuangkun committed
31 32 33
#ifndef NGAP_GNB_MANAGEMENT_PROCEDURES_H_
#define NGAP_GNB_MANAGEMENT_PROCEDURES_H_

zhenghuangkun's avatar
zhenghuangkun committed
34
struct ngap_gNB_amf_data_s *ngap_gNB_get_AMF(
zhenghuangkun's avatar
zhenghuangkun committed
35 36 37
  ngap_gNB_instance_t *instance_p,
  int32_t assoc_id, uint16_t cnx_id);

zhenghuangkun's avatar
zhenghuangkun committed
38
struct ngap_gNB_amf_data_s *ngap_gNB_get_AMF_from_instance(ngap_gNB_instance_t *instance_p);
zhenghuangkun's avatar
zhenghuangkun committed
39

zhenghuangkun's avatar
zhenghuangkun committed
40
void ngap_gNB_remove_amf_desc(ngap_gNB_instance_t * instance);
zhenghuangkun's avatar
zhenghuangkun committed
41 42 43 44 45 46 47 48 49 50

void ngap_gNB_insert_new_instance(ngap_gNB_instance_t *new_instance_p);

ngap_gNB_instance_t *ngap_gNB_get_instance(uint8_t mod_id);

uint16_t ngap_gNB_fetch_add_global_cnx_id(void);

void ngap_gNB_prepare_internal_data(void);

#endif /* NGAP_GNB_MANAGEMENT_PROCEDURES_H_ */