From 02c1fbddd462fecc6887a44ef67202870bcae7be Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Fri, 3 Dec 1999 11:40:45 +0000 Subject: Added proto_get_named() to be used in CLI commands to get protocol instance of a given protocol with optionally given name. See `show static' for an example. --- nest/protocol.h | 1 + 1 file changed, 1 insertion(+) (limited to 'nest/protocol.h') diff --git a/nest/protocol.h b/nest/protocol.h index 0962ccf..3e53c86 100644 --- a/nest/protocol.h +++ b/nest/protocol.h @@ -151,6 +151,7 @@ void proto_build(struct proto_config *); void *proto_new(struct proto_config *, unsigned size); void *proto_config_new(struct protocol *, unsigned size); void proto_show(struct symbol *, int); +struct proto *proto_get_named(struct symbol *, struct protocol *); extern list proto_list; -- cgit v1.2.3