blob: c931d4f7bee0f5b5ec43e8f04a3e119953c7791d [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
Neels Hofmeyr0db1d432016-02-22 13:29:09 +010016void e1inp_ipa_set_bind_addr(const char *ip_bind_addr);
17const char *e1inp_ipa_get_bind_addr(void);
18
Holger Hans Peter Freyther9d4fe512013-07-04 19:45:34 +020019/* ipaccess.c requires these functions defined here */
Pablo Neira Ayuso4647cad2011-07-02 17:57:58 +020020struct msgb;
Pablo Neira Ayuso88136fc2011-07-08 16:21:55 +020021struct msgb *ipa_msg_alloc(int headroom);
Pablo Neira Ayuso35809d62011-06-07 18:12:01 +020022
Holger Hans Peter Freyther55467f02011-12-28 19:47:07 +010023/*
24 * helper for internal drivers, not public
25 */
26void e1inp_close_socket(struct e1inp_ts *ts,
27 struct e1inp_sign_link *sign_link,
28 struct osmo_fd *bfd);
29
30
31
Pablo Neira Ayuso0ba77d52011-06-05 18:32:44 +020032#endif