From 832d1296c61477eb5c5848b64cf48b36e636bfb0 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Wed, 14 Jul 2010 20:48:59 +0000 Subject: Remove the old stub files, preferring the optional_api method. (closes issue #17475) Reported by: tilghman Review: https://reviewboard.asterisk.org/r/695/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@276490 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- include/asterisk/agi.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/asterisk/agi.h') diff --git a/include/asterisk/agi.h b/include/asterisk/agi.h index 210b895ad..329521aeb 100644 --- a/include/asterisk/agi.h +++ b/include/asterisk/agi.h @@ -69,8 +69,9 @@ typedef struct agi_command { * * \param mod Pointer to the module_info structure for the module that is registering the command * \param cmd Pointer to the descriptor for the command - * \return 1 on success, 0 if the command is already registered - * + * \retval 1 on success + * \retval 0 the command is already registered + * \retval AST_OPTIONAL_API_UNAVAILABLE the module is not loaded. */ AST_OPTIONAL_API(int, ast_agi_register, (struct ast_module *mod, agi_command *cmd), -- cgit v1.2.3