From 6b7accf51072d883a7692d7a4bb1d7d1a2e7242b Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 13 Apr 2011 23:30:51 +0200 Subject: export a function to look up a protocol handler --- proto.h | 1 + 1 file changed, 1 insertion(+) (limited to 'proto.h') diff --git a/proto.h b/proto.h index aeb2f24..fd9a0f8 100644 --- a/proto.h +++ b/proto.h @@ -43,6 +43,7 @@ struct proto_handler { }; void add_proto_handler(struct proto_handler *p); +struct proto_handler *get_proto_handler(const char *name); void proto_attach_interface(struct interface *iface, struct uci_section *s); int interface_proto_event(struct interface_proto_state *proto, enum interface_proto_cmd cmd, bool force); -- cgit v1.2.1