summaryrefslogtreecommitdiff
path: root/desktop/options.h
blob: c3ca7031c53a2eda4aefc0cdefdfc070f6b9d92f (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

#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