Initial revision
This commit is contained in:
22
include/net/netlib.h
Executable file
22
include/net/netlib.h
Executable file
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
net/netlib.h
|
||||
*/
|
||||
|
||||
#ifndef _NET__NETLIB_H_
|
||||
#define _NET__NETLIB_H_
|
||||
|
||||
#ifndef _ANSI
|
||||
#include <ansi.h>
|
||||
#endif
|
||||
|
||||
_PROTOTYPE (int iruserok, (unsigned long raddr, int superuser,
|
||||
const char *ruser, const char *luser) );
|
||||
_PROTOTYPE (int rcmd, (char **ahost, int rport, const char *locuser,
|
||||
const char *remuser, const char *cmd, int *fd2p) );
|
||||
|
||||
#define ETH_DEVICE "/dev/eth"
|
||||
#define IP_DEVICE "/dev/ip"
|
||||
#define TCP_DEVICE "/dev/tcp"
|
||||
#define UDP_DEVICE "/dev/udp"
|
||||
|
||||
#endif /* _NET__NETLIB_H_ */
|
||||
Reference in New Issue
Block a user