Tor  0.4.7.0-alpha-dev
nickname.h
Go to the documentation of this file.
1 /* Copyright (c) 2001 Matej Pfajfar.
2  * Copyright (c) 2001-2004, Roger Dingledine.
3  * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
4  * Copyright (c) 2007-2021, The Tor Project, Inc. */
5 /* See LICENSE for licensing information */
6 
7 /**
8  * \file nickname.h
9  * \brief Header file for nickname.c.
10  **/
11 
12 #ifndef TOR_NICKNAME_H
13 #define TOR_NICKNAME_H
14 
15 int is_legal_nickname(const char *s);
16 int is_legal_nickname_or_hexdigest(const char *s);
17 int is_legal_hexdigest(const char *s);
18 
19 #endif /* !defined(TOR_NICKNAME_H) */
int is_legal_nickname(const char *s)
Definition: nickname.c:19
int is_legal_nickname_or_hexdigest(const char *s)
Definition: nickname.c:31
int is_legal_hexdigest(const char *s)
Definition: nickname.c:45