2011-05-25 11:10:08 +00:00
|
|
|
#ifndef _GSM_DATA_SHAREDH
|
|
|
|
#define _GSM_DATA_SHAREDH
|
|
|
|
|
2011-06-09 19:48:49 +00:00
|
|
|
#include <regex.h>
|
2011-05-25 11:10:08 +00:00
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#include <osmocom/core/timer.h>
|
|
|
|
#include <osmocom/core/bitvec.h>
|
|
|
|
#include <osmocom/core/statistics.h>
|
|
|
|
#include <osmocom/core/utils.h>
|
|
|
|
#include <osmocom/gsm/gsm_utils.h>
|
|
|
|
#include <osmocom/gsm/tlv.h>
|
2016-05-11 10:45:13 +00:00
|
|
|
#include <osmocom/gsm/protocol/gsm_04_08.h>
|
2012-12-20 18:03:18 +00:00
|
|
|
|
2017-09-04 13:04:35 +00:00
|
|
|
#include <osmocom/msc/common_cs.h>
|
2016-05-10 11:30:17 +00:00
|
|
|
|
2011-08-15 13:53:00 +00:00
|
|
|
struct osmo_bsc_data;
|
|
|
|
|
2011-05-25 11:10:08 +00:00
|
|
|
struct osmo_bsc_sccp_con;
|
|
|
|
struct gsm_sms_queue;
|
|
|
|
|
|
|
|
/* RRLP mode of operation */
|
|
|
|
enum rrlp_mode {
|
|
|
|
RRLP_MODE_NONE,
|
|
|
|
RRLP_MODE_MS_BASED,
|
|
|
|
RRLP_MODE_MS_PREF,
|
|
|
|
RRLP_MODE_ASS_PREF,
|
|
|
|
};
|
|
|
|
|
|
|
|
enum gsm_hooks {
|
|
|
|
GSM_HOOK_NM_SWLOAD,
|
|
|
|
GSM_HOOK_RR_PAGING,
|
|
|
|
GSM_HOOK_RR_SECURITY,
|
|
|
|
};
|
|
|
|
|
|
|
|
enum gsm_paging_event {
|
|
|
|
GSM_PAGING_SUCCEEDED,
|
|
|
|
GSM_PAGING_EXPIRED,
|
|
|
|
GSM_PAGING_OOM,
|
|
|
|
GSM_PAGING_BUSY,
|
|
|
|
};
|
|
|
|
|
|
|
|
struct gsm_mncc;
|
2011-09-04 11:53:26 +00:00
|
|
|
struct osmo_rtp_socket;
|
2011-05-25 11:10:08 +00:00
|
|
|
struct rtp_socket;
|
|
|
|
struct bsc_api;
|
|
|
|
|
2011-06-09 19:48:49 +00:00
|
|
|
/*
|
|
|
|
* help with parsing regexps
|
|
|
|
*/
|
|
|
|
int gsm_parse_reg(void *ctx, regex_t *reg, char **str,
|
|
|
|
int argc, const char **argv) __attribute__ ((warn_unused_result));
|
|
|
|
|
2011-05-25 11:10:08 +00:00
|
|
|
#endif
|