]> jfr.im git - irc/thales.git/blob - src/cmd.h
8e146bad2366be4c557d1c45df4bda5b3833e8ae
[irc/thales.git] / src / cmd.h
1 /* Command line parsing program of GNU Thales. Copyright (C)
2 2012 Free Software Foundation, Inc. This file is part of GNU Thales.
3
4 GNU Thales is free software; you can redistribute it and/or modify it under the
5 terms of the GNU General Public License as published by the Free Software
6 Foundation; either version 3 of the License, or (at your option) any later
7 version.
8
9 GNU Make is distributed in the hope that it will be useful, but
10 WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 General Public License for more details.
13
14 You should have received a copy of the GNU General Public License along with
15 this program. If not, see <http://www.gnu.org/licenses/>. */
16
17 #ifndef CMD_H
18 #define CMD_H
19 struct cmd_options {
20 const char *conf_filename;
21 int debug;
22 };
23 void parse_cmdopts(struct cmd_options *opts, int argc, char **argv);
24
25 #endif