blob: ddb2ae2c2fb36d3d502960730d73c0e533246fab [file] [log] [blame]
#ifndef _INTERNAL_H_
#define _INTERNAL_H_
#include <stdint.h>
struct osmo_fd;
struct e1inp_sign_link;
struct e1inp_ts;
/* talloc context for libosmo-abis. */
extern void *libosmo_abis_ctx;
/* use libosmo_abis_init, this is only for internal use. */
void e1inp_init(void);
/* hsl requires these functions defined in ipaccess driver. */
struct msgb;
void ipaccess_prepend_header(struct msgb *msg, int proto);
struct msgb *ipa_msg_alloc(int headroom);
void ipa_msg_push_header(struct msgb *msg, uint8_t proto);
/*
* helper for internal drivers, not public
*/
void e1inp_close_socket(struct e1inp_ts *ts,
struct e1inp_sign_link *sign_link,
struct osmo_fd *bfd);
#endif