#ifndef mISDN_CORE_H
#define mISDN_CORE_H
extern struct mISDNdevice *get_mdevice(u_int);
extern int get_mdevice_count(void);
#define mISDN_STACK_ACTION_MASK …
#define mISDN_STACK_COMMAND_MASK …
#define mISDN_STACK_STATUS_MASK …
#define mISDN_STACK_WORK …
#define mISDN_STACK_SETUP …
#define mISDN_STACK_CLEARING …
#define mISDN_STACK_RESTART …
#define mISDN_STACK_WAKEUP …
#define mISDN_STACK_ABORT …
#define mISDN_STACK_STOPPED …
#define mISDN_STACK_INIT …
#define mISDN_STACK_THREADSTART …
#define mISDN_STACK_BCHANNEL …
#define mISDN_STACK_ACTIVE …
#define mISDN_STACK_RUNNING …
#define mISDN_STACK_KILLED …
#define MGR_OPT_USER …
#define MGR_OPT_NETWORK …
extern int connect_Bstack(struct mISDNdevice *, struct mISDNchannel *,
u_int, struct sockaddr_mISDN *);
extern int connect_layer1(struct mISDNdevice *, struct mISDNchannel *,
u_int, struct sockaddr_mISDN *);
extern int create_l2entity(struct mISDNdevice *, struct mISDNchannel *,
u_int, struct sockaddr_mISDN *);
extern int create_stack(struct mISDNdevice *);
extern int create_teimanager(struct mISDNdevice *);
extern void delete_teimanager(struct mISDNchannel *);
extern void delete_channel(struct mISDNchannel *);
extern void delete_stack(struct mISDNdevice *);
extern void mISDN_initstack(u_int *);
extern int misdn_sock_init(u_int *);
extern void misdn_sock_cleanup(void);
extern void add_layer2(struct mISDNchannel *, struct mISDNstack *);
extern void __add_layer2(struct mISDNchannel *, struct mISDNstack *);
extern u_int get_all_Bprotocols(void);
struct Bprotocol *get_Bprotocol4mask(u_int);
struct Bprotocol *get_Bprotocol4id(u_int);
extern int mISDN_inittimer(u_int *);
extern void mISDN_timer_cleanup(void);
extern int Isdnl1_Init(u_int *);
extern void Isdnl1_cleanup(void);
extern int Isdnl2_Init(u_int *);
extern void Isdnl2_cleanup(void);
extern void mISDN_init_clock(u_int *);
#endif