// --------------------------------------------------------------------------------------------------------------
//
//   AmiGnut 0.9.0 Settings Header
//
//   Copyright (C) 2001 Jay Cornwall <jay@realfantasy.demon.co.uk>
//
//   This is free software distributed under the terms of the GNU Public License. See the file License.txt for
//   details.
//
// --------------------------------------------------------------------------------------------------------------

#include <exec/types.h>
#include <libraries/mui.h>

#include <clib/alib_protos.h>

#include <string.h>

#include "Enum.h"

// --------------------------------------------------------------------------------------------------------------

// Internal prototypes

void AcceptSettings();
void RejectSettings();
void ResetSettings();

// External references

extern Object *Gadgets[];

// Settings variables

BOOL DefaultLimitDownstream = FALSE, DefaultLimitUpstream = TRUE;
char DefaultHCHostname[101] = "gnutellahosts.com"; /* Note: duplicated below */
UBYTE DefaultMaxIncomingConns = 1, DefaultMaxOutgoingConns = 1, DefaultTTLRadius = 6;
UWORD DefaultFloodLimit = 2000, DefaultHCPort = 6346, DefaultListenPort = 6346, DefaultMaxDownstream = 5000;
UWORD DefaultMaxUpstream = 2000;

BOOL LimitDownstream = DefaultLimitDownstream, LimitUpstream = DefaultLimitUpstream;
char HCHostname[101] = "gnutellahosts.com"; /* Note: duplicated above */
UBYTE MaxIncomingConns = DefaultMaxIncomingConns, MaxOutgoingConns = DefaultMaxOutgoingConns;
UBYTE TTLRadius = DefaultTTLRadius;
UWORD FloodLimit = DefaultFloodLimit, HCPort = DefaultHCPort, ListenPort = DefaultListenPort;
UWORD MaxDownstream = DefaultMaxDownstream, MaxUpstream = DefaultMaxUpstream;

// --------------------------------------------------------------------------------------------------------------

// End Of Text
