2003-06-30 16:44:03 +04:00
|
|
|
/*
|
|
|
|
* This file is part of NetSurf, http://netsurf.sourceforge.net/
|
|
|
|
* Licensed under the GNU General Public License,
|
|
|
|
* http://www.opensource.org/licenses/gpl-license
|
|
|
|
* Copyright 2003 Phil Mellor <monkeyson@users.sourceforge.net>
|
2003-06-06 06:14:28 +04:00
|
|
|
*/
|
|
|
|
|
2003-06-02 03:02:56 +04:00
|
|
|
|
|
|
|
#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;
|
2003-06-06 06:14:28 +04:00
|
|
|
|
2003-06-02 03:02:56 +04:00
|
|
|
/* 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
|
|
|
|
|