]>
jfr.im git - irc/thales.git/blob - src/cmd.h
d312b37a646366863d47343a43eef3bfdce5b563
1 /* Command line parsing program of GNU Thales. Copyright (C)
2 2012 Free Software Foundation, Inc. This file is part of GNU Thales.
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
9 GNU Thales 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.
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/>. */
25 struct mysql_options
{
30 unsigned short int port
;
33 FILE* default_config_file(void);
34 void parse_cmd_options(struct irc_options
*opts
, int argc
, char **argv
);
35 void parse_mysql_options(struct mysql_options
*opts
, FILE *stream
);