mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 01:18:00 +00:00
6a1b713e13
I made a specific subdirectory 'stubs' to keep all the link-time stub modules in, like notiming.c. And I put _one_ run-time stub in it, namely nullplug.c. But the rest of the runtime stubs went into utils. I think it's better to keep all the stubs together, so I've moved all the null*.c in utils into stubs (with the exception of nullstrcmp.c, which means the 'null' in a different sense). Also, fiddled with the naming to be a bit more consistent, and stated in the new CMakeLists the naming policy that distinguishes no-*.c from null-*.c.
17 lines
323 B
C
17 lines
323 B
C
/*
|
|
* Stubs of functions in terminal.c, for use in programs that don't
|
|
* have a terminal.
|
|
*/
|
|
|
|
#include "putty.h"
|
|
#include "terminal.h"
|
|
|
|
void term_nopaste(Terminal *term)
|
|
{
|
|
}
|
|
|
|
SeatPromptResult term_get_userpass_input(Terminal *term, prompts_t *p)
|
|
{
|
|
return SPR_SW_ABORT("No terminal to send interactive prompts to");
|
|
}
|