|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T l
Length: 742 (0x2e6)
Types: TextFile
Names: »log_tcp.h«
└─⟦4f9d7c866⟧ Bits:30007245 EUUGD6: Sikkerheds distributionen
└─⟦62b59102f⟧ »./log_tcp/3.1.tar.Z«
└─⟦1de3ed35f⟧
└─⟦this⟧ »log_tcp/log_tcp.h«
/* @(#) log_tcp.h 1.1 91/10/02 23:01:55 */
/*
* Structure filled in by the fromhost() routine. Prerequisites:
* <sys/types.h> and <sys/param.h>.
*/
#ifndef MAXHOSTNAMELEN
#define MAXHOSTNAMELEN 1024
#endif
struct from_host {
int sock_type; /* socket type, see below */
char source[MAXHOSTNAMELEN + 1]; /* host name or address */
};
/* Socket types: 0 means unknown. */
#define FROM_CONNECTED 1 /* connection-oriented */
#define FROM_UNCONNECTED 2 /* non connection-oriented */
/* Global functions. */
extern int fromhost(); /* get/validate remote host info */
extern int hosts_access(); /* access control */
extern void refuse(); /* refuse request */
extern void shell_cmd(); /* execute shell command */