Refactoring ...

FossilOrigin-Name: 29a45fd6c217dc9d1d0f050cfc636be7ae4b6473631bb0ab14493e0395f0e3a9
This commit is contained in:
7u83@mail.ru
2018-03-05 08:56:39 +00:00
parent f866dc6b25
commit 94dce70a75
9 changed files with 45 additions and 44 deletions

View File

@ -43,17 +43,13 @@ extern int cw_foreach_msgelem(uint8_t * msgelems, int len,
//#define cw_timer_start(t) (time(NULL)+t)
//#define cw_timer_timeout(t) (time(NULL)>t ? 1 : 0)
/** Generic macro to isolate bits from a dword */
#define cw_get_dword_bits(src,start,len) ((~(0xFFFFFFFF<<len)) & (src >> (32 - start - len)))
/* functions used to "rfc-verify" message elements */
/*
//void cw_mand_elem_found(int *l,int type);
//int cw_is_missing_mand_elems(int *l);
//void cw_get_missing_mand_elems(char *dst, int *l);
@ -61,5 +57,6 @@ extern int cw_foreach_msgelem(uint8_t * msgelems, int len,
//extern const char * cw_msgtostr(int type);
*/
#endif