long SAstart_time;

static char *Usage = "\
Usage:     APsnmpagent	[ -h EMShostname ]\n\
                     	[ -p snmpPort ]\n\
                     	[ -t trapdPort ]\n\
                     	[ -b EHHBinterval ]\n\
                     	[ -a EHalarmseverity ]\n\
                     	[ -i trapsendinterval ]\n\
			[ -l ploginterval ]\n\
                     	[ -g getcommunitystring ]\n\
                     	[ -s setcommunitystring ]\n\
                     	[ -n numbertraponce ]\n\
                     	[ -q sizetrapqueue ]\n\
where:\n\
      -h EMShostname            hostname of EMS (destination for traps)\n\
      -p localPort              local port to which agent should bind\n\
      -t trapdPort              port number of the trap daemon at EMS host\n\
      -b EHHBinterval           interval(milisecond) for HB with Event Handler\n\
      -a EHalarmseverity[0...5] alarm severity for EHdeath alarm trap\n\
      -i trapsendinterval       interval(milisecond) for sending next traps\n\
      -l ploginterval		interval(second) for log performance data\n\
      -g getcommunitystring     community string for SNMP GET authenication\n\
      -s setcommunitystring     community string for SNMP SET authenication\n\
      -n numbertraponce         number of traps will be sent at once\n\
      -q sizetrapqueue          maximum traps waiting in the queue\n\
\n";
 
/* SAprevSetReqId stores the previous setRequest request id. If a duplicate 
** request id is received from EMS, that setRequest will be rejected */
INT_32_T SAprevSetReqId = -1;
