Document changes
[infodrom/sysklogd] / module.h
1 /*
2     module.h - Miscellaneous module definitions
3     Copyright (c) 1996 Richard Henderson <rth@tamu.edu>
4     Copyright (c) 2004-7 Martin Schulze <joey@infodrom.org>
5
6     This file is part of the sysklogd package.
7
8     This program is free software; you can redistribute it and/or modify
9     it under the terms of the GNU General Public License as published by
10     the Free Software Foundation; either version 2 of the License, or
11     (at your option) any later version.
12
13     This program is distributed in the hope that it will be useful,
14     but WITHOUT ANY WARRANTY; without even the implied warranty of
15     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16     GNU General Public License for more details.
17
18     You should have received a copy of the GNU General Public License
19     along with this program; if not, write to the Free Software
20     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 */
22
23 /* ChangeLog:
24  *
25  * Wed Mar 31 17:35:01 CEST 2004: Martin Schulze <joey@infodrom.org>
26  *      Created local copy of module.h based on the content of Linux
27  *      2.2 since <linux/module.h> doesn't work anymore with its
28  *      recent content from Linux 2.4/2.6.
29  *
30  * Thu May 25 09:14:33 CEST 2006: Martin Schulze <joey@infodrom.org>
31  *      Removed asm/atomic.h since it is not needed anymore.
32  *
33  * Mon May 28 16:46:59 CEST 2007: Martin Schulze <joey@infodrom.org>
34  *      Removed several structs not used anymore.  Moved structs from
35  *      ksym_mod.c over here.
36  */
37
38 struct sym_table
39 {
40         unsigned long value;
41         char *name;
42 };
43
44 struct Module
45 {
46         struct sym_table *sym_array;
47         int num_syms;
48
49         char *name;
50 };
51