Lines Matching refs:cmd
81 if (tseg->cmd != NULL && tseg->direct == ISC_TRUE)
82 free(tseg->cmd);
142 tseg->cmd = NULL;
153 tseg->cmd = strdup(strsep(&right_str, "$"));
154 if (tseg->cmd == NULL) {
159 /* tseg->cmd points directly to a string. */
161 tseg->strlen = strlen(tseg->cmd);
164 if (strcasecmp(tseg->cmd, "zone") == 0) {
169 free(tseg->cmd);
170 /* set tseg->cmd to in-direct zone string */
171 tseg->cmd = (char**) zone;
173 /* tseg->cmd points in-directly to a string */
177 } else if (strcasecmp(tseg->cmd, "record") == 0) {
182 free(tseg->cmd);
183 /* set tseg->cmd to in-direct record string */
184 tseg->cmd = (char**) record;
186 /* tseg->cmd points in-directly poinsts to a string */
190 } else if (strcasecmp(tseg->cmd, "client") == 0) {
195 free(tseg->cmd);
196 /* set tseg->cmd to in-direct record string */
197 tseg->cmd = (char**) client;
199 /* tseg->cmd points in-directly poinsts to a string */
280 length += strlen(* (char**) tseg->cmd);
295 strcat(qs, tseg->cmd);
298 strcat(qs, * (char**) tseg->cmd);