diff options
author | Daniel Pinto <danielpinto52@gmail.com> | 2020-07-17 18:22:51 +0100 |
---|---|---|
committer | Daniel Pinto <danielpinto52@gmail.com> | 2020-07-17 18:45:57 +0100 |
commit | 29307c0625fd6a95080d341b15646a4cd55b4178 (patch) | |
tree | bf8c816ec567ac96bb0cf5cbd18db53ee4df72e4 /src/lib/osinfo/libc.h | |
parent | a7226ca06e20356abb057c29416a9ad969c8d29d (diff) | |
download | tor-29307c0625fd6a95080d341b15646a4cd55b4178.tar.gz tor-29307c0625fd6a95080d341b15646a4cd55b4178.zip |
Add running glibc version to the log. #40047
Also adds the compiled and running glibc version when using the
--library-versions flag.
Diffstat (limited to 'src/lib/osinfo/libc.h')
-rw-r--r-- | src/lib/osinfo/libc.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/lib/osinfo/libc.h b/src/lib/osinfo/libc.h new file mode 100644 index 0000000000..f4303f8c9c --- /dev/null +++ b/src/lib/osinfo/libc.h @@ -0,0 +1,19 @@ +/* Copyright (c) 2001 Matej Pfajfar. + * Copyright (c) 2001-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 libc.h + * @brief Header for lib/osinfo/libc.c + **/ + +#ifndef TOR_LIB_OSINFO_LIBC_H +#define TOR_LIB_OSINFO_LIBC_H + +const char *tor_libc_get_name(void); +const char *tor_libc_get_version_str(void); +const char *tor_libc_get_header_version_str(void); + +#endif /* !defined(TOR_LIB_OSINFO_LIBC_H) */ |