X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fshared%2Fconf-parser.h;h=56ffc2f8a8a21378c98031769f37b92685304b48;hp=d37029f083f1644fb60d388266b2158d29bc8b5b;hb=96342de68d0d6de71a062d984dafd2a0905ed9fe;hpb=5430f7f2bc7330f3088b894166bf3524a067e3d8 diff --git a/src/shared/conf-parser.h b/src/shared/conf-parser.h index d37029f08..56ffc2f8a 100644 --- a/src/shared/conf-parser.h +++ b/src/shared/conf-parser.h @@ -1,7 +1,6 @@ /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ -#ifndef fooconfparserhfoo -#define fooconfparserhfoo +#pragma once /*** This file is part of systemd. @@ -102,7 +101,11 @@ int config_parse_path(const char *filename, unsigned line, const char *section, int config_parse_strv(const char *filename, unsigned line, const char *section, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_path_strv(const char *filename, unsigned line, const char *section, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_usec(const char *filename, unsigned line, const char *section, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); +int config_parse_nsec(const char *filename, unsigned line, const char *section, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_mode(const char *filename, unsigned line, const char *section, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); +int config_parse_facility(const char *filename, unsigned line, const char *section, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); +int config_parse_level(const char *filename, unsigned line, const char *section, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); +int config_parse_set_status(const char *filename, unsigned line, const char *section, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); #define DEFINE_CONFIG_PARSE_ENUM(function,name,type,msg) \ int function( \ @@ -131,5 +134,3 @@ int config_parse_mode(const char *filename, unsigned line, const char *section, \ return 0; \ } - -#endif