diff options
| author | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2002-09-22 11:55:15 -0500 |
|---|---|---|
| committer | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2002-09-22 11:55:15 -0500 |
| commit | 7e22da6ad5281a47cda7d2644410188c2debb838 (patch) | |
| tree | a28ff06a59ef72bde29b2638d911804d8c175799 /include | |
| parent | 2a002db29abb87fec80e12395817eadf9d61cd3c (diff) | |
ISDN: ISDN_GLOBAL_STOPPED cleanup
ISDN_GLOBAL_STOPPED is a way to globally stop the system
from dialing out / accepting incoming calls. Instead of
spreading checks all over the place, just catch dial
commands / incoming call indications in one place.
Also, kill isdn_net_phone typedef and clean up affected code.
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/isdn.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/linux/isdn.h b/include/linux/isdn.h index d5907b2cd5bc..f1f305fe3954 100644 --- a/include/linux/isdn.h +++ b/include/linux/isdn.h @@ -265,10 +265,10 @@ typedef struct { #define ISDN_NET_MAGIC 0x49344C02 /* for paranoia-checking */ /* Phone-list-element */ -typedef struct { - void *next; - char num[ISDN_MSNLEN]; -} isdn_net_phone; +struct isdn_net_phone { + struct isdn_net_phone *next; + char num[ISDN_MSNLEN]; +}; /* Principles when extending structures for generic encapsulation protocol @@ -334,10 +334,10 @@ typedef struct isdn_net_local_s { ulong sqfull_stamp; /* Start-Time of overload */ ulong slavedelay; /* Dynamic bundling delaytime */ int triggercps; /* BogoCPS needed for trigger slave */ - isdn_net_phone *phone[2]; /* List of remote-phonenumbers */ + struct isdn_net_phone *phone[2]; /* List of remote-phonenumbers */ /* phone[0] = Incoming Numbers */ /* phone[1] = Outgoing Numbers */ - isdn_net_phone *dial; /* Pointer to dialed number */ + struct isdn_net_phone *dial; /* Pointer to dialed number */ struct net_device *master; /* Ptr to Master device for slaves */ struct net_device *slave; /* Ptr to Slave device for masters */ struct isdn_net_local_s *next; /* Ptr to next link in bundle */ |
