/[LeafOK_CVS]/pvpgn-1.7.4/src/d2dbs/cmdline_parse.h
ViewVC logotype

Annotation of /pvpgn-1.7.4/src/d2dbs/cmdline_parse.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (hide annotations) (vendor branch)
Tue Jun 6 03:41:38 2006 UTC (19 years, 9 months ago) by sysadm
Branch: GNU, MAIN
CVS Tags: arelease, HEAD
Changes since 1.1: +0 -0 lines
Content type: text/x-chdr
no message

1 sysadm 1.1 /*
2     * Copyright (C) 2000,2001 Onlyer (onlyer@263.net)
3     * Copyright (C) 2001 sousou (liupeng.cs@263.net)
4     *
5     * This program is free software; you can redistribute it and/or
6     * modify it under the terms of the GNU General Public License
7     * as published by the Free Software Foundation; either version 2
8     * of the License, or (at your option) any later version.
9     *
10     * This program is distributed in the hope that it will be useful,
11     * but WITHOUT ANY WARRANTY; without even the implied warranty of
12     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13     * GNU General Public License for more details.
14     *
15     * You should have received a copy of the GNU General Public License
16     * along with this program; if not, write to the Free Software
17     * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18     */
19     #ifndef INCLUDED_CMDLINE_PARSE_H
20     #define INCLUDED_CMDLINE_PARSE_H
21    
22     typedef struct
23     {
24     char const * prefs_file;
25     char const * logfile;
26     unsigned int foreground;
27     unsigned int help;
28     unsigned int version;
29     unsigned int debugmode;
30     unsigned int run_as_service;
31     char const * make_service;
32     } t_param;
33    
34     extern int d2dbs_cmdline_parse(int argc, char ** argv);
35     extern int d2dbs_cmdline_cleanup(void);
36     extern void d2dbs_cmdline_show_help(void);
37     extern void d2dbs_cmdline_show_version(void);
38     extern char const * d2dbs_cmdline_get_prefs_file(void);
39     extern char const * d2dbs_cmdline_get_logfile(void);
40     extern unsigned int d2dbs_cmdline_get_version(void);
41     extern unsigned int d2dbs_cmdline_get_help(void);
42     extern unsigned int d2dbs_cmdline_get_foreground(void);
43     extern unsigned int d2dbs_cmdline_get_debugmode(void);
44     #ifdef WIN32
45     extern unsigned int d2dbs_cmdline_get_run_as_service(void);
46     extern char const * d2dbs_cmdline_get_make_service(void);
47     #endif
48    
49     #endif

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1