summaryrefslogtreecommitdiff
path: root/desktop/options.h
blob: 415279b3689305f11c4394ab5c9ca82f1194c4dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
 * 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>
 */


#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