]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/network/networkd-conf.h
udev: add ID_INPUT_SWITCH for devices with switch capability (#5057)
[thirdparty/systemd.git] / src / network / networkd-conf.h
CommitLineData
413708d1
VK
1#pragma once
2
3/***
4 This file is part of systemd.
5
6 Copyright 2014 Vinay Kulkarni <kulkarniv@vmware.com>
7
8 systemd is free software; you can redistribute it and/or modify it
9 under the terms of the GNU Lesser General Public License as published by
10 the Free Software Foundation; either version 2.1 of the License, or
11 (at your option) any later version.
12
13 systemd is distributed in the hope that it will be useful, but
14 WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 Lesser General Public License for more details.
17
18 You should have received a copy of the GNU Lesser General Public License
19 along with systemd; If not, see <http://www.gnu.org/licenses/>.
20***/
21
23f53b99 22typedef struct Manager Manager;
413708d1 23
413708d1
VK
24int manager_parse_config_file(Manager *m);
25
26const struct ConfigPerfItem* networkd_gperf_lookup(const char *key, unsigned length);
27
8341a5c3
ZJS
28int config_parse_duid_type(
29 const char *unit,
30 const char *filename,
31 unsigned line,
32 const char *section,
33 unsigned section_line,
34 const char *lvalue,
35 int ltype,
36 const char *rvalue,
37 void *data,
38 void *userdata);
39int config_parse_duid_rawdata(
40 const char *unit,
41 const char *filename,
42 unsigned line,
43 const char *section,
44 unsigned section_line,
45 const char *lvalue,
46 int ltype,
47 const char *rvalue,
48 void *data,
49 void *userdata);