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