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