aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/sgsn.h
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/include/openbsc/sgsn.h')
-rw-r--r--openbsc/include/openbsc/sgsn.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/sgsn.h b/openbsc/include/openbsc/sgsn.h
index 7d3a68c43..0f9a59f25 100644
--- a/openbsc/include/openbsc/sgsn.h
+++ b/openbsc/include/openbsc/sgsn.h
@@ -16,6 +16,11 @@ enum sgsn_auth_policy {
SGSN_AUTH_POLICY_REMOTE
};
+struct sgsn_cdr {
+ char *filename;
+ int interval;
+};
+
struct sgsn_config {
/* parsed from config file */
@@ -33,6 +38,9 @@ struct sgsn_config {
int require_authentication;
int require_update_location;
+
+ /* CDR configuration */
+ struct sgsn_cdr cdr;
};
struct sgsn_instance {
@@ -85,4 +93,10 @@ int sndcp_unitdata_req(struct msgb *msg, struct gprs_llc_lle *lle, uint8_t nsapi
int sndcp_llunitdata_ind(struct msgb *msg, struct gprs_llc_lle *lle,
uint8_t *hdr, uint16_t len);
+
+/*
+ * CDR related functionality
+ */
+int sgsn_cdr_init(struct sgsn_instance *sgsn);
+
#endif