FKETM Code Libraries -ProgData- Page


Library Name   ProgData
Description Program identification data system
Status in production, code in use in released products
Header Files
PrgmData.h       Program ID, serial number, and license information for PROGNAME.EXE
ChekSums.h Structure and prototypes for checksum routines used with PrgmData.h
ProgData.h External declarations for routines using ProgData.lib services
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
L5 Software Development


All sales of these products help finance the operations of The L5 Development Group,
a private enterprise space exploration and development effort.
Visit The L5 Development Group for more info about space colonies and space business.

FKETM Code Libraries -ProgData- Page / Webmaster / Last modified December 8, 2002 @ 10:13 am
Copyright © 2024 by L5 Software Development. All rights reserved.

Hosted by FKEinternet