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]");
915 printer(arg, "# %s value (type %d ?)", opt->name, opt->type);
918 printer(arg, "\t\t# (from %s)\n", mainopt->source);
926 print_option_list(opt, printer, arg)
928 void (*printer) __P((void *, char *, ...));
934 print_option(opt + opt->winner, opt, printer, arg);
945 print_options(printer, arg)
946 void (*printer) __P((void *, char *, ...));
952 printer(arg, "pppd options in effect:\n");
953 print_option_list(general_options, printer, arg);
954 print_option_list(auth_options, printer, arg);
956 print_option_list(list->options, printer, arg);
957 print_option_list(the_channel->options, printer, arg);
959 print_option_list(protocols[i]->options, printer, arg);