summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/netgraph.h
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2004-12-01 11:56:32 +0000
committerglebius <glebius@FreeBSD.org>2004-12-01 11:56:32 +0000
commit0ee3c9a14806187ae7b21c6472acef229f787eec (patch)
tree993048ef397a314598d7acf4cda3afeaf0b93717 /sys/netgraph/netgraph.h
parent5951763807c9b6250b4836e194dfec959d4b5be6 (diff)
downloadFreeBSD-src-0ee3c9a14806187ae7b21c6472acef229f787eec.zip
FreeBSD-src-0ee3c9a14806187ae7b21c6472acef229f787eec.tar.gz
Mechanically rename s/ng_timeout/ng_callout/g, s/ng_untimeout/ng_uncallout/g.
This is done to keep both versions in RELENG_5 and support both APIs. Reviewed by: scottl Approved by: julian (mentor), implicitly
Diffstat (limited to 'sys/netgraph/netgraph.h')
-rw-r--r--sys/netgraph/netgraph.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netgraph/netgraph.h b/sys/netgraph/netgraph.h
index 8b79ded..5a11972 100644
--- a/sys/netgraph/netgraph.h
+++ b/sys/netgraph/netgraph.h
@@ -1074,8 +1074,8 @@ int ng_rmtype(struct ng_type *tp);
int ng_snd_item(item_p item, int queue);
int ng_send_fn(node_p node, hook_p hook, ng_item_fn *fn,
void *arg1, int arg2);
-int ng_untimeout(struct callout *c, node_p node);
-int ng_timeout(struct callout *c, node_p node, hook_p hook, int ticks,
+int ng_uncallout(struct callout *c, node_p node);
+int ng_callout(struct callout *c, node_p node, hook_p hook, int ticks,
ng_item_fn *fn, void * arg1, int arg2);
/* We should mark callout mpsafe as soon as we mark netgraph ISR mpsafe */
#define ng_callout_init(c) callout_init(c, 0)
OpenPOWER on IntegriCloud