From 6b61aefbf3de71852386f5f26d60c10ef62407d3 Mon Sep 17 00:00:00 2001 From: Alexander Wirt Date: Sat, 18 May 2013 21:48:14 +0200 Subject: Imported Upstream version 1.4.1 --- src/channel.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/channel.c') diff --git a/src/channel.c b/src/channel.c index 818bb01..8b7c319 100644 --- a/src/channel.c +++ b/src/channel.c @@ -310,3 +310,8 @@ int channel_accept(struct channel *c) { return c->ops->accept(c); } + +int channel_type(struct channel *c) +{ + return c->ops->type; +} -- cgit v1.2.3