[asterisk-commits] dvossel: branch dvossel/generic_aoc r256369 - /team/dvossel/generic_aoc/main/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Apr 6 14:22:34 CDT 2010
Author: dvossel
Date: Tue Apr 6 14:22:33 2010
New Revision: 256369
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=256369
Log:
addition of ast_aoc_s_get_count()
Modified:
team/dvossel/generic_aoc/main/aoc.c
Modified: team/dvossel/generic_aoc/main/aoc.c
URL: http://svnview.digium.com/svn/asterisk/team/dvossel/generic_aoc/main/aoc.c?view=diff&rev=256369&r1=256368&r2=256369
==============================================================================
--- team/dvossel/generic_aoc/main/aoc.c (original)
+++ team/dvossel/generic_aoc/main/aoc.c Tue Apr 6 14:22:33 2010
@@ -590,6 +590,12 @@
return 0;
}
+
+unsigned int ast_aoc_s_get_count(struct ast_aoc_decoded *decoded)
+{
+ return decoded->aoc_s_count;
+}
+
const struct ast_aoc_s_entry *ast_aoc_s_get_rate_info(struct ast_aoc_decoded *decoded, unsigned int entry_number)
{
if (entry_number >= decoded->aoc_s_count) {
More information about the asterisk-commits
mailing list