2
* options.h - Defines possible command line options
4
* Copyright (C) 2003 Brailcom, o.p.s.
6
* This is free software; you can redistribute it and/or modify it
7
* under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2, or (at your option)
11
* This software is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
* General Public License for more details.
16
* You should have received a copy of the GNU General Public License
17
* along with this package; see the file COPYING. If not, write to
18
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19
* Boston, MA 02110-1301, USA.
21
* $Id: options.h,v 1.10 2006-07-11 16:12:27 hanke Exp $
33
char *punctuation_mode;
42
char *application_name;
43
char *connection_name;
45
static struct option long_options[] = {
48
{"volume", 1, 0, 'i'},
49
{"output-module", 1, 0, 'o'},
50
{"language", 1, 0, 'l'},
51
{"voice-type", 1, 0, 't'},
52
{"punctuation-mode", 1, 0, 'm'},
53
{"spelling", 0, 0, 's'},
55
{"pipe-mode", 0, 0, 'e'},
56
{"priority", 1, 0, 'P'},
57
{"application-name", 1, 0, 'N'},
58
{"connection-name", 1, 0, 'n'},
61
{"cancel", 1, 0, 'C'},
62
{"version", 0, 0, 'v'},
67
static char* short_options = "r:p:i:l:o:t:m:sxeP:N:n:wSCvh";
69
int options_parse(int argc, char *argv[]);
70
void options_print_version();
71
void options_print_help(char *argv[]);