💾 Archived View for gemini.thededem.de › lc19 › src › include › conf.h captured on 2021-12-03 at 14:04:38.
-=-=-=-=-=-=-
/* Copyright 2020, 2021 Lukas Wedeking * * This file is part of LC19. * * LC19 is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * LC19 is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with LC19. If not, see <https://www.gnu.org/licenses/>. */ #ifndef GEMINI_SERVER_CONF_H #define GEMINI_SERVER_CONF_H #include<stddef.h> struct Configuration { char *data_dir; size_t file_chunk_size; char *mimedb; }; enum Loglevel { LOGLEVEL_ERROR = 1 << 0, LOGLEVEL_INFO = 1 << 1, LOGLEVEL_DEBUG = 1 << 2, }; void conf_init(int argc, char *argv[]); #endif