aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/netif
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@gnumonks.org>2012-08-19 00:39:21 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2012-08-19 00:50:01 +0200
commitb71627b1f74f8c7368fd132f7eec3b2dc26d165f (patch)
tree48cfcf1f2e07bf0b0acfd9671b1aee10fb12c132 /include/osmocom/netif
parentd73c757e6daff089ebbe0af8f4fcaf4a50ec2d6c (diff)
channel: osmo_chan_init takes one pointer to set the talloc context
Also remove this parameter from osmo_chan_create
Diffstat (limited to 'include/osmocom/netif')
-rw-r--r--include/osmocom/netif/channel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/osmocom/netif/channel.h b/include/osmocom/netif/channel.h
index 6afbed8..f044605 100644
--- a/include/osmocom/netif/channel.h
+++ b/include/osmocom/netif/channel.h
@@ -34,9 +34,9 @@ struct osmo_chan {
char data[0];
};
-void osmo_chan_init(void);
+void osmo_chan_init(void *ctx);
-struct osmo_chan *osmo_chan_create(void *ctx, int type);
+struct osmo_chan *osmo_chan_create(int type);
void osmo_chan_destroy(struct osmo_chan *c);
int osmo_chan_open(struct osmo_chan *c);