2019-10-13 12:07:38 +02:00
|
|
|
/*-
|
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
*
|
2018-08-05 18:54:27 +02:00
|
|
|
* module.h - Miscellaneous module definitions
|
|
|
|
* Copyright (c) 1996 Richard Henderson <rth@tamu.edu>
|
|
|
|
* Copyright (c) 2004-7 Martin Schulze <joey@infodrom.org>
|
|
|
|
*
|
|
|
|
* This file is part of the sysklogd package.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
2019-10-13 11:54:34 +02:00
|
|
|
* along with this file; see the file COPYING. If not, write to the
|
|
|
|
* Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston,
|
|
|
|
* MA 02110-1301, USA.
|
2018-08-05 18:54:27 +02:00
|
|
|
*/
|
2004-03-31 15:47:08 +00:00
|
|
|
|
|
|
|
/* ChangeLog:
|
|
|
|
*
|
|
|
|
* Wed Mar 31 17:35:01 CEST 2004: Martin Schulze <joey@infodrom.org>
|
|
|
|
* Created local copy of module.h based on the content of Linux
|
|
|
|
* 2.2 since <linux/module.h> doesn't work anymore with its
|
|
|
|
* recent content from Linux 2.4/2.6.
|
2007-05-24 14:46:45 +00:00
|
|
|
*
|
2006-05-25 07:15:57 +00:00
|
|
|
* Thu May 25 09:14:33 CEST 2006: Martin Schulze <joey@infodrom.org>
|
|
|
|
* Removed asm/atomic.h since it is not needed anymore.
|
2007-05-28 15:24:57 +00:00
|
|
|
*
|
|
|
|
* Mon May 28 16:46:59 CEST 2007: Martin Schulze <joey@infodrom.org>
|
|
|
|
* Removed several structs not used anymore. Moved structs from
|
|
|
|
* ksym_mod.c over here.
|
2004-03-31 15:47:08 +00:00
|
|
|
*/
|
|
|
|
|
2018-08-05 18:54:27 +02:00
|
|
|
struct sym_table {
|
|
|
|
unsigned long value;
|
|
|
|
char *name;
|
2004-03-31 15:47:08 +00:00
|
|
|
};
|
|
|
|
|
2018-08-05 18:54:27 +02:00
|
|
|
struct Module {
|
2007-05-28 15:24:57 +00:00
|
|
|
struct sym_table *sym_array;
|
2018-08-05 18:54:27 +02:00
|
|
|
int num_syms;
|
2004-03-31 15:47:08 +00:00
|
|
|
|
2018-08-05 18:54:27 +02:00
|
|
|
char *name;
|
2004-03-31 15:47:08 +00:00
|
|
|
};
|
2007-05-25 18:01:26 +00:00
|
|
|
|