aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/sgsn/sgsn.h
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2023-01-09 12:29:27 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2023-01-11 12:58:15 +0100
commit58101ea587f725bd79c089b1596a77bffbb152d8 (patch)
tree30f94aaad2e72d445a8fcb96ada8b0dc3df1ea17 /include/osmocom/sgsn/sgsn.h
parent6aad14c3faf562e9d5172097dcf6ccd4095684f8 (diff)
Split gprs_sgsn.{c,h} -> {auth,mmctx,sgsn}.{c,h}
Some level of split already existed, like sgsn_auth.c, but headers were entangled together. Let's clearly separate application centric code (sgsn.c/h), auth related code (auth.c/h) and mmctx related code (mmctx.c/h). Change-Id: I048a082851c1275c959649942904205b02acce2a
Diffstat (limited to 'include/osmocom/sgsn/sgsn.h')
-rw-r--r--include/osmocom/sgsn/sgsn.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/osmocom/sgsn/sgsn.h b/include/osmocom/sgsn/sgsn.h
index aadb8a75a..0963863c7 100644
--- a/include/osmocom/sgsn/sgsn.h
+++ b/include/osmocom/sgsn/sgsn.h
@@ -8,7 +8,7 @@
#include <osmocom/gprs/gprs_ns2.h>
#include <osmocom/gprs/gprs_bssgp.h>
-#include <osmocom/sgsn/gprs_sgsn.h>
+#include <osmocom/sgsn/auth.h>
#include <osmocom/sgsn/gtp_mme.h>
#include <osmocom/gsm/oap_client.h>
#include <osmocom/gsupclient/gsup_client.h>
@@ -25,6 +25,8 @@
struct hostent;
+#define SGSN_ERROR_CAUSE_NONE (-1)
+
enum sgsn_auth_policy {
SGSN_AUTH_POLICY_OPEN,
SGSN_AUTH_POLICY_CLOSED,