FreeCalypso > hg > themwi-interim
comparison mncc/struct.h @ 2:053f04687106
mncc: initial import from old ThemWi
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 08 Jun 2024 23:12:12 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1:b161dbfffdaa | 2:053f04687106 |
---|---|
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 */ |