Subversion Repositories planix.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
enum {
2
	Maxpayload =	32*1024,
3
	Maxrpcbuf =	8192,		/* devmnt's MAXRPC - IOHDRSZ */
4
	Copybufsz = 	4096,
5
	Blobsz =	512,
6
	Numbsz =	24,		/* enough digits for 2^64 */
7
 
8
	Defstk =	80*1024,	/* was 8K, which seems small */
9
	Maxtoks =	32,
10
 
11
	Arbpathlen =	128,
12
	Arbbufsz =	256,
13
	Bigbufsz =	1024,
14
	Maxfactotum =	256*1024,	/* max bytes in /mnt/factotum/ctl */
15
};
16
 
17
typedef struct Conn Conn;
18
#pragma incomplete Conn
19
 
20
#pragma	varargck argpos	esmprint 1
21
#pragma	varargck argpos	ssdebug	2
22
#pragma	varargck argpos	sshlog	2
23
 
24
char *esmprint(char *format, ...);
25
void sshdebug(Conn *, char *format, ...);
26
void sshlog(Conn *, char *format, ...);
27
 
28
void freeptr(void **);
29
int readfile(char *file, char *buf, int size);