null-socket.c 273 B

12345678910111213
  1. /*
  2. * null-socket.c: provide a null implementation of any Socket vtable
  3. * method that might otherwise need to be reimplemented in multiple
  4. * places as a no-op.
  5. */
  6. #include "putty.h"
  7. SocketEndpointInfo *nullsock_endpoint_info(Socket *s, bool peer)
  8. {
  9. return NULL;
  10. }