[sr-dev] git:master:000fa421: core: typedef'ed the action context structure
Daniel-Constantin Mierla
miconda at gmail.com
Thu Apr 14 13:15:47 CEST 2016
Module: kamailio
Branch: master
Commit: 000fa421129a14fdad44e22545a04d2788040912
URL: https://github.com/kamailio/kamailio/commit/000fa421129a14fdad44e22545a04d2788040912
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2016-04-14T13:15:15+02:00
core: typedef'ed the action context structure
---
Modified: action.h
---
Diff: https://github.com/kamailio/kamailio/commit/000fa421129a14fdad44e22545a04d2788040912.diff
Patch: https://github.com/kamailio/kamailio/commit/000fa421129a14fdad44e22545a04d2788040912.patch
---
diff --git a/action.h b/action.h
index 62eed0c..b4591aa 100644
--- a/action.h
+++ b/action.h
@@ -40,14 +40,14 @@
#endif
-struct run_act_ctx{
+typedef struct run_act_ctx {
int rec_lev;
int run_flags;
int last_retcode; /* return from last route */
#ifdef USE_LONGJMP
jmp_buf jmp_env;
#endif
-};
+} run_act_ctx_t;
#define init_run_actions_ctx(ph) \
More information about the sr-dev
mailing list