parent
7ed6fd9277
commit
4f684e1b4a
13
scaffold.c
13
scaffold.c
|
@ -238,10 +238,17 @@ struct request_info *request;
|
|||
|
||||
/* ARGSUSED */
|
||||
|
||||
void rfc931(request)
|
||||
struct request_info *request;
|
||||
void rfc931(rmt_sin, our_sin, dest)
|
||||
#ifdef INET6
|
||||
struct sockaddr *rmt_sin;
|
||||
struct sockaddr *our_sin;
|
||||
#else
|
||||
struct sockaddr_in *rmt_sin;
|
||||
struct sockaddr_in *our_sin;
|
||||
#endif
|
||||
char *dest;
|
||||
{
|
||||
strcpy(request->user, unknown);
|
||||
strcpy(dest, unknown);
|
||||
}
|
||||
|
||||
/* check_path - examine accessibility */
|
||||
|
|
4
tcpd.h
4
tcpd.h
|
@ -93,7 +93,11 @@ extern int hosts_access(struct request_info *request); /* access control */
|
|||
extern void shell_cmd(char *); /* execute shell command */
|
||||
extern char *percent_x(char *, int, char *, struct request_info *);
|
||||
/* do %<char> expansion */
|
||||
#ifdef INET6
|
||||
extern void rfc931(struct sockaddr *, struct sockaddr *, char *);
|
||||
#else
|
||||
extern void rfc931(struct sockaddr_in *, struct sockaddr_in *, char *);
|
||||
#endif
|
||||
/* client name from RFC 931 daemon */
|
||||
extern void clean_exit(struct request_info *); /* clean up and exit */
|
||||
extern void refuse(struct request_info *); /* clean up and exit */
|
||||
|
|
Loading…
Reference in New Issue