Home | History | Annotate | Download | only in rpcgen

Lines Matching refs:f_print

316 	f_print(fout, "/*\n");
317 f_print(fout, " * Please do not edit this file.\n");
318 f_print(fout, " * It was generated using rpcgen.\n");
319 f_print(fout, " */\n\n");
431 f_print(stderr, "illegal nettype :\'%s\'\n", name);
453 f_print(fout, "#include \"%s\"\n", include);
457 f_print(fout, "#include <rpc/rpc.h>\n");
578 f_print(fout, "#ifndef _%s\n#define _%s\n\n", guard,
581 f_print(fout, "#define RPCGEN_VERSION\t%s\n\n", RPCGEN_VERSION);
582 f_print(fout, "#include <rpc/rpc.h>\n\n");
606 f_print(fout, rpcgen_table_dcl);
608 f_print(fout, "\n#endif /* !_%s */\n", guard);
631 f_print(fout, "#include \"%s\"\n", include);
634 f_print(fout, "#include <rpc/rpc.h>\n");
636 f_print(fout, "#include <sys/ioctl.h>\n");
637 f_print(fout, "#include <fcntl.h>\n");
638 f_print(fout, "#include <stdio.h>\n");
639 f_print(fout, "#include <err.h>\n");
640 f_print(fout, "#include <stdlib.h>\n");
641 f_print(fout, "#include <unistd.h>\n");
642 f_print(fout, "#include <rpc/pmap_clnt.h>\n");
643 f_print
644 f_print(fout, "#include <netdb.h>\n");
652 f_print(fout, "#include <signal.h>\n");
656 f_print(fout, "#include <sys/ttycom.h>\n");
658 f_print(fout, "#ifdef __cplusplus\n");
659 f_print(fout, "#include <sysent.h>\n");
660 f_print(fout, "#endif /* __cplusplus */\n");
663 f_print(fout, "#include <sys/types.h>\n");
665 f_print(fout, "#include <memory.h>\n");
668 f_print(fout, "#include <sys/socket.h>\n");
669 f_print(fout, "#include <netinet/in.h>\n");
672 f_print(fout, "#include <netconfig.h>\n");
675 f_print(fout, "#include <sys/resource.h>\n");
677 f_print(fout, "#include <syslog.h>\n");
679 f_print(fout, "\n#define SIG_PF void(*)(int)\n");
681 f_print(fout, "\n#ifdef DEBUG\n#define RPC_SVC_FG\n#endif\n");
683 f_print(fout, "\n#define _RPCSVC_CLOSEDOWN %s\n", svcclosetime);
692 f_print(fout, "\nstatic SVCXPRT *caller;\n"); /* EVAS */
719 f_print(fout, "#include <memory.h>\n");
721 f_print(fout, "#include \"%s\"\n", include);
724 f_print(fout, "#include <rpc/rpc.h>\n");
777 f_print(fout, "#include \"%s\"\n", include);
780 f_print(fout, "#include <rpc/rpc.h>\n");
811 f_print(fout, "#include <stdio.h>\n");
812 f_print(fout, "#include <err.h>\n");
814 f_print(fout, "#include \"%s\"\n", include);
817 f_print(fout, "#include <rpc/rpc.h>\n");
946 f_print(stderr, "Cannot specify more than one input file!\n");
1096 f_print(stderr, "Cannot use netid flag with inetd flag!\n");
1103 f_print(stderr, "Cannot use netid flag without TIRPC!\n");
1109 f_print(stderr, "Cannot use table flags with newstyle!\n");
1122 f_print(stderr, "Cannot have more than one file generation flag!\n");
1131 f_print(stderr, "usage: %s infile\n", cmdname);
1132 f_print(stderr, "\t%s [-AaBbILMNTv] [-Dname[=value]] [-i size] [-K seconds] [-Y pathname] infile\n",
1134 f_print(stderr, "\t%s [-c | -h | -l | -m | -t | -Sc | -Ss] [-o outfile] [infile]\n",
1136 f_print(stderr, "\t%s [-s nettype] [-o outfile] [infile]\n", cmdname);
1137 f_print(stderr, "\t%s [-n netid] [-o outfile] [infile]\n", cmdname);
1145 f_print(stderr, "options:\n");
1146 f_print(stderr, "-A\t\tgenerate svc_caller() function\n");
1147 f_print(stderr, "-a\t\tgenerate all files, including samples\n");
1148 f_print(stderr, "-B\t\tgenerate BSD c++ macros\n");
1149 f_print(stderr, "-b\t\tbackward compatibility mode (generates code for SunOS 4.1)\n");
1150 f_print(stderr, "-c\t\tgenerate XDR routines\n");
1151 f_print(stderr, "-Dname[=value]\tdefine a symbol (same as #define)\n");
1152 f_print(stderr, "-h\t\tgenerate header file\n");
1153 f_print(stderr, "-I\t\tgenerate code for inetd support in server (for SunOS 4.1)\n");
1154 f_print(stderr, "-i size\t\tsize at which to start generating inline code\n");
1155 f_print(stderr, "-K seconds\tserver exits after K seconds of inactivity\n");
1156 f_print(stderr, "-L\t\tserver errors will be printed to syslog\n");
1157 f_print(stderr, "-l\t\tgenerate client side stubs\n");
1158 f_print(stderr, "-M\t\tgenerate thread-safe stubs\n");
1159 f_print(stderr, "-m\t\tgenerate server side stubs\n");
1160 f_print(stderr, "-N\t\tsupports multiple arguments and call-by-value\n");
1161 f_print(stderr, "-n netid\tgenerate server code that supports named netid\n");
1162 f_print(stderr, "-o outfile\tname of the output file\n");
1163 f_print(stderr, "-s nettype\tgenerate server code that supports named nettype\n");
1164 f_print(stderr, "-Sc\t\tgenerate sample client code that uses remote procedures\n");
1165 f_print(stderr, "-Ss\t\tgenerate sample server code that defines remote procedures\n");
1166 f_print(stderr, "-T\t\tgenerate code to support RPC dispatch tables\n");
1167 f_print(stderr, "-t\t\tgenerate RPC dispatch table\n");
1168 f_print(stderr, "-v\t\tdisplay version number\n");
1169 f_print(stderr, "-Y path\t\tdirectory name to find C preprocessor (cpp)\n");