summaryrefslogtreecommitdiffstats
path: root/src/windows/wintel/telnet.h
blob: cd1904a140421558b587ff9925131ffbd109bd3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#ifndef TELNET_H_INC
#define TELNET_H_INC

#include <windows.h>
#include <stdarg.h>

#ifdef KRB5
#include "krb5.h"
#include "k5stream.h"
#endif

#include "dialog.h"
#include "screen.h"
#include "struct.h"
#include "wt-proto.h"
#include "winsock.h"
#include "ini.h"

/* globals */
extern char szAutoHostName[64];
extern char szUserName[64];
extern char szHostName[64];

#ifdef KRB5
extern krb5_context k5_context;
#endif

extern void parse(CONNECTION *, unsigned char *, int);

extern void send_naws(CONNECTION *);

extern char strTmp[1024];

#define DEF_WIDTH 80
#define DEF_HEIGHT 24

#ifdef DEBUG
void hexdump(char *, unsigned char *, int);
#endif

#endif /* TELNET_H_INC */