conserver/console/readconf.h

41 lines
819 B
C
Raw Normal View History

2004-05-26 00:41:29 +00:00
/*
2006-04-10 02:07:58 +00:00
* $Id: readconf.h,v 5.4 2006/04/03 13:32:12 bryan Exp $
2004-05-26 00:41:29 +00:00
*
* Copyright conserver.com, 2000
*
* Maintainer/Enhancer: Bryan Stansell (bryan@conserver.com)
*/
typedef struct config {
STRING *name;
char *console;
char *username;
char *master;
char *port;
char *escape;
FLAG striphigh;
2006-04-10 02:07:58 +00:00
unsigned short replay;
unsigned short playback;
2004-05-26 00:41:29 +00:00
#if HAVE_OPENSSL
char *sslcredentials;
FLAG sslrequired;
FLAG sslenabled;
#endif
} CONFIG;
typedef struct term {
STRING *name;
char *attach;
char *attachsubst;
char *detach;
char *detachsubst;
} TERM;
extern CONFIG *pConfig;
extern TERM *pTerm;
extern SUBST *substData;
extern void ReadConf PARAMS((char *, FLAG));
extern void DestroyConfig PARAMS((CONFIG *));
extern void DestroyTerminal PARAMS((TERM *));