Alexandre Julliard | 86a8d0f | 1994-01-18 23:04:40 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Command-line options. |
| 3 | * |
| 4 | * Copyright 1994 Alexandre Julliard |
| 5 | */ |
| 6 | |
Alexandre Julliard | c6c0944 | 1997-01-12 18:32:19 +0000 | [diff] [blame] | 7 | #ifndef __WINE_OPTIONS_H |
| 8 | #define __WINE_OPTIONS_H |
Alexandre Julliard | 86a8d0f | 1994-01-18 23:04:40 +0000 | [diff] [blame] | 9 | |
Jim Aston | 2e1cafa | 1999-03-14 16:35:05 +0000 | [diff] [blame] | 10 | #include "windef.h" |
Alexandre Julliard | 1e37a18 | 1996-08-18 16:21:52 +0000 | [diff] [blame] | 11 | |
Alexandre Julliard | 86a8d0f | 1994-01-18 23:04:40 +0000 | [diff] [blame] | 12 | struct options |
| 13 | { |
Alexandre Julliard | d471965 | 1995-12-12 18:49:11 +0000 | [diff] [blame] | 14 | int managed; /* Managed windows */ |
Alexandre Julliard | 86a8d0f | 1994-01-18 23:04:40 +0000 | [diff] [blame] | 15 | }; |
| 16 | |
| 17 | extern struct options Options; |
Alexandre Julliard | eafa391 | 2000-01-25 21:19:58 +0000 | [diff] [blame] | 18 | extern const char *argv0; |
Alexandre Julliard | a3e0cfc | 2000-07-16 18:21:34 +0000 | [diff] [blame] | 19 | extern const char *full_argv0; |
Andreas Mohr | c941eff | 2000-09-22 22:37:56 +0000 | [diff] [blame] | 20 | extern unsigned int server_startticks; |
Alexandre Julliard | 86a8d0f | 1994-01-18 23:04:40 +0000 | [diff] [blame] | 21 | |
Alexandre Julliard | fe08568 | 2000-03-18 21:56:10 +0000 | [diff] [blame] | 22 | extern void OPTIONS_Usage(void) WINE_NORETURN; |
Alexandre Julliard | c192ba2 | 2000-05-29 21:25:10 +0000 | [diff] [blame] | 23 | extern void OPTIONS_ParseOptions( char *argv[] ); |
Alexandre Julliard | fe08568 | 2000-03-18 21:56:10 +0000 | [diff] [blame] | 24 | |
Alexandre Julliard | 7e56f68 | 1996-01-31 19:02:28 +0000 | [diff] [blame] | 25 | /* Profile functions */ |
| 26 | |
| 27 | extern int PROFILE_LoadWineIni(void); |
Alexandre Julliard | d30dfd2 | 1998-09-27 18:28:36 +0000 | [diff] [blame] | 28 | extern void PROFILE_UsageWineIni(void); |
Alexandre Julliard | 7e56f68 | 1996-01-31 19:02:28 +0000 | [diff] [blame] | 29 | extern int PROFILE_GetWineIniString( const char *section, const char *key_name, |
| 30 | const char *def, char *buffer, int len ); |
Alexandre Julliard | 00377a7 | 2000-02-19 20:50:00 +0000 | [diff] [blame] | 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 ); |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 35 | extern char* PROFILE_GetStringItem( char* ); |
Alexandre Julliard | 7e56f68 | 1996-01-31 19:02:28 +0000 | [diff] [blame] | 36 | |
Alexandre Julliard | a0b2b1d | 1997-11-16 17:38:29 +0000 | [diff] [blame] | 37 | /* Version functions */ |
Alexandre Julliard | 638f169 | 1999-01-17 16:32:32 +0000 | [diff] [blame] | 38 | extern void VERSION_ParseWinVersion( const char *arg ); |
| 39 | extern void VERSION_ParseDosVersion( const char *arg ); |
Alexandre Julliard | a0b2b1d | 1997-11-16 17:38:29 +0000 | [diff] [blame] | 40 | |
Alexandre Julliard | c6c0944 | 1997-01-12 18:32:19 +0000 | [diff] [blame] | 41 | #endif /* __WINE_OPTIONS_H */ |