mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 05:02:10 +00:00
add high and low priority event queues
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@674 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
+19
-1
@@ -29,7 +29,25 @@
|
||||
* switch_utils.c -- Compatability and Helper Code
|
||||
*
|
||||
*/
|
||||
#include <switch_utils.h>
|
||||
#include <switch.h>
|
||||
|
||||
SWITCH_DECLARE(char *) switch_priority_name(switch_priority_t priority)
|
||||
{
|
||||
switch(priority) { /*lol*/
|
||||
case SWITCH_PRIORITY_NORMAL:
|
||||
return "NORMAL";
|
||||
break;
|
||||
case SWITCH_PRIORITY_LOW:
|
||||
return "LOW";
|
||||
break;
|
||||
case SWITCH_PRIORITY_HIGH:
|
||||
return "HIGH";
|
||||
break;
|
||||
default:
|
||||
return "INVALID";
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
static char RFC2833_CHARS[] = "0123456789*#ABCDF";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user