/* * This file is part of the UCB release of Plan 9. It is subject to the license * terms in the LICENSE file found in the top-level directory of this * distribution and at http://akaros.cs.berkeley.edu/files/Plan9License. No * part of the UCB release of Plan 9, including this file, may be copied, * modified, propagated, or distributed except according to the terms contained * in the LICENSE file. */enum { Maxpayload = 32*1024, Maxrpcbuf = 8192, /* devmnt's MAXRPC - IOHDRSZ */ Copybufsz = 4096, Blobsz = 512, Numbsz = 24, /* enough digits for 2^64 */ Defstk = 80*1024, /* was 8K, which seems small */ Maxtoks = 32, Arbpathlen = 128, Arbbufsz = 256, Bigbufsz = 1024, Maxfactotum = 256*1024, /* max bytes in /mnt/factotum/ctl */};typedef struct Conn Conn;#pragma incomplete Conn#pragma varargck argpos esmprint 1#pragma varargck argpos ssdebug 2#pragma varargck argpos sshlog 2char *esmprint(char *format, ...);void sshdebug(Conn *, char *format, ...);void sshlog(Conn *, char *format, ...);void freeptr(void **);int readfile(char *file, char *buf, int size);
/*
* This file is part of the UCB release of Plan 9. It is subject to the license
* terms in the LICENSE file found in the top-level directory of this
* distribution and at http://akaros.cs.berkeley.edu/files/Plan9License. No
* part of the UCB release of Plan 9, including this file, may be copied,
* modified, propagated, or distributed except according to the terms contained
* in the LICENSE file.
*/
enum {
Maxpayload = 32*1024,
Maxrpcbuf = 8192, /* devmnt's MAXRPC - IOHDRSZ */
Copybufsz = 4096,
Blobsz = 512,
Numbsz = 24, /* enough digits for 2^64 */
Defstk = 80*1024, /* was 8K, which seems small */
Maxtoks = 32,
Arbpathlen = 128,
Arbbufsz = 256,
Bigbufsz = 1024,
Maxfactotum = 256*1024, /* max bytes in /mnt/factotum/ctl */
};
typedef struct Conn Conn;
#pragma incomplete Conn
#pragma varargck argpos esmprint 1
#pragma varargck argpos ssdebug 2
#pragma varargck argpos sshlog 2
char *esmprint(char *format, ...);
void sshdebug(Conn *, char *format, ...);
void sshlog(Conn *, char *format, ...);
void freeptr(void **);
int readfile(char *file, char *buf, int size);