Commit 3df061b5 authored by Frédéric Leroy's avatar Frédéric Leroy

UE/EMM: move emm_indication_callback_t from openair2 to emm_main.h

parent 2045a493
...@@ -316,15 +316,6 @@ typedef struct { ...@@ -316,15 +316,6 @@ typedef struct {
*/ */
#define TAI_LIST_T(SIZE) struct {Byte_t n_tais; tai_t tai[SIZE];} #define TAI_LIST_T(SIZE) struct {Byte_t n_tais; tai_t tai[SIZE];}
/*
* User notification callback, executed whenever a change of data with
* respect of network information (e.g. network registration and/or
* location change, new PLMN becomes available) is notified by the
* EPS Mobility Management sublayer
*/
typedef int (*emm_indication_callback_t) (Stat_t, tac_t, ci_t, AcT_t,
const char*, size_t);
typedef enum eps_protocol_discriminator_e { typedef enum eps_protocol_discriminator_e {
/* Protocol discriminator identifier for EPS Mobility Management */ /* Protocol discriminator identifier for EPS Mobility Management */
EPS_MOBILITY_MANAGEMENT_MESSAGE = 0x7, EPS_MOBILITY_MANAGEMENT_MESSAGE = 0x7,
......
...@@ -50,6 +50,15 @@ Description Defines the EPS Mobility Management procedure call manager, ...@@ -50,6 +50,15 @@ Description Defines the EPS Mobility Management procedure call manager,
/************************ G L O B A L T Y P E S ************************/ /************************ G L O B A L T Y P E S ************************/
/****************************************************************************/ /****************************************************************************/
/*
* User notification callback, executed whenever a change of data with
* respect of network information (e.g. network registration and/or
* location change, new PLMN becomes available) is notified by the
* EPS Mobility Management sublayer
*/
typedef int (*emm_indication_callback_t) (Stat_t, tac_t, ci_t, AcT_t,
const char*, size_t);
/****************************************************************************/ /****************************************************************************/
/******************** G L O B A L V A R I A B L E S ********************/ /******************** G L O B A L V A R I A B L E S ********************/
/****************************************************************************/ /****************************************************************************/
......
...@@ -40,6 +40,7 @@ Description NAS procedure call manager ...@@ -40,6 +40,7 @@ Description NAS procedure call manager
#include "commonDef.h" #include "commonDef.h"
#include "networkDef.h" #include "networkDef.h"
#include "emm_main.h"
/****************************************************************************/ /****************************************************************************/
/********************* G L O B A L C O N S T A N T S *******************/ /********************* G L O B A L C O N S T A N T S *******************/
......
...@@ -40,6 +40,7 @@ Description NAS procedure functions triggered by the user ...@@ -40,6 +40,7 @@ Description NAS procedure functions triggered by the user
#include "commonDef.h" #include "commonDef.h"
#include "networkDef.h" #include "networkDef.h"
#include "emm_main.h"
/****************************************************************************/ /****************************************************************************/
/********************* G L O B A L C O N S T A N T S *******************/ /********************* G L O B A L C O N S T A N T S *******************/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment