summaryrefslogtreecommitdiff
path: root/desktop/options.h
blob: f6487cebc572ea11ce57558d6164ceae1277ac46 (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
/**
 * $Id: options.h,v 1.2 2003/06/06 02:14:28 jmb Exp $
 */


#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