summaryrefslogtreecommitdiffstats
path: root/src/portmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/portmap.h')
-rw-r--r--src/portmap.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/portmap.h b/src/portmap.h
new file mode 100644
index 0000000..9161095
--- /dev/null
+++ b/src/portmap.h
@@ -0,0 +1,10 @@
+#ifndef portmap_h
+#define portmap_h
+
+#include <rpc/xdr.h>
+
+bool_t portmap_register(int resv_sock,
+ int program, int version, int protocol, int port);
+bool_t portmap_unregister(int resv_sock, int program, int version);
+
+#endif