diff options
| author | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2002-09-27 14:31:10 -0500 |
|---|---|---|
| committer | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2002-09-27 14:31:10 -0500 |
| commit | c25b65feda3b17bca94c103279772196fb262f16 (patch) | |
| tree | af12b528e751aa084e5bbe9843fd39c0c2ccc8e1 /include/linux | |
| parent | 8dd4eb5c22a8c7396f7966ab2fb20ded2cf1745b (diff) | |
ISDN: Use a function pointer for type-specific disconnected() callback
Again, instead of a switch statement, just use a callback.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/isdn.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/isdn.h b/include/linux/isdn.h index e1fe212167d9..71da0e809034 100644 --- a/include/linux/isdn.h +++ b/include/linux/isdn.h @@ -375,6 +375,7 @@ typedef struct isdn_net_local_s { struct isdn_net_local_s *olp, struct sk_buff *skb); void (*connected)(struct isdn_net_local_s *lp); + void (*disconnected)(struct isdn_net_local_s *lp); } isdn_net_local; /* the interface itself */ |
