/* update the next 3 lines with each version change */
#define SIGNON "# aprsd 2.1.5b12 Nov 8 2007 by WA4DSY \r\n"
#define VERS "aprsd 2.1.5b12"
//The next char string is put into the AX25 "TO" field.  Keep length at 6 chars.
#define PGVERS "APD215"
/*--------------------------------------------------*/


//If you really must convert Mic-E packets to traditional APRS
//change this to TRUE and add "ConvertMicE yes" to your aprsd.conf file.
#define CONVERT_MIC_E FALSE  


/* Define this to write 3rd party pkts to debug.log */
// #define DEBUGTHIRDPARTY

 
//If this is defined the qAc,CallSign construct is added to path 
#define INET_TRACE

 
#define TRUE 1
#define FALSE 0
#define BOOL int
#define ULONG unsigned long
#define LONG long
#define USHORT unsigned short int
#define INT16 unsigned short int
#define APIRET int
#define INT32 int
#define echomask_t unsigned  long
#define LF 0x0a
#define CR 0x0d
#define RXwhite " \t\n\r"

//#define LINK_SERVER_PORT 1313

#define CMD_END_THREAD -1L
#define SRC_TNC	-2L
#define SRC_USER	-3L
#define SRC_INTERNAL -4L
#define SRC_UDP -5L
#define SRC_IGATE -6L


#define MAXCLIENTS 30
#define MAXLOAD 200000

//This sets the Internet line input buffer size.
//Lines longer than this, including CR,LF,NULL, will be truncated.
//Actually, the data will be truncated but a CR,LF,NULL will always be on the end.
#define BUFSIZE 255

//Defines duplicate detection window time in seconds
#define DUPWINDOW 20



#define RUNTSIZE 0
#define MAXRETRYS 7

#define HOSTIPSIZE 33

#define destINET 1
#define destTNC  2


/* To run aprsd from another directory change the next line */
#define HOMEDIR "/home/aprsd2"

#define CONFPATH ""
#define CONFFILE "aprsd.conf"
#define MAINLOG "aprsd.log"
#define STSMLOG "thirdparty.log"
#define RFLOG "rf.log"
#define UDPLOG "udp.log"
#define ERRORLOG "error.log"
#define DEBUGLOG "debug.log"
#define REJECTLOG "reject.log"
#define LOOPLOG "loop.log"
#define WELCOME "welcome.txt"
#define TNC_INIT  "INIT.TNC"
#define TNC_RESTORE "RESTORE.TNC"
#define APRSD_INIT "INIT.APRSD"
#define SAVE_HISTORY "history.txt"
#define USER_DENY "user.deny"



/* These are for Linux user/pass logons.  They define the group used by
   /etc/group .   You must have these groups and users defined in /etc/group.
   
   The "tnc" group defines which users are allowed direct access to control the TNC.
   The "aprs"  group defines users which log on with a Linux user/password
   instead of the Mac/WinAPRS automatic password. These users are allowed to
   insert data into the data stream.

   To add a group logon as root and edit the /etc/group file by adding
	a line such as: tnc::102:root,wa4dsy,bozo   */

#define APRSGROUP "aprs"
#define TNCGROUP "tnc"


/* this is not used in production code*/
#define TEST "WA4DSY>APRS,WIDE:!3405.31N/08422.46WyWA4DSY APRS Internet Server running on Linux.\r\n"




