diff options
author | Phil Mellor <phil@monkeyson.info> | 2003-06-01 23:02:56 +0000 |
---|---|---|
committer | Phil Mellor <phil@monkeyson.info> | 2003-06-01 23:02:56 +0000 |
commit | 9f81422aeaca41d8c93e2b69c3c525d84a9c633b (patch) | |
tree | bff8eb0e329f82f907b3d96500d785c92fa74336 /desktop/options.h | |
parent | cbd104704bb11b6141c2b5c3bde88950157e5fcf (diff) | |
download | netsurf-9f81422aeaca41d8c93e2b69c3c525d84a9c633b.tar.gz netsurf-9f81422aeaca41d8c93e2b69c3c525d84a9c633b.tar.bz2 |
[project @ 2003-06-01 23:02:56 by monkeyson]
Configuration windows added. HTTP Proxy support (untested).
svn path=/import/netsurf/; revision=145
Diffstat (limited to 'desktop/options.h')
-rw-r--r-- | desktop/options.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/desktop/options.h b/desktop/options.h new file mode 100644 index 000000000..c3ca7031c --- /dev/null +++ b/desktop/options.h @@ -0,0 +1,27 @@ + +#ifndef _NETSURF_DESKTOP_OPTIONS_H_ +#define _NETSURF_DESKTOP_OPTIONS_H_ + +struct options; + +#include "netsurf/riscos/options.h" + +struct options +{ + /* global options */ + int http; + char* http_proxy; + int http_port; + + /* platform specific options */ + PLATFORM_OPTIONS +}; + +extern struct options OPTIONS; + +void options_init(struct options* opt); +void options_write(struct options*, char* filename); +void options_read(struct options*, char* filename); + +#endif + |