/
roa/
roa/lib/boards/
roa/lib/config/
roa/lib/edits/
roa/lib/help/
roa/lib/misc/
roa/lib/plrobjs/
roa/lib/quests/
roa/lib/socials/
roa/lib/www/
roa/lib/www/LEDSign/
roa/lib/www/LEDSign/fonts/
roa/lib/www/LEDSign/scripts/
roa/src/s_inc/
roa/src/sclient/
roa/src/sclient/binary/
roa/src/sclient/text/
roa/src/util/
/************************************************************************
	Realms of Aurealis 		James Rhone aka Vall of RoA

exshell.h				External editor header file. 

		******** 100% Completely Original Code ********
		*** BE AWARE OF ALL RIGHTS AND RESERVATIONS ***
		******** 100% Completely Original Code ********
		        All rights reserved henceforth. 

    Please note that no guarantees are associated with any code from
Realms of Aurealis.  All code which has been released to the general
public has been done so with an 'as is' pretense.  RoA is based on both
Diku and CircleMUD and ALL licenses from both *MUST* be adhered to as well
as the RoA license.   *** Read, Learn, Understand, Improve ***
*************************************************************************/
#ifndef ROA_EXSHELL_H
#define ROA_EXSHELL_H

#ifdef _EXSHELL_C_

// exedit decls -roa
#define ST_DATA		0
#define ST_IAC		1
#define ST_SE		2
#define ST_OPT		3
#define ST_HOW		4
#define ST_WILL		5
#define ST_WONT		6
#define ST_DO		7
#define ST_DONT		8
#define ST_CRLF		9
#define ST_IP		10

/* telnet codes. */
const char WILL_ECHO [] =
{
	(char)	IAC,
	(char)	WILL,
	(char)	TELOPT_ECHO,
	(char)	0
};

const char WONT_ECHO [] =
{
    (char)	IAC,
    (char)	WONT,
    (char)	TELOPT_ECHO,
    (char) 	TELOPT_NAOFFD,
    (char) 	TELOPT_NAOCRD,
    (char)	0
};

const char WILL_SUPPRESS_GA [] =
{
	(char)	IAC,
	(char)	WILL,
	(char)	TELOPT_SGA,
	(char)	0
};

const char WONT_SUPPRESS_GA [] =
{
	(char)	IAC,
	(char)	WONT,
	(char)	TELOPT_SGA,
	(char)	0
};

const char TELNET_GA [] =
{
	(char)	IAC,
	(char)	GA,
	(char)	0
};

// defines for exshell only
#define my_signal(signo, func) signal(signo, func)

#endif // _EXSHELL_C

// some prototypes...
int roa_system(char *comm);


#endif /* ROA_EXSHELL_H */