Module: kamailio
Branch: master
Commit: ddbf18a5fb131d37920a1b83260c08944239c8d5
URL:
https://github.com/kamailio/kamailio/commit/ddbf18a5fb131d37920a1b83260c089…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-02-03T17:27:13+01:00
core: typef'ed the lump structure
---
Modified: lump_struct.h
---
Diff:
https://github.com/kamailio/kamailio/commit/ddbf18a5fb131d37920a1b83260c089…
Patch:
https://github.com/kamailio/kamailio/commit/ddbf18a5fb131d37920a1b83260c089…
---
diff --git a/lump_struct.h b/lump_struct.h
index ba07fa4..2e5fcc1 100644
--- a/lump_struct.h
+++ b/lump_struct.h
@@ -70,7 +70,7 @@ enum lump_flag { LUMPFLAG_NONE=0, LUMPFLAG_DUPED=1, LUMPFLAG_SHMEM=2,
#define LUMP_SET_COND_TRUE(_lump) (_lump)->flags |= LUMPFLAG_COND_TRUE
#define LUMP_IS_COND_TRUE(_lump) ((_lump)->flags & LUMPFLAG_COND_TRUE)
-struct lump{
+typedef struct lump{
enum _hdr_types_t type; /* HDR_VIA_T, HDR_OTHER_T (0), ... */
enum lump_op op; /* DEL, ADD, NOP, UNSPEC(=0) */
@@ -91,7 +91,7 @@ struct lump{
struct lump* next;
enum lump_flag flags; /* additional hints for use from TM's shmem */
-};
+} sr_lump_t;
/*