add smpp34_tlv_for_each() helper
So we don't need to remember this is an opencoded list of TLVs. Change-Id: I446929feed049d0411e1629ca263e2bc41f714cc
This commit is contained in:
parent
cc0bcd6bc0
commit
9b3cefca21
|
@ -86,6 +86,9 @@ typedef struct alert_notification_t alert_notification_t;
|
|||
OCTET16( inst, octet, size ); \
|
||||
} par;
|
||||
|
||||
#define smpp34_tlv_for_each(pos, head) \
|
||||
for (pos = (head); pos != NULL; pos = pos->next)
|
||||
|
||||
#define DAD( inst, par, do_dest_address ) dad_t *par;
|
||||
#define UU2( inst, par, size ) union { \
|
||||
struct { \
|
||||
|
|
Loading…
Reference in New Issue