no-cmdline.c 643 B

1234567891011121314151617181920212223
  1. /*
  2. * no-cmdline.c - stubs in applications which don't do the
  3. * standard(ish) PuTTY tools' command-line parsing
  4. */
  5. #include <stdio.h>
  6. #include <assert.h>
  7. #include <stdlib.h>
  8. #include "putty.h"
  9. /*
  10. * Stub version of the function in cmdline.c which provides the
  11. * password to SSH authentication by remembering it having been passed
  12. * as a command-line option. If we're not doing normal command-line
  13. * handling, then there is no such option, so that function always
  14. * returns failure.
  15. */
  16. SeatPromptResult cmdline_get_passwd_input(
  17. prompts_t *p, cmdline_get_passwd_input_state *state, bool restartable)
  18. {
  19. return SPR_INCOMPLETE;
  20. }