31 lines
760 B
C
31 lines
760 B
C
|
|
/*
|
|
*
|
|
* Finger support...
|
|
*
|
|
* Finger header defines. Written by Michael T. Horne - KA7AXD.
|
|
* Copyright 1988 by Michael T. Horne, All Rights Reserved.
|
|
* Permission granted for non-commercial use and copying, provided
|
|
* that this notice is retained.
|
|
*
|
|
*/
|
|
|
|
#define FINGER_PORT 79 /* TCP port for `who' (finger) service */
|
|
#ifdef UNIX
|
|
#define FINGNAMELEN 11 /* max len of user name */
|
|
#else
|
|
#define FINGNAMELEN 8 /* max len of user name */
|
|
#endif
|
|
|
|
/* finger protocol control block */
|
|
struct finger {
|
|
struct tcb *tcb; /* pointer to associated tcb */
|
|
struct session *session; /* pointer to finger session */
|
|
char *user; /* name of user to finger */
|
|
};
|
|
#define NULLFING (struct finger *) 0
|
|
|
|
extern char *fingersuf, /* see files.c */
|
|
*fingerpath;
|
|
|