MINOR: sample: export sample_casts
just export the sample cast matrix "sample_casts" to prepare the
generic sample conversion parser.
diff --git a/include/types/sample.h b/include/types/sample.h
index 3dfaec9..956e794 100644
--- a/include/types/sample.h
+++ b/include/types/sample.h
@@ -293,4 +293,7 @@
struct sample_conv kw[VAR_ARRAY]; /* array of sample conversion descriptors */
};
+typedef int (*sample_cast_fct)(struct sample *smp);
+extern sample_cast_fct sample_casts[SMP_TYPES][SMP_TYPES];
+
#endif /* _TYPES_SAMPLE_H */