Debian Codegraph @

ifconfig/system/hurd.h

raw
1 /*
2 Copyright (C) 2015-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 Mats Erik Andersson. */
20
21 #ifndef IFCONFIG_SYSTEM_HURD_H
22 # define IFCONFIG_SYSTEM_HURD_H
23
24 # include "../printif.h"
25 # include "../options.h"
26
27
28 /* Option support. */
29
30 struct system_ifconfig
31 {
32 int valid;
33 };
34
35
36 /* Output format support. */
37
38 # define SYSTEM_FORMAT_HANDLER \
39 { "hurd", fh_nothing}, \
40 { "hwaddr?", system_fh_hwaddr_query}, \
41 { "hwaddr", system_fh_hwaddr}, \
42 { "hwtype?", system_fh_hwtype_query}, \
43 { "hwtype", system_fh_hwtype},
44
45 void system_fh_hwaddr_query (format_data_t form, int argc, char *argv[]);
46 void system_fh_hwaddr (format_data_t form, int argc, char *argv[]);
47 void system_fh_hwtype_query (format_data_t form, int argc, char *argv[]);
48 void system_fh_hwtype (format_data_t form, int argc, char *argv[]);
49
50 #endif /* !IFCONFIG_SYSTEM_HURD_H */