/* Copyright (c) 2003-2004, Roger Dingledine * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson. * Copyright (c) 2007-2018, The Tor Project, Inc. */ /* See LICENSE for licensing information */ /** * \file userdb.h * * \brief Header for userdb.c **/ #ifndef TOR_USERDB_H #define TOR_USERDB_H #include "orconfig.h" #ifndef _WIN32 #include struct passwd; const struct passwd *tor_getpwnam(const char *username); const struct passwd *tor_getpwuid(uid_t uid); char *get_user_homedir(const char *username); #endif #endif