Lines Matching defs:error_label

313 int SSAStringCpy(String *string1, String *string2, char *error_label)
315 error_label[0] = '\0';
319 sprintf(error_label, "BUG: SSAStringCpy(): string1 is NULL");
325 sprintf(error_label, "BUG: SSAStringCpy(): string2 is NULL");
331 sprintf(error_label, "BUG: SSAStringCpy(): string1->chars is not NULL");
337 sprintf(error_label, "BUG: SSAStringCpy(): string1->len is not 0");
349 sprintf(error_label, ERR_MSG_ALLOC);
385 int SSAStringInit(String *string, u_char *chars, int len, char *error_label)
387 error_label[0] = '\0';
391 sprintf(error_label, "BUG: SSAStringInit(): string is NULL");
397 sprintf(error_label, "BUG: SSAStringInit(): string->chars is not NULL");
403 sprintf(error_label, "BUG: SSAStringInit(): string->len is not 0");
412 sprintf(error_label, ERR_MSG_ALLOC);
485 int SSAOidCpy(Oid *oid1, Oid *oid2, char *error_label)
487 error_label[0] = '\0';
490 (void)sprintf(error_label, "BUG: SSAOidCpy(): oid1 is NULL");
495 (void)sprintf(error_label, "BUG: SSAOidCpy(): oid2 is NULL");
504 (void)sprintf(error_label, "BUG: SSAOidCpy(): oid1->subids is not NULL");
509 (void)sprintf(error_label, "BUG: SSAOidCpy(): oid1->len is not 0");
516 (void)sprintf(error_label, ERR_MSG_ALLOC);
529 Oid *SSAOidDup(Oid *oid, char *error_label)
534 error_label[0] = '\0';
538 sprintf(error_label, "BUG: SSAOidDup(): oid is NULL");
545 sprintf(error_label, ERR_MSG_ALLOC);
550 if(SSAOidCpy(new, oid, error_label))
605 int SSAOidInit(Oid *oid, Subid *subids, int len, char *error_label)
607 error_label[0] = '\0';
611 sprintf(error_label, "BUG: SSAOidInit(): oid is NULL");
617 sprintf(error_label, "BUG: SSAOidInit(): oid->subids is not NULL");
623 sprintf(error_label, "BUG: SSAOidInit(): oid->len is not 0");
632 sprintf(error_label, ERR_MSG_ALLOC);
646 int get_my_ip_address(IPAddress *my_ip_address, char *error_label)
652 error_label[0] = '\0';
656 sprintf(error_label, ERR_MSG_UNAME,
663 sprintf(error_label, ERR_MSG_GETHOSTBYNAME,
670 sprintf(error_label, ERR_MSG_HOSTENT_BAD_IP_LENGTH,
677 sprintf(error_label, ERR_MSG_HOSTENT_MISSING_IP_ADDRESS);
690 int name_to_ip_address(char *name, IPAddress *ip_address, char *error_label)
692 error_label[0] = '\0';
697 sprintf(error_label, "BUG: name_to_ip_address(): name is NULL");
703 sprintf(error_label, "BUG: name_to_ip_address(): ip_address is NULL");
712 sprintf(error_label, ERR_MSG_BAD_IP_ADDRESS, name);
724 sprintf(error_label, ERR_MSG_BAD_HOSTNAME, name);
730 sprintf(error_label, ERR_MSG_HOSTENT_BAD_IP_LENGTH,
737 sprintf(error_label, ERR_MSG_HOSTENT_MISSING_IP_ADDRESS);
758 Oid *SSAOidStrToOid (char *name, char *error_label)
801 (void)SSAOidInit(name_oid, subids, len, error_label);