Staging: android: remove dummy android.c driver
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / net / wext.h
blob6d76a39a9c5b4cdf08842fd6e46c482afbfe72f3
1 #ifndef __NET_WEXT_H
2 #define __NET_WEXT_H
4 /*
5 * wireless extensions interface to the core code
6 */
8 struct net;
10 #ifdef CONFIG_WIRELESS_EXT
11 extern int wext_proc_init(struct net *net);
12 extern void wext_proc_exit(struct net *net);
13 extern int wext_handle_ioctl(struct net *net, struct ifreq *ifr, unsigned int cmd,
14 void __user *arg);
15 extern int compat_wext_handle_ioctl(struct net *net, unsigned int cmd,
16 unsigned long arg);
17 #else
18 static inline int wext_proc_init(struct net *net)
20 return 0;
22 static inline void wext_proc_exit(struct net *net)
24 return;
26 static inline int wext_handle_ioctl(struct net *net, struct ifreq *ifr, unsigned int cmd,
27 void __user *arg)
29 return -EINVAL;
31 static inline int compat_wext_handle_ioctl(struct net *net, unsigned int cmd,
32 unsigned long arg)
34 return -EINVAL;
36 #endif
38 #endif /* __NET_WEXT_H */