mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-15 22:08:33 +00:00
part 1 of many standardizing typedefed types to end in _t
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1292 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
751ca005d3
commit
d0347b2a95
41 files changed
+344
-333
No files matched your search
@@ -33,7 +33,7 @@
|
||||
|
||||
static const char modname[] = "mod_event_multicast";
|
||||
|
||||
static switch_memory_pool *module_pool = NULL;
|
||||
static switch_memory_pool_t *module_pool = NULL;
|
||||
|
||||
static struct {
|
||||
char *address;
|
||||
@@ -81,7 +81,7 @@ static switch_status load_config(void)
|
||||
|
||||
}
|
||||
|
||||
static void event_handler(switch_event *event)
|
||||
static void event_handler(switch_event_t *event)
|
||||
{
|
||||
char buf[1024];
|
||||
size_t len;
|
||||
@@ -189,7 +189,7 @@ SWITCH_MOD_DECLARE(switch_status) switch_module_shutdown(void)
|
||||
|
||||
SWITCH_MOD_DECLARE(switch_status) switch_module_runtime(void)
|
||||
{
|
||||
switch_event *local_event;
|
||||
switch_event_t *local_event;
|
||||
char buf[1024];
|
||||
|
||||
globals.running = 1;
|
||||
|
||||
@@ -36,7 +36,7 @@ static const char modname[] = "mod_event_test";
|
||||
//#define TORTURE_ME
|
||||
|
||||
|
||||
static void event_handler(switch_event *event)
|
||||
static void event_handler(switch_event_t *event)
|
||||
{
|
||||
char buf[1024];
|
||||
|
||||
@@ -68,12 +68,12 @@ static switch_loadable_module_interface event_test_module_interface = {
|
||||
#define TTHREADS 500
|
||||
static int THREADS = 0;
|
||||
|
||||
static void *torture_thread(switch_thread *thread, void *obj)
|
||||
static void *torture_thread(switch_thread_t *thread, void *obj)
|
||||
{
|
||||
int y = 0;
|
||||
int z = 0;
|
||||
switch_core_thread_session *ts = obj;
|
||||
switch_event *event;
|
||||
switch_event_t *event;
|
||||
|
||||
z = THREADS++;
|
||||
|
||||
@@ -89,7 +89,7 @@ static void *torture_thread(switch_thread *thread, void *obj)
|
||||
}
|
||||
|
||||
if (ts->pool) {
|
||||
switch_memory_pool *pool = ts->pool;
|
||||
switch_memory_pool_t *pool = ts->pool;
|
||||
switch_core_destroy_memory_pool(&pool);
|
||||
}
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ static struct {
|
||||
struct session session;
|
||||
} globals;
|
||||
|
||||
static void event_handler(switch_event *event)
|
||||
static void event_handler(switch_event_t *event)
|
||||
{
|
||||
char buf[1024];
|
||||
iks *msg;
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
|
||||
static const char modname[] = "mod_zeroconf";
|
||||
|
||||
static switch_memory_pool *module_pool = NULL;
|
||||
static switch_memory_pool_t *module_pool = NULL;
|
||||
|
||||
static struct {
|
||||
sw_discovery discovery;
|
||||
@@ -121,7 +121,7 @@ static sw_result HOWL_API my_service_reply(sw_discovery discovery,
|
||||
}
|
||||
|
||||
|
||||
static void event_handler(switch_event *event)
|
||||
static void event_handler(switch_event_t *event)
|
||||
{
|
||||
sw_text_record text_record;
|
||||
sw_result result;
|
||||
@@ -132,7 +132,7 @@ static void event_handler(switch_event *event)
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "sw_text_record_init() failed\n");
|
||||
return;
|
||||
} else {
|
||||
switch_event_header *hp;
|
||||
switch_event_header_t *hp;
|
||||
char *service = switch_event_get_header(event, "service");
|
||||
char *port = switch_event_get_header(event, "port");
|
||||
sw_port porti = 0;
|
||||
|
||||
Reference in new issue
Block a user