Lines Matching refs:printer
822 print_option(opt, mainopt, printer, arg)
824 void (*printer) __P((void *, char *, ...));
839 printer(arg, "%s", opt->name);
847 printer(arg, "%s", opt->name);
851 printer(arg, " %s", opt->name);
853 printer(arg, " # oops: %d not %d\n",
857 printer(arg, "%s %d", opt->name, i);
861 printer(arg, "%s", opt->name);
863 printer(arg, " %x", *(u_int32_t *)opt->addr);
874 printer(arg, "%s %q", opt->name, p);
881 printer(arg, "%s", opt->name);
884 printer(arg, " ");
891 (*oprt)(opt, printer, arg);
896 printer("%q", p);
902 printer(arg, "%q", ovp->value);
905 printer(arg, "\t\t# (from %s)\n%s ",
909 printer(arg, "xxx # [don't know how to print value]");
914 printer(arg, "# %s value (type %d??)", opt->name, opt->type);
917 printer(arg, "\t\t# (from %s)\n", mainopt->source);
925 print_option_list(opt, printer, arg)
927 void (*printer) __P((void *, char *, ...));
933 print_option(opt + opt->winner, opt, printer, arg);
944 print_options(printer, arg)
945 void (*printer) __P((void *, char *, ...));
951 printer(arg, "pppd options in effect:\n");
952 print_option_list(general_options, printer, arg);
953 print_option_list(auth_options, printer, arg);
955 print_option_list(list->options, printer, arg);
956 print_option_list(the_channel->options, printer, arg);
958 print_option_list(protocols[i]->options, printer, arg);