release: bump the release to 3.14
[module-init-tools.git] / depmod.h
blobc3f08d1525758222889b0df426a669c04e11cb8d
1 /*
2 * depmod.h - prototypes for the depmod utility
3 */
5 #ifndef MODINITTOOLS_DEPMOD_H
6 #define MODINITTOOLS_DEPMOD_H
7 #include "list.h"
8 #include "elfops.h"
10 struct module;
12 /* This is not the same as the module struct in the kernel built .ko files */
13 struct module
15 /* Next module in list of all modules */
16 struct module *next;
18 /* Dependencies: filled in by ops->calculate_deps() */
19 unsigned int num_deps;
20 struct module **deps;
22 /* Set while we are traversing dependencies */
23 struct list_head dep_list;
25 /* Line number in modules.order (or INDEX_PRIORITY_MIN) */
26 unsigned int order;
28 /* Tables extracted from module by ops->fetch_tables(). */
29 struct module_tables tables;
31 /* Module operations, endian conversion required, etc. */
32 struct elf_file *file;
34 char *basename; /* points into pathname */
35 char pathname[0];
38 #endif /* MODINITTOOLS_DEPMOD_H */