Authors: Jon Griffiths <jon_p_griffiths@yahoo.com>, François Gouget <fgouget@codeweav...
[wine/multimedia.git] / include / options.h
blob00f6a459d594b3ea56c455dc39fbf6e97c3e8b22
1 /*
2 * Command-line options.
4 * Copyright 1994 Alexandre Julliard
5 */
7 #ifndef __WINE_OPTIONS_H
8 #define __WINE_OPTIONS_H
10 #include "windef.h"
12 struct options
14 int managed; /* Managed windows */
17 extern struct options Options;
18 extern const char *argv0;
19 extern const char *full_argv0;
20 extern unsigned int server_startticks;
22 extern void OPTIONS_Usage(void) WINE_NORETURN;
23 extern void OPTIONS_ParseOptions( char *argv[] );
25 /* Profile functions */
27 extern int PROFILE_LoadWineIni(void);
28 extern void PROFILE_UsageWineIni(void);
29 extern int PROFILE_GetWineIniString( const char *section, const char *key_name,
30 const char *def, char *buffer, int len );
31 extern BOOL PROFILE_EnumWineIniString( const char *section, int index,
32 char *name, int name_len, char *buffer, int len );
33 extern int PROFILE_GetWineIniInt( const char *section, const char *key_name, int def );
34 extern int PROFILE_GetWineIniBool( char const *section, char const *key_name, int def );
35 extern char* PROFILE_GetStringItem( char* );
37 /* Version functions */
38 extern void VERSION_ParseWinVersion( const char *arg );
39 extern void VERSION_ParseDosVersion( const char *arg );
41 #endif /* __WINE_OPTIONS_H */