blob: 7f6e31a9009b3739f4aa2e67c29779ac6d767500 [file] [log] [blame]
Pablo Neira Ayuso0ba77d52011-06-05 18:32:44 +02001#ifndef _INTERNAL_H_
2#define _INTERNAL_H_
3
Pablo Neira Ayuso88136fc2011-07-08 16:21:55 +02004#include <stdint.h>
5
Holger Hans Peter Freyther55467f02011-12-28 19:47:07 +01006struct osmo_fd;
7struct e1inp_sign_link;
8struct e1inp_ts;
9
Pablo Neira Ayuso54b49792011-06-07 12:15:26 +020010/* talloc context for libosmo-abis. */
11extern void *libosmo_abis_ctx;
12
13/* use libosmo_abis_init, this is only for internal use. */
14void e1inp_init(void);
15
Holger Hans Peter Freyther9d4fe512013-07-04 19:45:34 +020016/* ipaccess.c requires these functions defined here */
Pablo Neira Ayuso4647cad2011-07-02 17:57:58 +020017struct msgb;
Pablo Neira Ayuso88136fc2011-07-08 16:21:55 +020018struct msgb *ipa_msg_alloc(int headroom);
Pablo Neira Ayuso35809d62011-06-07 18:12:01 +020019
Holger Hans Peter Freyther55467f02011-12-28 19:47:07 +010020/*
21 * helper for internal drivers, not public
22 */
23void e1inp_close_socket(struct e1inp_ts *ts,
24 struct e1inp_sign_link *sign_link,
25 struct osmo_fd *bfd);
26
27
28
Pablo Neira Ayuso0ba77d52011-06-05 18:32:44 +020029#endif