Mostly cosmetic updates

This commit is contained in:
Martin Lund 2022-03-11 15:01:40 +01:00
parent ea0dd3e602
commit a2b164519f
8 changed files with 130 additions and 86 deletions

View file

@ -1,42 +0,0 @@
/*
* tio - a simple TTY terminal I/O application
*
* Copyright (c) 2020 Liam Beguin
*
* This program 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 2
* of the License, or (at your option) any later version.
*
* This program 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 this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301, USA.
*/
#ifndef CONFFILE_H
#define CONFFILE_H
struct conf_data {
const char *user;
char *path;
char *section_name;
char *match;
char *tty;
char *flow;
char *parity;
char *log_filename;
char *map;
};
void conf_parse_file(const int argc, char *argv[]);
void conf_exit(void);
#endif /* CONFFILE_H */