log macro to print file name and line number

This commit is contained in:
wangyu
2017-07-25 00:04:49 +08:00
committed by wangyu
parent 3e50007667
commit 966ec3c925
4 changed files with 30 additions and 14 deletions

View File

@@ -12,6 +12,10 @@ int my_decrypt(const char *data,char *output,int &len,char * key);
int my_encrypt_pesudo_header(uint8_t *data,uint8_t *output,int &len,uint8_t * key,uint8_t *header,int hlen);
int my_decrypt_pesudo_header(uint8_t *data,uint8_t *output,int &len,uint8_t * key,uint8_t *header,int hlen);
unsigned short csum(const unsigned short *ptr,int nbytes) ;
const int auth_none=0;
const int auth_md5=1;