From 0a302295bfc22103d58c16a0080cd007e3d9832a Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Fri, 27 Oct 2006 10:53:59 +0000 Subject: [PATCH] NgSendMsgReply() doesn't exist. Should be NgSendReplyMsg(). --- etc/Makefile | 3 ++- lib/libnetgraph/Makefile | 4 ++-- lib/libnetgraph/netgraph.3 | 9 ++++++--- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/etc/Makefile b/etc/Makefile index a457849e0a..6b63a19778 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -1,6 +1,6 @@ # from: @(#)Makefile 5.11 (Berkeley) 5/21/91 # $FreeBSD: src/etc/Makefile,v 1.219.2.38 2003/03/04 09:49:00 ru Exp $ -# $DragonFly: src/etc/Makefile,v 1.135 2006/10/26 12:58:29 swildner Exp $ +# $DragonFly: src/etc/Makefile,v 1.136 2006/10/27 10:53:59 swildner Exp $ .if !defined(NO_SENDMAIL) SUBDIR= sendmail @@ -447,6 +447,7 @@ upgrade_etc: preupgrade csh -c "rm -f ${DESTDIR}/usr/include/{e,p,}mmintrin.h" csh -c "rm -f ${DESTDIR}/usr/share/man/{man,cat}9/reallocf.9.gz" csh -c "rm -f ${DESTDIR}/usr/share/man/{man,cat}9/suser_proc.9.gz" + csh -c "rm -f ${DESTDIR}/usr/share/man/{man,cat}3/NgSendMsgReply.3.gz" ldconfig -R .if !defined(BINARY_UPGRADE) # binary upgrade just copies these nodes .if !defined(NO_MAKEDEV) diff --git a/lib/libnetgraph/Makefile b/lib/libnetgraph/Makefile index 22b7b3434d..cbe28c9767 100644 --- a/lib/libnetgraph/Makefile +++ b/lib/libnetgraph/Makefile @@ -1,5 +1,5 @@ # $FreeBSD: src/lib/libnetgraph/Makefile,v 1.4.2.2 2001/04/25 10:04:35 ru Exp $ -# $DragonFly: src/lib/libnetgraph/Makefile,v 1.3 2005/04/21 13:42:34 joerg Exp $ +# $DragonFly: src/lib/libnetgraph/Makefile,v 1.4 2006/10/27 10:53:59 swildner Exp $ # $Whistle: Makefile,v 1.4 1999/01/17 03:41:02 julian Exp $ LIB= netgraph @@ -16,7 +16,7 @@ MLINKS+= netgraph.3 NgMkSockNode.3 MLINKS+= netgraph.3 NgNameNode.3 MLINKS+= netgraph.3 NgSendMsg.3 MLINKS+= netgraph.3 NgSendAsciiMsg.3 -MLINKS+= netgraph.3 NgSendMsgReply.3 +MLINKS+= netgraph.3 NgSendReplyMsg.3 MLINKS+= netgraph.3 NgRecvMsg.3 MLINKS+= netgraph.3 NgRecvAsciiMsg.3 MLINKS+= netgraph.3 NgSendData.3 diff --git a/lib/libnetgraph/netgraph.3 b/lib/libnetgraph/netgraph.3 index 7b541627eb..1f2f4d7ad2 100644 --- a/lib/libnetgraph/netgraph.3 +++ b/lib/libnetgraph/netgraph.3 @@ -33,7 +33,7 @@ .\" Author: Archie Cobbs .\" .\" $FreeBSD: src/lib/libnetgraph/netgraph.3,v 1.4.2.10 2002/12/29 16:35:36 schweikh Exp $ -.\" $DragonFly: src/lib/libnetgraph/netgraph.3,v 1.3 2006/07/22 23:52:23 swildner Exp $ +.\" $DragonFly: src/lib/libnetgraph/netgraph.3,v 1.4 2006/10/27 10:53:59 swildner Exp $ .\" $Whistle: netgraph.3,v 1.7 1999/01/25 07:14:06 archie Exp $ .\" .Dd January 19, 1999 @@ -43,7 +43,10 @@ .Nm NgMkSockNode , .Nm NgNameNode , .Nm NgSendMsg , +.Nm NgSendAsciiMsg , +.Nm NgSendReplyMsg , .Nm NgRecvMsg , +.Nm NgRecvAsciiMsg , .Nm NgSendData , .Nm NgRecvData , .Nm NgSetDebug , @@ -62,7 +65,7 @@ .Ft int .Fn NgSendAsciiMsg "int cs" "const char *path" "const char *fmt" "..." .Ft int -.Fn NgSendMsgReply "int cs" "const char *path" "struct ng_mesg *msg" "const void *arg" "size_t arglen" +.Fn NgSendReplyMsg "int cs" "const char *path" "struct ng_mesg *msg" "const void *arg" "size_t arglen" .Ft int .Fn NgRecvMsg "int cs" "struct ng_mesg *rep" "size_t replen" "char *path" .Ft int @@ -129,7 +132,7 @@ The unique, non-negative token value chosen for use in the message header is returned. This value is typically used to associate replies. .Pp Use -.Fn NgSendMsgReply +.Fn NgSendReplyMsg to send reply to a previously received control message. The original message header should be pointed to by .Fa msg . -- 2.41.0