added ctrl.h for central managing the global mISDN_ctrl function

This commit is contained in:
Chrisian Richter 2006-03-23 12:31:17 +00:00
parent 84beff43b5
commit 6c0f392d36
29 changed files with 42 additions and 0 deletions

View File

@ -6,6 +6,7 @@
#include "helper.h"
#include "debug.h"
#include "dss1.h"
#include "ctrl.h"
#define AppPlciDebug(aplci, lev, fmt, args...) \
capidebug(lev, fmt, ## args)

View File

@ -21,6 +21,7 @@
#include "isac.h"
#include "layer1.h"
#include "debug.h"
#include "ctrl.h"
static const char *avm_fritz_rev = "$Revision$";

View File

@ -6,6 +6,7 @@
#include "m_capi.h"
#include "helper.h"
#include "debug.h"
#include "ctrl.h"
static char *capi_revision = "$Revision$";

View File

@ -7,6 +7,7 @@
#include "m_capi.h"
#include "helper.h"
#include "debug.h"
#include "ctrl.h"
#define contrDebug(contr, lev, fmt, args...) \
if (contr->debug & lev) capidebug(lev, fmt, ## args)

View File

@ -12,6 +12,7 @@
#include <linux/module.h>
#include <linux/spinlock.h>
#include "core.h"
#include "ctrl.h"
#ifdef CONFIG_KMOD
#include <linux/kmod.h>
#endif
@ -714,3 +715,5 @@ module_exit(mISDN_cleanup);
EXPORT_SYMBOL(mISDN_register);
EXPORT_SYMBOL(mISDN_unregister);
EXPORT_SYMBOL(mISDN_ctrl);

View File

@ -84,3 +84,4 @@ extern mISDNobject_t *get_object(int);
extern mISDNinstance_t *get_instance4id(u_int);
extern int mISDN_alloc_entity(int *);
extern int mISDN_delete_entity(int);

View File

@ -0,0 +1,8 @@
#ifndef MISDN_CTRL_H
#define MISDN_CTRL_H
extern int mISDN_ctrl(void *data, u_int prim, void *arg);
#endif

View File

@ -11,6 +11,7 @@
#include <linux/kernel.h>
#include <linux/string.h>
#include "debug.h"
#include "ctrl.h"
#define mISDN_STATUS_BUFSIZE 4096

View File

@ -179,6 +179,7 @@ const char *dsp_revision = "$Revision$";
#include "helper.h"
#include "debug.h"
#include "dsp.h"
#include "ctrl.h"
static char DSPName[] = "DSP";
mISDNobject_t dsp_obj;

View File

@ -20,6 +20,7 @@
#include "layer1.h"
#include "helper.h"
#include "debug.h"
#include "ctrl.h"
#define DTMF_NPOINTS 205 /* Number of samples for DTMF recognition */

View File

@ -17,6 +17,7 @@
#include "m_capi.h"
#include "helper.h"
#include "debug.h"
#include "ctrl.h"
static int ttt=180;

View File

@ -101,6 +101,8 @@
#include "layer1.h"
#include "dsp.h"
#include "debug.h"
#include "ctrl.h"
#include <linux/isdn_compat.h>
#warning

View File

@ -34,6 +34,8 @@
#include "hfc_pci.h"
#include "layer1.h"
#include "debug.h"
#include "ctrl.h"
#include <linux/isdn_compat.h>
#define HFC_INFO(txt) printk(KERN_DEBUG txt)

View File

@ -55,6 +55,7 @@
#include <asm/timex.h>
#include "layer1.h"
#include "debug.h"
#include "ctrl.h"
#include "hfcs_mini.h"
#include "hfcsmcc.h"

View File

@ -35,6 +35,7 @@
#include "channel.h"
#include "layer1.h"
#include "debug.h"
#include "ctrl.h"
#include "hfcs_usb.h"

View File

@ -20,6 +20,7 @@
#include "helper.h"
#include "dss1.h"
#include "debug.h"
#include "ctrl.h"
static char *i4lcapi_revision = "$Revision$";

View File

@ -216,6 +216,8 @@ announced.
#include "layer1.h"
#include "dsp.h"
#include "debug.h"
#include "ctrl.h"
#include <linux/isdn_compat.h>
#include "l1oip.h"

View File

@ -19,6 +19,7 @@
#include "helper.h"
#include "debug.h"
#include "dss1.h"
#include "ctrl.h"
static int debug = 0;
static mISDNobject_t u_dss1;

View File

@ -15,6 +15,7 @@ static char *l1_revision = "$Revision$";
#include "layer1.h"
#include "helper.h"
#include "debug.h"
#include "ctrl.h"
typedef struct _layer1 {
struct list_head list;

View File

@ -9,6 +9,7 @@
#include "layer2.h"
#include "helper.h"
#include "debug.h"
#include "ctrl.h"
static char *l2_revision = "$Revision$";

View File

@ -12,6 +12,7 @@
*/
#include "layer3.h"
#include "helper.h"
#include "ctrl.h"
const char *l3_revision = "$Revision$";

View File

@ -32,6 +32,7 @@
#include "channel.h"
#include "layer1.h"
#include "debug.h"
#include "ctrl.h"
#include <linux/isdn_compat.h>
#include "loop.h"

View File

@ -42,6 +42,7 @@
#include "layer1.h"
#include "helper.h"
#include "debug.h"
#include "ctrl.h"
extern const char *CardType[];

View File

@ -7,6 +7,7 @@
*/
#include "core.h"
#include "ctrl.h"
static LIST_HEAD(mISDN_stacklist);
static rwlock_t stacklist_lock = RW_LOCK_UNLOCKED;

View File

@ -10,6 +10,7 @@
#include "layer2.h"
#include "helper.h"
#include "debug.h"
#include "ctrl.h"
#include <linux/random.h>
const char *tei_revision = "$Revision$";

View File

@ -12,6 +12,7 @@
#include <linux/timer.h>
#include <linux/devfs_fs_kernel.h>
#include "core.h"
#include "ctrl.h"
#define MAX_HEADER_LEN 4

View File

@ -31,6 +31,7 @@
#include "helper.h"
#include "debug.h"
#include "w6692.h"
#include "ctrl.h"
#include <linux/isdn_compat.h>

View File

@ -17,6 +17,7 @@
#include "x25_l3.h"
#include "helper.h"
#include "debug.h"
#include "ctrl.h"
/* LinkLayer (L2) maintained by L3 statemachine */

View File

@ -58,6 +58,8 @@
#include <asm/timex.h>
#include "helper.h"
#include "debug.h"
#include "ctrl.h"
#include "xhfc_su.h"
#include "xhfc24succ.h"