getpass.h 416 B

123456789101112131415161718
  1. /* Copyright (c) 2003-2004, Roger Dingledine
  2. * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
  3. * Copyright (c) 2007-2018, The Tor Project, Inc. */
  4. /* See LICENSE for licensing information */
  5. /**
  6. * \file getpass.h
  7. * \brief Header for getpass.c
  8. **/
  9. #ifndef TOR_GETPASS_H
  10. #define TOR_GETPASS_H
  11. #include "lib/cc/torint.h"
  12. ssize_t tor_getpass(const char *prompt, char *output, size_t buflen);
  13. #endif