diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-06 01:22:47 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-06 01:22:47 +0000 |
commit | d3391c2a91ccac5fc084e13f8e10675b58c446ba (patch) | |
tree | 6d5e22bd1b3a5313118ffb066b2c6d084ecf64ca /include/asterisk/callerid.h | |
parent | 0179d71e0b80ccdc9a830279f32737d45f6bc15a (diff) |
- use stringfields in a bunch of the fields of the zt_pvt structure in chan_zap
- constify some arguments to functions in callerid.c / callerid.h
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32456 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/callerid.h')
-rw-r--r-- | include/asterisk/callerid.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asterisk/callerid.h b/include/asterisk/callerid.h index 9d29387c8..c762184d7 100644 --- a/include/asterisk/callerid.h +++ b/include/asterisk/callerid.h @@ -86,7 +86,7 @@ void callerid_init(void); * \return It returns the size * (in bytes) of the data (if it returns a size of 0, there is probably an error) */ -int callerid_generate(unsigned char *buf, char *number, char *name, int flags, int callwaiting, int codec); +int callerid_generate(unsigned char *buf, const char *number, const char *name, int flags, int callwaiting, int codec); /*! \brief Create a callerID state machine * \param cid_signalling Type of signalling in use @@ -157,7 +157,7 @@ void callerid_free(struct callerid_state *cid); * * Acts like callerid_generate except uses an asterisk format callerid string. */ -int ast_callerid_generate(unsigned char *buf, char *name, char *number, int codec); +int ast_callerid_generate(unsigned char *buf, const char *name, const char *number, int codec); /*! \brief Generate message waiting indicator (stutter tone) */ int vmwi_generate(unsigned char *buf, int active, int mdmf, int codec); @@ -165,7 +165,7 @@ int vmwi_generate(unsigned char *buf, int active, int mdmf, int codec); /*! \brief Generate Caller-ID spill but in a format suitable for Call Waiting(tm)'s Caller*ID(tm) * See ast_callerid_generate() for other details */ -int ast_callerid_callwaiting_generate(unsigned char *buf, char *name, char *number, int codec); +int ast_callerid_callwaiting_generate(unsigned char *buf, const char *name, const char *number, int codec); /*! \brief Destructively parse inbuf into name and location (or number) * Parses callerid stream from inbuf and changes into useable form, outputed in name and location. |