dns_zone_t *raw = NULL;
dns_zonetype_t type;
+ REQUIRE(text != NULL);
+
result = zone_from_args(server, lex, NULL, &zone, NULL, text, true);
if (result != ISC_R_SUCCESS) {
return (result);
dns_zonetype_t type;
const char *msg = NULL;
+ REQUIRE(text != NULL);
+
result = zone_from_args(server, lex, NULL, &zone, NULL, text, true);
if (result != ISC_R_SUCCESS) {
return (result);
dns_zone_t *zone = NULL;
const char msg[] = "zone notify queued";
+ REQUIRE(text != NULL);
+
result = zone_from_args(server, lex, NULL, &zone, NULL, text, true);
if (result != ISC_R_SUCCESS) {
return (result);
const char msg2[] = "not a slave, mirror, or stub zone";
dns_zonetype_t type;
+ REQUIRE(text != NULL);
+
result = zone_from_args(server, lex, NULL, &zone, NULL, text, true);
if (result != ISC_R_SUCCESS) {
return (result);
const char *sep;
bool found;
+ REQUIRE(text != NULL);
+
/* Skip the command name. */
ptr = next_token(lex, NULL);
if (ptr == NULL) {
unsigned int used = isc_buffer_usedlength(*text);
bool first = true;
+ REQUIRE(text != NULL);
+
/* Skip the command name. */
ptr = next_token(lex, text);
if (ptr == NULL) {
isc_result_t result;
bool enable = true, set = true, first = true;
+ REQUIRE(text != NULL);
+
/* Skip the command name. */
ptr = next_token(lex, text);
if (ptr == NULL) {
char line[1024], hostname[256];
named_reload_t reload_status;
+ REQUIRE(text != NULL);
+
if (named_g_server->version_set) {
ob = " (";
cb = ")";
unsigned long i;
const unsigned char chars[] = "abcdefghijklmnopqrstuvwxyz0123456789";
+ REQUIRE(text != NULL);
+
/* Skip the command name. */
ptr = next_token(lex, text);
if (ptr == NULL) {
char target[DNS_NAME_FORMATSIZE];
char fbuf[16];
+ REQUIRE(text != NULL);
+
(void)next_token(lex, text); /* skip command name */
ptr = next_token(lex, text);
dns_view_t *view;
unsigned int foundkeys = 0;
+ REQUIRE(text != NULL);
+
for (view = ISC_LIST_HEAD(server->viewlist); view != NULL;
view = ISC_LIST_NEXT(view, link))
{
bool fullsign = false;
char *ptr;
+ REQUIRE(text != NULL);
+
ptr = next_token(lex, text);
if (ptr == NULL) {
return (ISC_R_UNEXPECTEDEND);
fullsign = true;
}
+ REQUIRE(text != NULL);
+
result = zone_from_args(server, lex, NULL, &zone, NULL, text, false);
if (result != ISC_R_SUCCESS) {
return (result);
const char *vname, *sep, *arg;
bool cleanup = false;
+ REQUIRE(text != NULL);
+
(void)next_token(lex, text);
arg = next_token(lex, text);
arg = next_token(lex, text);
}
+ REQUIRE(text != NULL);
+
result = zone_from_args(server, lex, arg, &zone, NULL, text, false);
if (result != ISC_R_SUCCESS) {
return (result);
bool frozen;
const char *msg = NULL;
+ REQUIRE(text != NULL);
+
result = zone_from_args(server, lex, NULL, &mayberaw, NULL, text, true);
if (result != ISC_R_SUCCESS) {
return (result);
*/
isc_result_t
named_smf_add_message(isc_buffer_t **text) {
+ REQUIRE(text != NULL);
+
return (putstr(text, "use svcadm(1M) to manage named"));
}
#endif /* HAVE_LIBSCF */
dns_fixedname_t fname;
dns_name_t *dnsname;
+ REQUIRE(text != NULL);
+
if (strncasecmp(command, "add", 3) == 0) {
addzone = true;
} else {
isc_event_t *dzevent = NULL;
isc_task_t *task = NULL;
+ REQUIRE(text != NULL);
+
/* Skip the command name. */
ptr = next_token(lex, text);
if (ptr == NULL) {
bool added, redirect;
ns_dzarg_t dzarg;
+ REQUIRE(text != NULL);
+
/* Parse parameters */
CHECK(zone_from_args(server, lex, NULL, &zone, zonename, text, true));
if (zone == NULL) {
const char *ptr;
size_t n;
+ REQUIRE(text != NULL);
+
dns_rdataset_init(&privset);
/* Skip the command name. */
dns_db_t *db = NULL;
dns_dbversion_t *version = NULL;
+ REQUIRE(text != NULL);
+
/* Skip the command name. */
ptr = next_token(lex, text);
if (ptr == NULL) {
char **incfiles = NULL;
int nfiles = 0;
+ REQUIRE(text != NULL);
+
isc_time_settoepoch(&loadtime);
isc_time_settoepoch(&refreshtime);
isc_time_settoepoch(&expiretime);
dns_rdataclass_t rdclass = dns_rdataclass_in;
bool first = true;
+ REQUIRE(text != NULL);
+
UNUSED(force);
fname = dns_fixedname_initname(&fn);
bool found = false;
bool first = true;
+ REQUIRE(text != NULL);
+
/* Skip rndc command name */
cmd = next_token(lex, text);
if (cmd == NULL) {
bool reopen = false;
int backups = 0;
+ REQUIRE(text != NULL);
+
if (server->dtenv == NULL) {
return (ISC_R_NOTFOUND);
}
isc_result_t result = ISC_R_SUCCESS;
bool exclusive = false;
+ REQUIRE(text != NULL);
+
/* Skip the command name. */
ptr = next_token(lex, text);
if (ptr == NULL) {