aboutsummaryrefslogtreecommitdiffstats
path: root/net/atm/resources.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
commit1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch)
tree0bba044c4ce775e45a88a51686b5d9f90697ea9d /net/atm/resources.h
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
Diffstat (limited to 'net/atm/resources.h')
-rw-r--r--net/atm/resources.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/net/atm/resources.h b/net/atm/resources.h
new file mode 100644
index 000000000000..12910619dbb6
--- /dev/null
+++ b/net/atm/resources.h
@@ -0,0 +1,46 @@
1/* net/atm/resources.h - ATM-related resources */
2
3/* Written 1995-1998 by Werner Almesberger, EPFL LRC/ICA */
4
5
6#ifndef NET_ATM_RESOURCES_H
7#define NET_ATM_RESOURCES_H
8
9#include <linux/config.h>
10#include <linux/atmdev.h>
11
12
13extern struct list_head atm_devs;
14extern spinlock_t atm_dev_lock;
15
16
17int atm_dev_ioctl(unsigned int cmd, void __user *arg);
18
19
20#ifdef CONFIG_PROC_FS
21
22#include <linux/proc_fs.h>
23
24void *atm_dev_seq_start(struct seq_file *seq, loff_t *pos);
25void atm_dev_seq_stop(struct seq_file *seq, void *v);
26void *atm_dev_seq_next(struct seq_file *seq, void *v, loff_t *pos);
27
28
29int atm_proc_dev_register(struct atm_dev *dev);
30void atm_proc_dev_deregister(struct atm_dev *dev);
31
32#else
33
34static inline int atm_proc_dev_register(struct atm_dev *dev)
35{
36 return 0;
37}
38
39static inline void atm_proc_dev_deregister(struct atm_dev *dev)
40{
41 /* nothing */
42}
43
44#endif /* CONFIG_PROC_FS */
45
46#endif