mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 23:08:32 +00:00
Add Doxygen documentation for API changes from 1.6.0 to 1.6.1
Copied from my review board description: This is a continuation of the API changes documentation started for describing changes between releases. Most of the API changes were pretty simple needing only to be brought to attention via the new "Asterisk API Changes" list. However, if you see anything that needs further explanation feel free to supplement what is there. The current method of documenting is to add (in the header file): \version <ver number> <description of changes> and then to add the function to the change list in doxyref.h on the AstAPIChanges page. I also made sure all the functions that were newly added were tagged with \since 1.6.1. I think this is a good habit to start both for the historical aspect as well as for the future ability to easily add a "New Asterisk API" page. Review: http://reviewboard.digium.com/r/190/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@180719 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -66,9 +66,9 @@
|
||||
|
||||
/* defines dealing with message waiting indication generation */
|
||||
/*! MWI SDMF format */
|
||||
#define CID_MWI_TYPE_SDMF 0x00
|
||||
#define CID_MWI_TYPE_SDMF 0x00
|
||||
/*! MWI MDMF format -- generate only MWI field */
|
||||
#define CID_MWI_TYPE_MDMF 0x01
|
||||
#define CID_MWI_TYPE_MDMF 0x01
|
||||
/*! MWI MDMF format -- generate name, callerid, date and MWI fields */
|
||||
#define CID_MWI_TYPE_MDMF_FULL 0x02
|
||||
|
||||
@@ -169,11 +169,12 @@ void callerid_free(struct callerid_state *cid);
|
||||
*/
|
||||
int ast_callerid_generate(unsigned char *buf, const char *name, const char *number, int codec);
|
||||
|
||||
/*! \brief Generate message waiting indicator
|
||||
* \param active The message indicator state
|
||||
/*! \brief Generate message waiting indicator
|
||||
* \param active The message indicator state
|
||||
* -- either 0 no messages in mailbox or 1 messages in mailbox
|
||||
* \param type Format of message (any of CID_MWI_TYPE_*)
|
||||
* \see callerid_generate() for more info as it use the same encoding
|
||||
* \param type Format of message (any of CID_MWI_TYPE_*)
|
||||
* \see callerid_generate() for more info as it use the same encoding
|
||||
* \version 1.6.1 changed mdmf parameter to type, added name, number and flags for caller id message generation
|
||||
*/
|
||||
int vmwi_generate(unsigned char *buf, int active, int type, int codec, const char *name,
|
||||
const char *number, int flags);
|
||||
|
||||
Reference in New Issue
Block a user