Commit 3835f106 authored by Frédéric Leroy's avatar Frédéric Leroy

UE/ESM: move esm_indication_callback_t from openair2 to esm_ebr.h

parent 3df061b5
...@@ -252,13 +252,6 @@ typedef struct { ...@@ -252,13 +252,6 @@ typedef struct {
network_pkf_t* pkf[NET_PACKET_FILTER_MAX]; network_pkf_t* pkf[NET_PACKET_FILTER_MAX];
} network_tft_t; } network_tft_t;
/*
* User notification callback, executed whenever a change of status with
* respect of PDN connection or EPS bearer context is notified by the EPS
* Session Management sublayer
*/
typedef int (*esm_indication_callback_t) (int, network_pdn_state_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 ********************/
/****************************************************************************/ /****************************************************************************/
......
...@@ -48,6 +48,7 @@ Description Implements the API used by the NAS layer running in the UE ...@@ -48,6 +48,7 @@ Description Implements the API used by the NAS layer running in the UE
#include "at_command.h" #include "at_command.h"
#include "at_response.h" #include "at_response.h"
#include "at_error.h" #include "at_error.h"
#include "esm_ebr.h"
#include "user_indication.h" #include "user_indication.h"
......
...@@ -42,6 +42,7 @@ Description Defines functions used to handle state of EPS bearer contexts ...@@ -42,6 +42,7 @@ Description Defines functions used to handle state of EPS bearer contexts
#include "OctetString.h" #include "OctetString.h"
#include "networkDef.h" #include "networkDef.h"
#include "esmData.h"
#include "nas_timer.h" #include "nas_timer.h"
...@@ -56,6 +57,13 @@ Description Defines functions used to handle state of EPS bearer contexts ...@@ -56,6 +57,13 @@ Description Defines functions used to handle state of EPS bearer contexts
/************************ 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 status with
* respect of PDN connection or EPS bearer context is notified by the EPS
* Session Management sublayer
*/
typedef int (*esm_indication_callback_t) (int, network_pdn_state_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 ********************/
/****************************************************************************/ /****************************************************************************/
......
...@@ -41,6 +41,7 @@ Description Defines the EPS Session Management procedure call manager, ...@@ -41,6 +41,7 @@ Description Defines the EPS Session Management procedure call manager,
#define __ESM_MAIN_H__ #define __ESM_MAIN_H__
#include "networkDef.h" #include "networkDef.h"
#include "esm_ebr.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 *******************/
......
...@@ -41,6 +41,7 @@ Description NAS procedure call manager ...@@ -41,6 +41,7 @@ Description NAS procedure call manager
#include "commonDef.h" #include "commonDef.h"
#include "networkDef.h" #include "networkDef.h"
#include "emm_main.h" #include "emm_main.h"
#include "esm_ebr.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 *******************/
......
...@@ -41,6 +41,7 @@ Description NAS procedure functions triggered by the user ...@@ -41,6 +41,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" #include "emm_main.h"
#include "esm_ebr.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