Debian Codegraph @

ifconfig/system/generic.h

raw
1 /*
2 Copyright (C) 2001-2026 Free Software Foundation, Inc.
3
4 This file is part of GNU Inetutils.
5
6 GNU Inetutils is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or (at
9 your option) any later version.
10
11 GNU Inetutils is distributed in the hope that it will be useful, but
12 WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see `http://www.gnu.org/licenses/'. */
18
19 /* Written by Marcus Brinkmann. */
20
21 #ifndef IFCONFIG_SYSTEM_GENERIC_H
22 # define IFCONFIG_SYSTEM_GENERIC_H
23
24
25 /* Option support. */
26
27 # undef SYSTEM_SHORT_OPTIONS
28 # undef SYSTEM_LONG_OPTIONS
29
30 struct system_ifconfig
31 {
32 int valid;
33 };
34
35
36 /* Output format support. */
37
38 /* Set this to a comma separated, comma terminated list of struct
39 format_handler entries. They are inserted at the beginning of the
40 default list, so they override generic implementations if they have
41 the same name. For example:
42 #define SYSTEM_FORMAT_HANDLER { "foobar", system_fh_nothing }, \
43 { "newline", system_fh_newline },
44 Define some architecture symbol like "foobar", so it can be tested
45 for in generic format strings with ${exists?}{foobar?}. */
46 # undef SYSTEM_FORMAT_HANDLER
47
48 /* Prototype system_fh_* functions here.
49 void system_fh_newline (format_data_t, int, char **);
50 */
51
52 #endif