29 #include <sys/types.h> 48 void Char2Hex (
char *InBuf,
int NumBytes,
char *OutBuf);
51 void Usage (
char *Name);
55 int ProcessFile (
char *FilePath, pFileResult_t FileResult);
FUNCTION int ProcessUpload(int upload_pk, int agent_fk)
Process a single upload - read the first 32 bytes in each file.
FUNCTION void Char2Hex(char *InBuf, int NumBytes, char *OutBuf)
Convert a character buffer to a hex string.
FUNCTION int ProcessFile(char *FilePath, pFileResult_t FileResult)
Process a single file - read the first 32 bytes.
FUNCTION void CheckTable(char *AgentARSName)
Check to make sure the demomod and demomod_ars tables exists.
char HexStr[(DataSize *2)+1]
Hexadecimal string.
Usage()
Print Usage statement.
FUNCTION void ExitNow(int ExitVal)
Exit function. This does all cleanup and should be used instead of calling exit() or main() return...
The main FOSSology C library.
char Buf[DataSize]
Buffer.