home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 3
/
PDCD_3.iso
/
internet
/
netlite
/
NET
/
h
/
FINGER
< prev
next >
Wrap
Text File
|
1993-04-03
|
1KB
|
38 lines
/*
*
* 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 FINGNAMELEN 8 /* max len of user name */
/* 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 fingerpath[]; /* see files.c */
/* In FINGCLI */
void start_finger(void);
struct finger *alloc_finger(void);
int free_finger(struct finger *);
void fingcli_rcv(struct tcb *, int16);
void f_state(struct tcb *, char, char);
/* In FINGSERV */
int finger1(int, char **);
void fing_state(struct tcb *, char, char);
int finger0(void);
void rcv_fing(struct tcb *, int16);