Module: sip-router
Branch: master
Commit: d7c0926a7f467073c3ea8907d8d76bc97b1b6cec
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=d7c0926a7f467073c3ea8907d8d76bc97b1b6cec

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date:   Sun Jun 26 11:51:31 2011 +0200

async: updates to prameter types

- use typedefs - straigforwards ctags jumping

---

 modules/async/async_sleep.c |    6 +++---
 modules/async/async_sleep.h |    4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/modules/async/async_sleep.c b/modules/async/async_sleep.c
index 16d67b9..26725c8 100644
--- a/modules/async/async_sleep.c
+++ b/modules/async/async_sleep.c
@@ -42,7 +42,7 @@ typedef struct async_item {
        unsigned int tindex;
        unsigned int tlabel;
        unsigned int ticks;
-       struct action *act;
+       cfg_action_t *act;
        struct async_item *next;
 } async_item_t;
 
@@ -105,12 +105,12 @@ int async_destroy_timer_list(void)
        return 0;
 }
 
-int async_sleep(struct sip_msg* msg, int seconds, struct action *act)
+int async_sleep(struct sip_msg* msg, int seconds, cfg_action_t *act)
 {
        int slot;
        unsigned int ticks;
        async_item_t *ai;
-       struct cell *t = 0;
+       tm_cell_t *t = 0;
 
        if(seconds<=0) {
                LM_ERR("negative or zero sleep time (%d)\n", seconds);
diff --git a/modules/async/async_sleep.h b/modules/async/async_sleep.h
index 9080e29..6275bd4 100644
--- a/modules/async/async_sleep.h
+++ b/modules/async/async_sleep.h
@@ -33,7 +33,7 @@ typedef struct async_param {
        int type;
        gparam_t *pinterval;
        union {
-               struct action *paction;
+               cfg_action_t *paction;
                gparam_t *proute;
        } u;
 } async_param_t;
@@ -42,7 +42,7 @@ int async_init_timer_list(void);
 
 int async_destroy_timer_list(void);
 
-int async_sleep(struct sip_msg* msg, int seconds, struct action *act);
+int async_sleep(struct sip_msg* msg, int seconds, cfg_action_t *act);
 
 void async_timer_exec(unsigned int ticks, void *param);
 


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to