mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-14 02:56:48 +00:00
add const spec to Event::getHeader()'s param
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12526 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
c0f488e6a5
commit
19094fde0e
@ -327,7 +327,7 @@ bool ESLevent::setPriority(esl_priority_t priority)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *ESLevent::getHeader(char *header_name)
|
const char *ESLevent::getHeader(const char *header_name)
|
||||||
{
|
{
|
||||||
this_check("");
|
this_check("");
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ class ESLevent {
|
|||||||
virtual ~ESLevent();
|
virtual ~ESLevent();
|
||||||
const char *serialize(const char *format = NULL);
|
const char *serialize(const char *format = NULL);
|
||||||
bool setPriority(esl_priority_t priority = ESL_PRIORITY_NORMAL);
|
bool setPriority(esl_priority_t priority = ESL_PRIORITY_NORMAL);
|
||||||
const char *getHeader(char *header_name);
|
const char *getHeader(const char *header_name);
|
||||||
char *getBody(void);
|
char *getBody(void);
|
||||||
const char *getType(void);
|
const char *getType(void);
|
||||||
bool addBody(const char *value);
|
bool addBody(const char *value);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user