summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-04-13 23:30:51 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-04-13 23:30:51 +0200
commit6b7accf51072d883a7692d7a4bb1d7d1a2e7242b (patch)
tree3653ed33d4c58cbb641d3563c3f5c605f6e16826 /proto.h
parent39dbd09f5845311a41300655ffd83f0b2d7ee7e4 (diff)
downloadnetifd-6b7accf51072d883a7692d7a4bb1d7d1a2e7242b.tar.gz
export a function to look up a protocol handler
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h1
1 files changed, 1 insertions, 0 deletions
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);