Lines Matching defs:cmdline
1044 char *cmdline = *cmdlinep;
1051 if (cmdline == NULL) {
1056 while (*cmdline != 0 && isspace((unsigned char)*cmdline))
1057 cmdline++;
1059 if (*cmdline != 0) {
1061 result = isc_lex_create(mctx, strlen(cmdline), &lex);
1063 isc_buffer_init(&source, cmdline, strlen(cmdline));
1064 isc_buffer_add(&source, strlen(cmdline));
1091 *cmdlinep = cmdline;
1096 make_prereq(char *cmdline, isc_boolean_t ispositive, isc_boolean_t isrrset) {
1113 retval = parse_name(&cmdline, updatemsg, &name);
1121 word = nsu_strsep(&cmdline, " \t\r\n");
1137 word = nsu_strsep(&cmdline, " \t\r\n");
1166 retval = parse_rdata(&cmdline, rdataclass, rdatatype,
1206 evaluate_prereq(char *cmdline) {
1211 word = nsu_strsep(&cmdline, " \t\r\n");
1232 return (make_prereq(cmdline, ispositive, isrrset));
1236 evaluate_server(char *cmdline) {
1240 word = nsu_strsep(&cmdline, " \t\r\n");
1247 word = nsu_strsep(&cmdline, " \t\r\n");
1275 evaluate_local(char *cmdline) {
1281 word = nsu_strsep(&cmdline, " \t\r\n");
1288 word = nsu_strsep(&cmdline, " \t\r\n");
1323 evaluate_key(char *cmdline) {
1337 namestr = nsu_strsep(&cmdline, " \t\r\n");
1361 secretstr = nsu_strsep(&cmdline, "\r\n");
1397 evaluate_zone(char *cmdline) {
1402 word = nsu_strsep(&cmdline, " \t\r\n");
1424 evaluate_realm(char *cmdline) {
1435 word = nsu_strsep(&cmdline, " \t\r\n");
1447 UNUSED(cmdline);
1453 evaluate_ttl(char *cmdline) {
1458 word = nsu_strsep(&cmdline, " \t\r\n");
1486 evaluate_class(char *cmdline) {
1492 word = nsu_strsep(&cmdline, " \t\r\n");
1519 update_addordelete(char *cmdline, isc_boolean_t isdelete) {
1537 retval = parse_name(&cmdline, updatemsg, &name);
1550 word = nsu_strsep(&cmdline, " \t\r\n");
1590 word = nsu_strsep(&cmdline, " \t\r\n");
1615 word = nsu_strsep(&cmdline, " \t\r\n");
1645 retval = parse_rdata(&cmdline, rdataclass, rdatatype, updatemsg,
1690 evaluate_update(char *cmdline) {
1695 word = nsu_strsep(&cmdline, " \t\r\n");
1708 return (update_addordelete(cmdline, isdelete));
1784 char *cmdline;
1794 cmdline = fgets(cmdlinebuf, MAXCMD, input);
1796 if (cmdline == NULL)
1802 tmp = cmdline;
1805 word = nsu_strsep(&cmdline, " \t\r\n");
1816 return (evaluate_prereq(cmdline));
1818 return (evaluate_update(cmdline));
1820 return (evaluate_server(cmdline));
1822 return (evaluate_local(cmdline));
1824 return (evaluate_zone(cmdline));
1826 return (evaluate_class(cmdline));
1837 return (evaluate_ttl(cmdline));
1849 return (evaluate_key(cmdline));
1852 return (evaluate_realm(cmdline));