| Library Name | ProgData | |||||||
| Description | Program identification data system | |||||||
| Status | in production, code in use in released products | |||||||
| Header Files | 
  | 
	|||||||
| Functions | 
int         AsciiToPosInt       // convert ASCII string to positive int value
            (
                const char* pSrc,   // pointer to source string
                int nLen            // number of characters in the string
            );
USHORT      CalcCRC             // calculate 16-bit CCITT CRC value
            (
                void* pBuffer,      // buffer to process
                size_t nLen         // size of the buffer
            );
USHORT      CalcCRC             // calculate 16-bit CCITT CRC value
            (
                USHORT* puCksm,     // checksum accumulator initially set to 0
                void* pBuffer,      // buffer to process
                size_t nLen         // size of the buffer
            );
ULONG       CalcCRC32           // calculate 32-bit CRC value
            (
                void* pBuffer,      // buffer to process
                size_t nLen         // size of the buffer
            );
ULONG       CalcCRC32           // calculate 32-bit CRC value
            (
                ULONG* puCksm,      // checksum accumulator initially set to -1
                void* pBuffer,      // buffer to process
                size_t nLen         // size of the buffer
            );
int         EtxChecksum         // calculate file checksum for arbitrary object
            (
                ULONG* puCksmAccum, // pointer to checksum accumulator
                void* pBuffer,      // buffer to process
                size_t nLen         // size of the buffer
            );
int         EtxObjectExtract    // extract next embedded object from .etx file
            (
                FILE* fp,           // open .etx filestream handle
                ULONG* puCksmAccum, // pointer to checksum accumulator
                ULONG* puBinChksum  // pointer to data checksum buffer
            );
int         EtxObjectGetChecksum // get next embedded object's checksum
            (
                FILE* fp,           // open .etx filestream handle
                ULONG* puCksmAccum, // pointer to checksum accumulator
                ULONG* puBinChksum  // pointer to data checksum buffer
            );
int         EtxTextExtract      // extract next encoded text string from file
            (
                FILE* fp,           // open .etx filestream handle
                char** pszPlainTxt, // pointer to string buffer pointer
                ULONG* puCksmAccum  // pointer to checksum accumulator
            );
int         EtxVerifyChecksums  // verify the encoded file's checksums
            (
                FILE* fp,           // open .etx filestream handle
                ULONG uChksumAccum, // checksum accumulator
                int nObjects,       // number of binary objects
                ULONG* auChecksums  // array of binary object checksums
            );
int         LoadCryptString     // load plain-text version of encrypted string
            (
                char* szOut,        // decrypted string output buffer
                int nMaxOut,        // size of szOut, including null byte
                const char* szCryp, // string to be decrypted
                const char* szMask  // mask string (e.g., szProgramFilename)
            );
int         StoreCryptString    // stores passed string escaped and encrypted
            (
                const char* szStr,  // plain-text string
                char** pszOut,      // where to return the output buffer
                const char* szMask  // mask string (e.g., szProgramFilename)
            );
		
	 | 
For more information, click here, or send email to codelibs@L5Software.com with "Library::ProgData inquiry" in the subject line.
FKETM Code Libraries Home Page
Hosted by FKEinternet