Fixed some winehq.com URLs.
[wine/multimedia.git] / include / options.h
blob88e543d9f2763e944860f96ea0ab4b67dad9503d
1 /*
2 * Command-line options.
4 * Copyright 1994 Alexandre Julliard
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library 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 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 #ifndef __WINE_OPTIONS_H
22 #define __WINE_OPTIONS_H
24 #include "windef.h"
26 struct options
28 int managed; /* Managed windows */
31 extern struct options Options;
32 extern const char *argv0;
33 extern const char *full_argv0;
34 extern unsigned int server_startticks;
36 extern void OPTIONS_Usage(void) WINE_NORETURN;
37 extern void OPTIONS_ParseOptions( char *argv[] );
39 /* Profile functions */
41 extern int PROFILE_LoadWineIni(void);
42 extern void PROFILE_UsageWineIni(void);
43 extern int PROFILE_GetWineIniString( const char *section, const char *key_name,
44 const char *def, char *buffer, int len );
45 extern BOOL PROFILE_EnumWineIniString( const char *section, int index,
46 char *name, int name_len, char *buffer, int len );
47 extern int PROFILE_GetWineIniInt( const char *section, const char *key_name, int def );
48 extern int PROFILE_GetWineIniBool( char const *section, char const *key_name, int def );
49 extern char* PROFILE_GetStringItem( char* );
51 /* Version functions */
52 extern void VERSION_ParseWinVersion( const char *arg );
53 extern void VERSION_ParseDosVersion( const char *arg );
55 #endif /* __WINE_OPTIONS_H */