summaryrefslogtreecommitdiff
path: root/sys/include/ape/libnet.h
diff options
context:
space:
mode:
authorTaru Karttunen <taruti@taruti.net>2011-03-30 16:47:56 +0300
committerTaru Karttunen <taruti@taruti.net>2011-03-30 16:47:56 +0300
commitc558a99e0be506a9abdf677f0ca4490644e05fc1 (patch)
tree17aef678ad05a32ef96ce8385703cb3fe089a5c7 /sys/include/ape/libnet.h
parente5888a1ffdae813d7575f5fb02275c6bb07e5199 (diff)
Import sources from 2011-03-30 iso image - sys/include
Diffstat (limited to 'sys/include/ape/libnet.h')
-rwxr-xr-xsys/include/ape/libnet.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/sys/include/ape/libnet.h b/sys/include/ape/libnet.h
new file mode 100755
index 000000000..39bdfcbc5
--- /dev/null
+++ b/sys/include/ape/libnet.h
@@ -0,0 +1,20 @@
+#ifndef __LIBNET_H
+#define __LIBNET_H
+#ifndef _NET_EXTENSION
+ This header file is not defined in ANSI or POSIX
+#endif
+#pragma lib "/$M/lib/ape/libnet.a"
+
+#define NETPATHLEN 40
+
+extern int accept(int, char*);
+extern int announce(char*, char*);
+extern int dial(char*, char*, char*, int*);
+extern int hangup(int);
+extern int listen(char*, char*);
+extern char* netmkaddr(char*, char*, char*);
+extern int reject(int, char*, char *);
+
+extern char dialerrstr[64];
+
+#endif /* __LIBNET_H */