| 1 | /* |
| 2 | * Printing interface for PuTTY. |
| 3 | */ |
| 4 | |
| 5 | #include <assert.h> |
| 6 | #include "putty.h" |
| 7 | |
| 8 | printer_job *printer_start_job(char *printer) |
| 9 | { |
| 10 | /* FIXME: open pipe to lpr */ |
| 11 | return NULL; |
| 12 | } |
| 13 | |
| 14 | void printer_job_data(printer_job *pj, void *data, int len) |
| 15 | { |
| 16 | /* FIXME: receive a pipe to lpr, write things to it */ |
| 17 | assert(!"We shouldn't get here"); |
| 18 | } |
| 19 | |
| 20 | void printer_finish_job(printer_job *pj) |
| 21 | { |
| 22 | /* FIXME: receive a pipe to lpr, close it */ |
| 23 | assert(!"We shouldn't get here either"); |
| 24 | } |