summaryrefslogtreecommitdiff
path: root/pflocal
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-07-16 19:02:30 +0000
committerMiles Bader <miles@gnu.org>1995-07-16 19:02:30 +0000
commit8fd52de5e0226d182cacaf0aef6cd741462328bb (patch)
tree148908cb5c2e98443493cd0a6bb7949831bb1442 /pflocal
parent400c24ddf2297e6035151c1e8be0b0cb3df3e18b (diff)
Formerly pf.c.~6~
Diffstat (limited to 'pflocal')
-rw-r--r--pflocal/pf.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/pflocal/pf.c b/pflocal/pf.c
index 72e2b813..fff79115 100644
--- a/pflocal/pf.c
+++ b/pflocal/pf.c
@@ -18,6 +18,14 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+#include "sock.h"
+
+/* temp XXX */
+#include <mach/mach.h>
+typedef mach_port_t pf_t;
+
+#include "socket_S.h"
+
/* Create a new socket. Sock type is, for example, SOCK_STREAM,
SOCK_DGRAM, or some such. */
S_socket_create (mach_port_t pf,
@@ -78,6 +86,7 @@ S_socket_fabricate_address (mach_port_t pf,
*addr_port = ports_get_right (addr);
*addr_port_type = MACH_MSG_TYPE_MAKE_SEND;
+
return 0;
}