getrrset.c revision 668728fed845b9db9c1423946df03d5fc69f4eee
#include <config.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include "assert_p.h"
static unsigned int
switch (lwresult) {
case LWRES_R_SUCCESS: return (ERRSET_SUCCESS);
case LWRES_R_NOMEMORY: return (ERRSET_NOMEMORY);
default: return (ERRSET_FAIL);
}
}
int
{
unsigned int i;
unsigned int lwflags;
unsigned int result;
goto fail;
}
if (lwresult != LWRES_R_SUCCESS) {
goto fail;
}
/*
* If any input flags were defined, lwflags would be set here
* based on them
*/
lwflags = 0;
if (lwresult != LWRES_R_SUCCESS) {
goto fail;
}
goto fail;
}
rrset->rri_nrdatas = 0;
goto fail;
}
sizeof(struct rdatainfo));
goto fail;
}
for (i = 0; i < rrset->rri_nrdatas; i++) {
goto fail;
}
}
goto fail;
}
goto fail;
}
}
return (ERRSET_SUCCESS);
fail:
return (result);
}
void
unsigned int i;
for (i = 0; i < rrset->rri_nrdatas; i++) {
break;
}
break;
}
}