[REFACT] In TlsDirWrapper: fixed integer types. Added func. getTlsDirPtr