aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/gsm_ussd_map_proto.h
blob: 7faa5b85f7e110f7892cf0f1a0372e1fc869ec1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef _GSM_USSD_MAP_PROTO_H
#define _GSM_USSD_MAP_PROTO_H

#include <osmocom/gsm/gsm0480.h>


enum {
    FMAP_MSISDN        = 0x80
};

int subscr_uss_message(struct msgb *msg,
		       struct ss_header *req,
		       const char* extension,
		       uint32_t ref,
		       const uint8_t *component_data);

int rx_uss_message_parse(const uint8_t* data,
			 size_t len,
			 struct ss_header *ss,
			 uint32_t *ref,
			 char* extention,
			 size_t extention_len);


#endif /* _GSM_USSD_MAP_PROTO_H */