Commit faa51ec4 authored by Cedric Roux's avatar Cedric Roux

- Use typedef for enums/structs

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4562 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 0aec555a
This diff is collapsed.
...@@ -236,7 +236,8 @@ typedef struct { ...@@ -236,7 +236,8 @@ typedef struct {
* location change, new PLMN becomes available) is notified by the * location change, new PLMN becomes available) is notified by the
* EPS Mobility Management sublayer * EPS Mobility Management sublayer
*/ */
typedef int (*emm_indication_callback_t) (Stat_t, tac_t, ci_t, AcT_t, const char*, size_t); 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 ********************/
......
...@@ -37,24 +37,24 @@ Description Contains network's global definitions ...@@ -37,24 +37,24 @@ Description Contains network's global definitions
* Network registration status * Network registration status
* --------------------------- * ---------------------------
*/ */
/* not registered, not currently searching an operator to register to */ /* not registered, not currently searching an operator to register to */
#define NET_REG_STATE_OFF 0 #define NET_REG_STATE_OFF 0
/* registered, home network */ /* registered, home network */
#define NET_REG_STATE_HN 1 #define NET_REG_STATE_HN 1
/* not registered, currently trying to attach or searching an operator /* not registered, currently trying to attach or searching an operator
* to register to */ * to register to */
#define NET_REG_STATE_ON 2 #define NET_REG_STATE_ON 2
/* registration denied */ /* registration denied */
#define NET_REG_STATE_DENIED 3 #define NET_REG_STATE_DENIED 3
/* unknown (e.g. out of GERAN/UTRAN/E-UTRAN coverage) */ /* unknown (e.g. out of GERAN/UTRAN/E-UTRAN coverage) */
#define NET_REG_STATE_UNKNOWN 4 #define NET_REG_STATE_UNKNOWN 4
/* registered, roaming */ /* registered, roaming */
#define NET_REG_STATE_ROAMING 5 #define NET_REG_STATE_ROAMING 5
/* registered for "SMS only", home network */ /* registered for "SMS only", home network */
#define NET_REG_STATE_SMS_HN 6 #define NET_REG_STATE_SMS_HN 6
/* registered, for "SMS only", roaming */ /* registered, for "SMS only", roaming */
#define NET_REG_STATE_SMS_ROAMING 7 #define NET_REG_STATE_SMS_ROAMING 7
/* attached for emergency bearer services only (applicable to UTRAN) */ /* attached for emergency bearer services only (applicable to UTRAN) */
#define NET_REG_STATE_EMERGENCY 8 #define NET_REG_STATE_EMERGENCY 8
/* /*
...@@ -230,7 +230,7 @@ typedef struct { ...@@ -230,7 +230,7 @@ typedef struct {
typedef struct { typedef struct {
int n_pkfs; int n_pkfs;
#define NET_PACKET_FILTER_MAX 16 #define NET_PACKET_FILTER_MAX 16
network_pkf_t* pkf[NET_PACKET_FILTER_MAX]; network_pkf_t *pkf[NET_PACKET_FILTER_MAX];
} network_tft_t; } network_tft_t;
/* /*
......
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