From 3127cac2f7f22981915fe2bcd980775447b99fba Mon Sep 17 00:00:00 2001 From: julian Date: Mon, 1 Nov 1999 10:00:40 +0000 Subject: Add typedefs for node methods Suggested by phk. --- sys/netgraph/ng_echo.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'sys/netgraph/ng_echo.c') diff --git a/sys/netgraph/ng_echo.c b/sys/netgraph/ng_echo.c index ed69f9c..a834659 100644 --- a/sys/netgraph/ng_echo.c +++ b/sys/netgraph/ng_echo.c @@ -37,7 +37,7 @@ * Author: Julian Elisher * * $FreeBSD$ - * $Whistle: ng_echo.c,v 1.11 1999/01/28 23:54:53 julian Exp $ + * $Whistle: ng_echo.c,v 1.13 1999/11/01 09:24:51 julian Exp $ */ /* @@ -58,10 +58,9 @@ #include /* Netgraph methods */ -static int nge_rcvmsg(node_p node, struct ng_mesg *msg, - const char *retaddr, struct ng_mesg ** resp); -static int nge_rcvdata(hook_p hook, struct mbuf *m, meta_p meta); -static int nge_disconnect(hook_p hook); +static ng_rcvmsg_t nge_rcvmsg; +static ng_rcvdata_t nge_rcvdata; +static ng_disconnect_t nge_disconnect; /* Netgraph type */ static struct ng_type typestruct = { -- cgit v1.1