-
- Downloads
Hash types are now 0-31 (no longer re-using header field type values for RFC822
MSGID's and FTN MSGID's) so that a bit-mask may be passed to functions like smb_findhash(), allowing selective duplicate searches without pre-marking hashes (to be skipped) in a message's hash list. This limits the number of possible hash sources to 32 total (down from 256) - not a real concern. This change will render existing msg-id's in hash files obsolete. The usage of the following functions were effected: smb_addmsg() - from BOOL (dupechk) to bit-field (dupechk_hashes) smb_msghashes() - removed dupechk kludge (to pre-mark text hash) smb_findhash() - added source_mask argument to select which source types
Showing
- src/smblib/smbadd.c 4 additions, 4 deletionssrc/smblib/smbadd.c
- src/smblib/smbdefs.h 15 additions, 1 deletionsrc/smblib/smbdefs.h
- src/smblib/smbhash.c 15 additions, 13 deletionssrc/smblib/smbhash.c
- src/smblib/smblib.c 1 addition, 1 deletionsrc/smblib/smblib.c
- src/smblib/smblib.h 8 additions, 7 deletionssrc/smblib/smblib.h
- src/smblib/smbstr.c 11 additions, 5 deletionssrc/smblib/smbstr.c
Please register or sign in to comment