// (c) 1991-2007 Electronic Arts Inc.

const char *SPIT_history[] =
{
"------------------------------------------------------------------",
"                                                                  ",
"                       Bloodhound_eg v1.00                        ",
"                                                                  ",
"                    by FrANK G. Barchard, EAC                     ",
"                                                                  ",
"                   Main program - Oct 04, 2002                    ",
"                                                                  ",
"------------------------------------------------------------------",
"                                                                  ",
" Version Date   SE History:                                       ",
" ------- ----   -- --------                                       ",
" 1.00    021004 FB bloodhound example                             ",
"                                                                  ",
"------------------------------------------------------------------",
"\0"
};

#include <stdlib.h>
#include "bloodhound.h"

const char TextVersion[]="1.00 (Baden Powell) 2007.1.30";
#define TOOL_VERSION 100
#define TOOL_NAME "bloodhound_eg"

/*
;
; ABSTRACT
;
; bloodhound_eg - an example bloodhound application
;
; SUMMARY
;
; bloodhound_eg tool version
;
; DESCRIPTION
;
; bloodhound_eg sends a bloodhound message with the specified toolname
; and version.  The platform and user are automatic.
; This is primarily an example of how to call bloodhound in your
; application, but can also be used as a tool in script files.
;
; RETURNS
;
; none (0)
;
; SEE ALSO
;
; Spit
;
; SAMPLE OUTPUT
;
; >bloodhound_eg burp 123
;
; END ABSTRACT
;
*/

int main(int argc, char* argv[])
{
    char *ToolName = TOOL_NAME;
    int ToolVersion = TOOL_VERSION;

    if (argc>1) ToolName = argv[1];
    if (argc>2) ToolVersion = atoi(argv[2]);

    BLOODHOUND_Message(ToolName,ToolVersion);

    return 0;
}

