summaryrefslogtreecommitdiff
path: root/channels/iax2/include/parser.h
diff options
context:
space:
mode:
authorSean Bright <sean@malleable.com>2013-01-31 19:52:48 +0000
committerSean Bright <sean@malleable.com>2013-01-31 19:52:48 +0000
commitd6e05d5bf3509c3d1c1f8ddb2937acc65db180bc (patch)
tree9fb64874bcf958f201578f8f5e32c65cf5a61af7 /channels/iax2/include/parser.h
parentc1b4a93f4987bbf7066ab32ad023979f591446e1 (diff)
Move IAX firmware related functionality into separate files.
This patch is mostly a reorganization of existing code with a few exceptions: * Added doxygen comments to all of the extracted functions. * Split reload_firmware(int unload) into iax_firmware_reload() and iax_firmware_unload() for readability. * Create iax_firmware_traverse() to support the 'iax2 show firmware' CLI command. * Renamed iax_check_version() to iax_firmware_get_version() and change its arguments and return value so that it returns a success/failure value and sets the selected version into an out parameter to avoid confusion with failure and version 0. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@380695 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/iax2/include/parser.h')
-rw-r--r--channels/iax2/include/parser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/iax2/include/parser.h b/channels/iax2/include/parser.h
index caa121039..caaa098c9 100644
--- a/channels/iax2/include/parser.h
+++ b/channels/iax2/include/parser.h
@@ -18,6 +18,7 @@
#ifndef _IAX2_PARSER_H
#define _IAX2_PARSER_H
+#include "asterisk/frame.h"
#include "asterisk/linkedlists.h"
#include "asterisk/crypto.h"
#include "iax2.h"