X-Git-Url: https://git.distorted.org.uk/~mdw/fwd/blobdiff_plain/0ac54f22a766f068db98e1caecbc913cb0cfd191..c42fddf370ae87fed818416a21da6f025a033eb3:/un.c diff --git a/un.c b/un.c index e415256..6fd46b4 100644 --- a/un.c +++ b/un.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: un.c,v 1.6 2003/11/25 14:08:23 mdw Exp $ + * $Id: un.c,v 1.9 2004/04/08 01:36:25 mdw Exp $ * * Protocol specific definitions for Unix-domain sockets * @@ -26,29 +26,6 @@ * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/*----- Revision history --------------------------------------------------* - * - * $Log: un.c,v $ - * Revision 1.6 2003/11/25 14:08:23 mdw - * Debianization. Socket target options. Internet binding. - * - * Revision 1.5 2002/02/22 23:43:32 mdw - * Call @xfree@ rather than @free@. - * - * Revision 1.4 2000/08/01 17:59:56 mdw - * Switch over to using `size_t' for socket address lengths. - * - * Revision 1.3 2000/08/01 17:58:32 mdw - * Remove unnecessary header. - * - * Revision 1.2 1999/07/27 18:30:53 mdw - * Various minor portability fixes. - * - * Revision 1.1 1999/07/26 23:34:11 mdw - * New socket address types. - * - */ - /*----- Header files ------------------------------------------------------*/ #include "config.h" @@ -148,7 +125,7 @@ static addr_opts *un_initopts(void) static int srcopt(scanner *sc, addr_opts *ao) { un_opts *uo = (un_opts *)ao; - CONF_BEGIN(sc, "unix", "Unix domain socket") + CONF_BEGIN(sc, "source", "Unix domain socket source") if (fattr_option(sc, uo ? &uo->f : &fattr_global)) CONF_ACCEPT; @@ -251,7 +228,7 @@ fail_0: addr_ops un_ops = { "unix", un_read, un_destroy, un_print, - un_initopts, un_option, un_freeopts, un_bind, un_unbind, un_accept, + un_initopts, un_option, 0, un_freeopts, un_bind, un_unbind, un_accept, 0, 0, un_connect };