summaryrefslogtreecommitdiff
path: root/include/asterisk/cdr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asterisk/cdr.h')
-rw-r--r--include/asterisk/cdr.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/asterisk/cdr.h b/include/asterisk/cdr.h
index 33413bc34..e6fbe96ff 100644
--- a/include/asterisk/cdr.h
+++ b/include/asterisk/cdr.h
@@ -47,8 +47,6 @@
#include "asterisk/channel.h"
#include "asterisk/utils.h"
-struct ast_channel;
-
/*! Responsible for call detail data */
struct ast_cdr {
/*! Caller*ID with text */
@@ -145,14 +143,14 @@ int ast_cdr_setcid(struct ast_cdr *cdr, struct ast_channel *chan);
* Used to register a Call Detail Record handler.
* Returns -1 on error, 0 on success.
*/
-int ast_cdr_register(char *name, char *desc, ast_cdrbe be);
+int ast_cdr_register(const char *name, const char *desc, ast_cdrbe be);
/*! Unregister a CDR handling engine */
/*!
* \param name name of CDR handler to unregister
* Unregisters a CDR by it's name
*/
-void ast_cdr_unregister(char *name);
+void ast_cdr_unregister(const char *name);
/*! Start a call */
/*!