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;
|
2020-10-16 08:38:11 +00:00
|
|
|
FLAG exitdown;
|
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;
|
2013-09-26 18:07:01 +00:00
|
|
|
char *sslcacertificatefile;
|
|
|
|
char *sslcacertificatepath;
|
2004-05-26 00:41:29 +00:00
|
|
|
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;
|
|
|
|
|
2014-04-21 04:47:40 +00:00
|
|
|
extern void ReadConf(char *, FLAG);
|
|
|
|
extern void DestroyConfig(CONFIG *);
|
|
|
|
extern void DestroyTerminal(TERM *);
|