Changeset 1202 in Sophya for trunk/SophyaLib/BaseTools/ppersist.h
- Timestamp:
- Sep 27, 2000, 5:56:51 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/BaseTools/ppersist.h
r895 r1202 88 88 static uint_8 getDataObjClassId(AnyDataObj const & o); 89 89 90 static uint_8 Hash(string const& typname) { 91 md5_init(&ctx); 92 md5_write(&ctx, (unsigned char*) typname.c_str(), typname.size()); 93 md5_final(&ctx); 94 return ( *((uint_8*) ctx.buf) + *((uint_8*) (ctx.buf+8))); 95 } 90 static uint_8 Hash(string const& typname); 96 91 static MD5_CONTEXT ctx; 97 92
Note:
See TracChangeset
for help on using the changeset viewer.