1
0

Plan9libnet.h 487 B

1234567891011121314151617181920
  1. #ifndef __LIBNET_H
  2. #define __LIBNET_H
  3. #ifndef _NET_EXTENSION
  4. This header file is not defined in ANSI or POSIX
  5. #endif
  6. #pragma lib "/$M/lib/ape/libnet.a"
  7. #define NETPATHLEN 40
  8. extern int accept(int, char*);
  9. extern int announce(char*, char*);
  10. extern int dial(char*, char*, char*, int*);
  11. extern int hangup(int);
  12. extern int listen(char*, char*);
  13. extern char* netmkaddr(char*, char*, char*);
  14. extern int reject(int, char*, char *);
  15. extern char dialerrstr[64];
  16. #endif /* __LIBNET_H */