aboutsummaryrefslogtreecommitdiff
path: root/src/lib/term/getpass.h
blob: a9c146ea8f89a7ca4a53f8fb916076333463385f (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-2019, 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