summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2011-11-24 17:47:32 +0100
committerSylvain Munaut <tnt@246tNt.com>2011-11-24 17:47:32 +0100
commitae8dbb4d776461c8945570594d67d8bb9b7100c5 (patch)
treec378612cf0551513d5f7f2d2cf875858d76d5344 /include
parent297d13f4604c330efac19c03c12d590730076ed5 (diff)
core/conv: Add utility methods to know length of coded/decoded vectors
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/core/conv.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/osmocom/core/conv.h b/include/osmocom/core/conv.h
index 159a055b..e76a5c61 100644
--- a/include/osmocom/core/conv.h
+++ b/include/osmocom/core/conv.h
@@ -71,6 +71,12 @@ struct osmo_conv_code {
};
+/* Common */
+
+int osmo_conv_get_input_length(const struct osmo_conv_code *code, int len);
+int osmo_conv_get_output_length(const struct osmo_conv_code *code, int len);
+
+
/* Encoding */
/* Low level API */