00001 /* 00002 *$Id: ud_socket.h,v 1.2 2003/11/17 21:24:58 sunthockin Exp $ 00003 */ 00004 00005 #ifndef UD_SOCKET_H__ 00006 #define UD_SOCKET_H__ 00007 00008 #include <sys/socket.h> 00009 #include <sys/un.h> 00010 00011 int ud_create_socket(const char *name); 00012 int ud_accept(int sock, struct ucred *cred); 00013 int ud_connect(const char *name); 00014 00015 #endif