tests: remove depmod --unknown option test
[mit.git] / depmod.h
blobd6d61f6e69984e3d92181f3c0d9d323cc443733a
1 #ifndef MODINITTOOLS_DEPMOD_H
2 #define MODINITTOOLS_DEPMOD_H
3 #include "list.h"
4 #include "elfops.h"
6 struct module;
8 struct module
10 /* Next module in list of all modules */
11 struct module *next;
13 /* Dependencies: filled in by ops->calculate_deps() */
14 unsigned int num_deps;
15 struct module **deps;
17 /* Set while we are traversing dependencies */
18 struct list_head dep_list;
20 /* Line number in modules.order (or INDEX_PRIORITY_MIN) */
21 unsigned int order;
23 /* Tables extracted from module by ops->fetch_tables(). */
24 struct module_tables tables;
26 struct elf_file *file;
28 char *basename; /* points into pathname */
29 char pathname[0];
32 #endif /* MODINITTOOLS_DEPMOD_H */