Pablo Neira Ayuso | 0ba77d5 | 2011-06-05 18:32:44 +0200 | [diff] [blame] | 1 | #ifndef _INTERNAL_H_ |
| 2 | #define _INTERNAL_H_ |
| 3 | |
Pablo Neira Ayuso | 88136fc | 2011-07-08 16:21:55 +0200 | [diff] [blame] | 4 | #include <stdint.h> |
| 5 | |
Holger Hans Peter Freyther | 55467f0 | 2011-12-28 19:47:07 +0100 | [diff] [blame] | 6 | struct osmo_fd; |
| 7 | struct e1inp_sign_link; |
| 8 | struct e1inp_ts; |
| 9 | |
Pablo Neira Ayuso | 54b4979 | 2011-06-07 12:15:26 +0200 | [diff] [blame] | 10 | /* talloc context for libosmo-abis. */ |
| 11 | extern void *libosmo_abis_ctx; |
| 12 | |
| 13 | /* use libosmo_abis_init, this is only for internal use. */ |
| 14 | void e1inp_init(void); |
| 15 | |
Holger Hans Peter Freyther | 9d4fe51 | 2013-07-04 19:45:34 +0200 | [diff] [blame] | 16 | /* ipaccess.c requires these functions defined here */ |
Pablo Neira Ayuso | 4647cad | 2011-07-02 17:57:58 +0200 | [diff] [blame] | 17 | struct msgb; |
Pablo Neira Ayuso | 88136fc | 2011-07-08 16:21:55 +0200 | [diff] [blame] | 18 | struct msgb *ipa_msg_alloc(int headroom); |
| 19 | void ipa_msg_push_header(struct msgb *msg, uint8_t proto); |
Pablo Neira Ayuso | 35809d6 | 2011-06-07 18:12:01 +0200 | [diff] [blame] | 20 | |
Holger Hans Peter Freyther | 55467f0 | 2011-12-28 19:47:07 +0100 | [diff] [blame] | 21 | /* |
| 22 | * helper for internal drivers, not public |
| 23 | */ |
| 24 | void e1inp_close_socket(struct e1inp_ts *ts, |
| 25 | struct e1inp_sign_link *sign_link, |
| 26 | struct osmo_fd *bfd); |
| 27 | |
| 28 | |
| 29 | |
Pablo Neira Ayuso | 0ba77d5 | 2011-06-05 18:32:44 +0200 | [diff] [blame] | 30 | #endif |