aboutsummaryrefslogtreecommitdiff
path: root/src/lib/term/getpass.h
blob: b080ad2473d6c1c8deda38e6453518f65ff3accf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* Copyright (c) 2003-2004, Roger Dingledine
 * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
 * Copyright (c) 2007-2020, The Tor Project, Inc. */
/* See LICENSE for licensing information */

/**
 * \file getpass.h
 * \brief Header for getpass.c
 **/

#ifndef TOR_GETPASS_H
#define TOR_GETPASS_H

#include "lib/cc/torint.h"

ssize_t tor_getpass(const char *prompt, char *output, size_t buflen);

#endif /* !defined(TOR_GETPASS_H) */