summaryrefslogtreecommitdiff
path: root/nest/protocol.h
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-12-03 11:40:45 +0000
committerMartin Mares <mj@ucw.cz>1999-12-03 11:40:45 +0000
commit02c1fbddd462fecc6887a44ef67202870bcae7be (patch)
tree571deb0c83d55826ec90fe317544bd548ac848d3 /nest/protocol.h
parent28e01f85c65c536837227829f645818dfa6a2652 (diff)
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.
Diffstat (limited to 'nest/protocol.h')
-rw-r--r--nest/protocol.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/nest/protocol.h b/nest/protocol.h
index 0962ccfd..3e53c86c 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;