#define theAddress 0x0A34134F

void jzwAddAnEntry()
{
    NaSnmpTargetAddrEntry_t entry;
	NaStatus ccode = NA_SUCCESS;
	unsigned long myAddress = theAddress;

    memset((char *)&entry, '\0', sizeof(NaSnmpTargetAddrEntry_t));
	memset((char *)&entry.snmpTargetAddrName, '\0', sizeof(entry.snmpTargetAddrName));
	memcpy((char *)&entry.snmpTargetAddrName, "Jeffrey Z. Wolf", strlen("Jeffrey Z. Wolf"));
	entry.snmpTargetAddrNameLen = strlen("Jeffrey Z. Wolf");
	memcpy((char *)&entry.snmpTargetAddrTAddress, (char *)&myAddress, 4);
	memcpy((char *)&entry.snmpTargetAddrTagList, "A tag", strlen("A Tag"));
	entry.snmpTargetAddrTagListLen = strlen("A Tag");
	memcpy((char *)&entry.snmpTargetAddrParams, "My Params", strlen("My Params"));
	entry.snmpTargetAddrParamsLen = strlen("My Params");
	entry.snmpTargetAddrTimeout = 100;
	entry.snmpTargetAddrRetryCount = 10;
	entry.snmpTargetAddrStorageType = NA_SNMP_PERMANENT;
	entry.snmpTargetAddrRowStatus = NA_SNMP_ROW_STATUS_CREATE_AND_GO;
	entry.snmpTargetAddrTDomain = NA_SNMP_TRANSPORT_DOMAIN_UDP_IPV4;

	ccode = naSnmpAddTargetAddrTableEntry(&entry);
}
