be_ssh.c 469 B

12345678910111213141516171819
  1. /*
  2. * Linking module for programs that are restricted to only using
  3. * SSH-type protocols (pscp and psftp). These still have a choice of
  4. * two actual backends, because they can also speak PROT_SSHCONN.
  5. */
  6. #include <stdio.h>
  7. #include "putty.h"
  8. const int be_default_protocol = PROT_SSH;
  9. const struct BackendVtable *const backends[] = {
  10. &ssh_backend,
  11. &sshconn_backend,
  12. NULL
  13. };
  14. const size_t n_ui_backends = 0; /* not used in programs with a config UI */