aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/cdr.h
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-01-15 23:48:12 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-01-15 23:48:12 +0000
commit597c75ce7b9c35e5dd0ace49462bd02efcd2e5a1 (patch)
tree148de50e79eba09c6f90abf29b6509e0dbb264db /include/asterisk/cdr.h
parentef642e2e7834df16533a3513c7efe663e0a791c8 (diff)
Repair // comments to /* */ comments (bug #3347)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4806 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/cdr.h')
-rwxr-xr-xinclude/asterisk/cdr.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/include/asterisk/cdr.h b/include/asterisk/cdr.h
index 88f210e69..661757306 100755
--- a/include/asterisk/cdr.h
+++ b/include/asterisk/cdr.h
@@ -29,7 +29,7 @@
#define AST_CDR_ANSWERED (1 << 2)
#define AST_CDR_FAILED (1 << 3)
-//! AMA Flags
+/*! AMA Flags */
#define AST_CDR_OMIT (1)
#define AST_CDR_BILLING (2)
#define AST_CDR_DOCUMENTATION (3)
@@ -38,7 +38,7 @@
struct ast_channel;
-//! Responsible for call detail data
+/*! Responsible for call detail data */
struct ast_cdr {
/*! Caller*ID with text */
char clid[AST_MAX_EXTENSION];
@@ -83,19 +83,19 @@ struct ast_cdr {
typedef int (*ast_cdrbe)(struct ast_cdr *cdr);
-//! Allocate a record
+/*! Allocate a record */
/*!
* Returns a malloc'd ast_cdr structure, returns NULL on error (malloc failure)
*/
extern struct ast_cdr *ast_cdr_alloc(void);
-//! Free a record
+/*! Free a record */
/* \param cdr ast_cdr structure to free
* Returns nothing important
*/
extern void ast_cdr_free(struct ast_cdr *cdr);
-//! Initialize based on a channel
+/*! Initialize based on a channel */
/*!
* \param cdr Call Detail Record to use for channel
* \param chan Channel to bind CDR with
@@ -104,7 +104,7 @@ extern void ast_cdr_free(struct ast_cdr *cdr);
*/
extern int ast_cdr_init(struct ast_cdr *cdr, struct ast_channel *chan);
-//! Initialize based on a channel
+/*! Initialize based on a channel */
/*!
* \param cdr Call Detail Record to use for channel
* \param chan Channel to bind CDR with
@@ -113,7 +113,7 @@ extern int ast_cdr_init(struct ast_cdr *cdr, struct ast_channel *chan);
*/
extern int ast_cdr_setcid(struct ast_cdr *cdr, struct ast_channel *chan);
-//! Register a CDR handling engine
+/*! Register a CDR handling engine */
/*!
* \param name name associated with the particular CDR handler
* \param desc description of the CDR handler
@@ -123,14 +123,14 @@ extern int ast_cdr_setcid(struct ast_cdr *cdr, struct ast_channel *chan);
*/
extern int ast_cdr_register(char *name, char *desc, ast_cdrbe be);
-//! Unregister a CDR handling engine
+/*! Unregister a CDR handling engine */
/*!
* \param name name of CDR handler to unregister
* Unregisters a CDR by it's name
*/
extern void ast_cdr_unregister(char *name);
-//! Start a call
+/*! Start a call */
/*!
* \param cdr the cdr you wish to associate with the call
* Starts all CDR stuff necessary for monitoring a call
@@ -138,28 +138,28 @@ extern void ast_cdr_unregister(char *name);
*/
extern void ast_cdr_start(struct ast_cdr *cdr);
-//! Answer a call
+/*! Answer a call */
/*!
* \param cdr the cdr you wish to associate with the call
* Starts all CDR stuff necessary for doing CDR when answering a call
*/
extern void ast_cdr_answer(struct ast_cdr *cdr);
-//! Busy a call
+/*! Busy a call */
/*!
* \param cdr the cdr you wish to associate with the call
* Returns nothing important
*/
extern void ast_cdr_busy(struct ast_cdr *cdr);
-//! Fail a call
+/*! Fail a call */
/*!
* \param cdr the cdr you wish to associate with the call
* Returns nothing important
*/
extern void ast_cdr_failed(struct ast_cdr *cdr);
-//! Save the result of the call based on the AST_CAUSE_*
+/*! Save the result of the call based on the AST_CAUSE_* */
/*!
* \param cdr the cdr you wish to associate with the call
* Returns nothing important
@@ -167,7 +167,7 @@ extern void ast_cdr_failed(struct ast_cdr *cdr);
*/
extern int ast_cdr_disposition(struct ast_cdr *cdr, int cause);
-//! End a call
+/*! End a call */
/*!
* \param cdr the cdr you have associated the call with
* Registers the end of call time in the cdr structure.
@@ -175,7 +175,7 @@ extern int ast_cdr_disposition(struct ast_cdr *cdr, int cause);
*/
extern void ast_cdr_end(struct ast_cdr *cdr);
-//! Post the detail record
+/*! Post the detail record */
/*!
* \param cdr Which cdr to post
* Actually outputs the CDR record to the CDR plugins installed
@@ -183,7 +183,7 @@ extern void ast_cdr_end(struct ast_cdr *cdr);
*/
extern void ast_cdr_post(struct ast_cdr *cdr);
-//! Set the destination channel, if there was one
+/*! Set the destination channel, if there was one */
/*!
* \param cdr Which cdr it's applied to
* Sets the destination channel the CDR is applied to
@@ -191,7 +191,7 @@ extern void ast_cdr_post(struct ast_cdr *cdr);
*/
extern void ast_cdr_setdestchan(struct ast_cdr *cdr, char *chan);
-//! Set the last executed application
+/*! Set the last executed application */
/*!
* \param cdr which cdr to act upon
* \param app the name of the app you wish to change it to
@@ -201,7 +201,7 @@ extern void ast_cdr_setdestchan(struct ast_cdr *cdr, char *chan);
*/
extern void ast_cdr_setapp(struct ast_cdr *cdr, char *app, char *data);
-//! Convert a string to a detail record AMA flag
+/*! Convert a string to a detail record AMA flag */
/*!
* \param flag string form of flag
* Converts the string form of the flag to the binary form.
@@ -209,7 +209,7 @@ extern void ast_cdr_setapp(struct ast_cdr *cdr, char *app, char *data);
*/
extern int ast_cdr_amaflags2int(const char *flag);
-//! Disposition to a string
+/*! Disposition to a string */
/*!
* \param flag input binary form
* Converts the binary form of a disposition to string form.
@@ -217,7 +217,7 @@ extern int ast_cdr_amaflags2int(const char *flag);
*/
extern char *ast_cdr_disp2str(int disposition);
-//! Reset the detail record, optionally posting it first
+/*! Reset the detail record, optionally posting it first */
/*!
* \param cdr which cdr to act upon
* \param flags |AST_CDR_FLAG_POSTED whether or not to post the cdr first before resetting it
@@ -225,7 +225,7 @@ extern char *ast_cdr_disp2str(int disposition);
*/
extern void ast_cdr_reset(struct ast_cdr *cdr, int flags);
-//! Flags to a string
+/*! Flags to a string */
/*!
* \param flags binary flag
* Converts binary flags to string flags