//
//global.c
//
//todo: get rid of this
#include <stdlib.h>
#include "misc/global.h"
int localPort= -1;
char *hostname = NULL;
int ignoreself = 1;
int makeKeys=0;
int doconfig = 0;
int showversion = 0;
char *networkKey = NULL;
char *networkSecretKey = NULL;
char *networkProtocol = NULL;
int publicrelaynode = 0;
int autogetnoderefs = 0;
volatile int reloadsettings = 0;
int dokill = 0;
int quiet = 0;
char *winhelpfile = NULL;
char *winhelpfile2 = NULL;
//todo: shuffle these to somewhere more appropriate
char *informhost = DEFAULT_INFORMHOST;
int informport = DEFAULT_INFORMPORT;
char *informpage = DEFAULT_INFORMPAGE;
char *refgethost = DEFAULT_REFGETHOST;
int refgetport = DEFAULT_REFGETPORT;
char *refgetpage = DEFAULT_REFGETPAGE;
char *refgetpublicrelaypage = DEFAULT_REFGETPUBLICRELAYPAGE;
char *pathprefix = DEFAULT_PATHPREFIX;
int nextdhdelay = 0;
int retries = DEFAULT_RETRIES;
syntax highlighted by Code2HTML, v. 0.9.1