FreeCalypso > hg > themwi-system-sw
comparison mncc/struct.h @ 15:ccc5ab6d8388
first version of themwi-mncc for ThemWi2
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 26 Jun 2022 16:31:47 -0800 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
14:aea422af79dd | 15:ccc5ab6d8388 |
---|---|
1 /* | |
2 * This header file defines internal data structures | |
3 * for ThemWi MNCC daemon, talking to OsmoMSC. | |
4 */ | |
5 | |
6 #ifndef __STRUCT_H | |
7 #define __STRUCT_H | |
8 | |
9 struct socket_conn { | |
10 int fd; | |
11 unsigned ncalls; | |
12 struct socket_conn *next; | |
13 }; | |
14 | |
15 /* GSM call leg on MNCC-MSC side, either MO or MT */ | |
16 struct gsm_call { | |
17 /* always present */ | |
18 uint32_t callref; | |
19 /* only for internal switching */ | |
20 struct gsm_call *other_leg; | |
21 /* only for external calls */ | |
22 struct socket_conn *socket; | |
23 uint32_t socket_ref; | |
24 /* linked list management */ | |
25 int gc_flag; | |
26 struct gsm_call *next; | |
27 }; | |
28 | |
29 #endif /* include guard */ |