1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00:00
putty-source/stubs/noprint.c
Simon Tatham d13547d504 Move some more files into subdirectories.
While I'm in the mood for cleaning up the top-level directory here:
all the 'nostuff.c' files have moved into a new 'stubs' directory, and
I broke up be_misc.c into smaller modules that can live in 'utils'.
2021-11-23 18:52:15 +00:00

39 lines
631 B
C

/*
* Stub implementation of the printing interface for PuTTY, for the
* benefit of non-printing terminal applications.
*/
#include <assert.h>
#include <stdio.h>
#include "putty.h"
struct printer_job_tag {
int dummy;
};
printer_job *printer_start_job(char *printer)
{
return NULL;
}
void printer_job_data(printer_job *pj, const void *data, size_t len)
{
}
void printer_finish_job(printer_job *pj)
{
}
printer_enum *printer_start_enum(int *nprinters_ptr)
{
*nprinters_ptr = 0;
return NULL;
}
char *printer_get_name(printer_enum *pe, int i)
{
return NULL;
}
void printer_finish_enum(printer_enum *pe)
{
}