plan 9 kernel history: overview | file list | diff list

1991/1127/port/portdat.h (diff list | history)

1991/1122/sys/src/9/port/portdat.h:3,81991/1127/sys/src/9/port/portdat.h:3,9 (short | long | prev | next)
Add Crypt, Proc.crypt. Comment edit.
rsc Fri Mar 4 12:44:25 2005
1991/0428    
typedef struct Block	Block; 
typedef struct Blist	Blist; 
typedef struct Chan	Chan; 
1991/1127    
typedef struct Crypt	Crypt; 
1991/0428    
typedef struct Dev	Dev; 
typedef struct Dirtab	Dirtab; 
1991/0705    
typedef struct Egrp	Egrp; 
1991/1122/sys/src/9/port/portdat.h:164,1691991/1127/sys/src/9/port/portdat.h:165,177
1991/0428    
	Qid	mqid;			/* qid of root of mount point */ 
}; 
 
1991/1127    
#define	KEYLEN	7 
struct Crypt 
{ 
	char	key[KEYLEN];		/* des encryption key */ 
	char	chal[8];		/* challenge for setting user name */ 
}; 
 
1991/0428    
struct Dev 
{ 
	void	 (*reset)(void); 
1991/1122/sys/src/9/port/portdat.h:377,3821991/1127/sys/src/9/port/portdat.h:385,391
1991/0705    
	Pgrp	*next;			/* free list */ 
1991/0428    
	int	index;			/* index in pgrp table */ 
	ulong	pgrpid; 
1991/1127    
	Crypt	*crypt;			/* encryption key and challenge */ 
1991/0428    
	QLock	debug;			/* single access via devproc.c */ 
1991/1011    
	RWlock	ns;			/* Namespace many read/one write lock */ 
	Mhead	*mnthash[MNTHASH]; 
1991/1122/sys/src/9/port/portdat.h:652,6581991/1127/sys/src/9/port/portdat.h:661,667
1991/1106    
#define MINOR(q) ((q) & 0xff) 
#define DEVICE(a,i) (((a)<<8) | (i)) 
1991/0428    
 
1991/0731    
#define MAXSYSARG	6		/* for mount(fd, mpt, flag, arg, srv) */ 
1991/1127    
#define MAXSYSARG	6		/* for mount(fd, mpt, flag, arg, srv, crypt) */ 
1991/0428    
#define	PRINTSIZE	256 
1991/0724    
#define	NUMSIZE		12		/* size of formatted number */ 
1991/0428    
 


source code copyright © 1990-2005 Lucent Technologies; see license
Plan 9 distribution
comments to russ cox (rsc@swtch.com)