OSDN Git Service

Fix bugs of simultaneous connection.
[ffftp/ffftp.git] / putty / NOPRINT.C
1 /*\r
2  * Stub implementation of the printing interface for PuTTY, for the\r
3  * benefit of non-printing terminal applications.\r
4  */\r
5 \r
6 #include <assert.h>\r
7 #include <stdio.h>\r
8 #include "putty.h"\r
9 \r
10 struct printer_job_tag {\r
11     int dummy;\r
12 };\r
13 \r
14 printer_job *printer_start_job(char *printer)\r
15 {\r
16     return NULL;\r
17 }\r
18 \r
19 void printer_job_data(printer_job *pj, void *data, int len)\r
20 {\r
21 }\r
22 \r
23 void printer_finish_job(printer_job *pj)\r
24 {\r
25 }\r
26 \r
27 printer_enum *printer_start_enum(int *nprinters_ptr)\r
28 {\r
29     *nprinters_ptr = 0;\r
30     return NULL;\r
31 }\r
32 char *printer_get_name(printer_enum *pe, int i)\r
33 {\r
34     return NULL;\r
35 }\r
36 void printer_finish_enum(printer_enum *pe)\r
37 {\r
38 }\r