Misc ...
FossilOrigin-Name: 968d10c26f0cd7ba32e00b75d6af37d689aade5c2098caa9e2113bc3df285fb1
This commit is contained in:
@ -173,6 +173,12 @@
|
||||
|
||||
/* useful macros and inline functions */
|
||||
|
||||
/**
|
||||
* @defgroup LWAPPFunctions LWAPP Functions
|
||||
* @{
|
||||
*/
|
||||
|
||||
|
||||
#define lw_foreach_elem(d,msg,len) for(d=msg; d<msg+len; d=d+3+LWMSGELEM_GET_LEN(d))
|
||||
|
||||
|
||||
@ -231,6 +237,9 @@ static inline int lw_put_elem_hdr(uint8_t *dst,uint8_t type,uint16_t len)
|
||||
return 3;
|
||||
}
|
||||
|
||||
/**@}*/
|
||||
|
||||
|
||||
extern int lw_put_sockaddr(uint8_t *dst, struct sockaddr_storage *addr);
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user