summaryrefslogtreecommitdiff
path: root/src/timesync/timesyncd-conf.h
blob: 03f4ca46cbd5e154d291cd09f66e37cea35a2378 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once

/***
  Copyright © 2014 Kay Sievers
***/

#include "conf-parser.h"
#include "timesyncd-manager.h"

const struct ConfigPerfItem* timesyncd_gperf_lookup(const char *key, GPERF_LEN_TYPE length);

int manager_parse_server_string(Manager *m, ServerType type, const char *string);

CONFIG_PARSER_PROTOTYPE(config_parse_servers);

int manager_parse_config_file(Manager *m);
int manager_parse_fallback_string(Manager *m, const char *string);