File-level summary documentation for src/lib/*/*.[ch]

This commit is contained in:
Nick Mathewson
2018-07-10 12:22:01 -04:00
parent 4793d91350
commit 4f42c923d6
84 changed files with 428 additions and 27 deletions
+5
View File
@@ -3,6 +3,11 @@
* Copyright (c) 2007-2018, The Tor Project, Inc. */
/* See LICENSE for licensing information */
/**
* \file compat_ctype.c
* \brief Locale-independent character-type inspection (backend)
**/
#include "lib/string/compat_ctype.h"
/**
+5
View File
@@ -3,6 +3,11 @@
* Copyright (c) 2007-2018, The Tor Project, Inc. */
/* See LICENSE for licensing information */
/**
* \file compat_ctype.h
* \brief Locale-independent character-type inspection (header)
**/
#ifndef TOR_COMPAT_CTYPE_H
#define TOR_COMPAT_CTYPE_H
+6
View File
@@ -3,6 +3,12 @@
* Copyright (c) 2007-2018, The Tor Project, Inc. */
/* See LICENSE for licensing information */
/**
* \file compat_string.c
* \brief Useful string-processing functions that some platforms don't
* provide.
**/
#include "lib/string/compat_string.h"
#include "lib/err/torerr.h"
+5
View File
@@ -3,6 +3,11 @@
* Copyright (c) 2007-2018, The Tor Project, Inc. */
/* See LICENSE for licensing information */
/**
* \file compat_string.h
* \brief Header for compat_string.c
**/
#ifndef TOR_COMPAT_STRING_H
#define TOR_COMPAT_STRING_H
+5
View File
@@ -3,6 +3,11 @@
* Copyright (c) 2007-2018, The Tor Project, Inc. */
/* See LICENSE for licensing information */
/**
* \file parse_int.c
* \brief Convert strings into the integers they encode, with bounds checking.
**/
#include "lib/string/parse_int.h"
#include <errno.h>
+5
View File
@@ -3,6 +3,11 @@
* Copyright (c) 2007-2018, The Tor Project, Inc. */
/* See LICENSE for licensing information */
/**
* \file parse_int.h
* \brief Header for parse_int.c
**/
#ifndef TOR_PARSE_INT_H
#define TOR_PARSE_INT_H
+5
View File
@@ -3,6 +3,11 @@
* Copyright (c) 2007-2018, The Tor Project, Inc. */
/* See LICENSE for licensing information */
/**
* \file printf.c
* \brief Compatibility wrappers around snprintf and its friends
**/
#include "lib/string/printf.h"
#include "lib/err/torerr.h"
#include "lib/cc/torint.h"
+5
View File
@@ -3,6 +3,11 @@
* Copyright (c) 2007-2018, The Tor Project, Inc. */
/* See LICENSE for licensing information */
/**
* \file printf.h
* \brief Header for printf.c
**/
#ifndef TOR_UTIL_PRINTF_H
#define TOR_UTIL_PRINTF_H
+5
View File
@@ -3,6 +3,11 @@
* Copyright (c) 2007-2018, The Tor Project, Inc. */
/* See LICENSE for licensing information */
/**
* \file scanf.c
* \brief Locale-independent minimal implementation of sscanf().
**/
#include "lib/string/scanf.h"
#include "lib/string/compat_ctype.h"
#include "lib/cc/torint.h"
+5
View File
@@ -3,6 +3,11 @@
* Copyright (c) 2007-2018, The Tor Project, Inc. */
/* See LICENSE for licensing information */
/**
* \file scanf.h
* \brief Header for scanf.c
**/
#ifndef TOR_UTIL_SCANF_H
#define TOR_UTIL_SCANF_H
+5
View File
@@ -3,6 +3,11 @@
* Copyright (c) 2007-2018, The Tor Project, Inc. */
/* See LICENSE for licensing information */
/**
* \file util_string.c
* \brief Non-standard string functions used throughout Tor.
**/
#include "lib/string/util_string.h"
#include "lib/string/compat_ctype.h"
#include "lib/err/torerr.h"
+5
View File
@@ -3,6 +3,11 @@
* Copyright (c) 2007-2018, The Tor Project, Inc. */
/* See LICENSE for licensing information */
/**
* \file util_string.h
* \brief Header for util_string.c
**/
#ifndef TOR_UTIL_STRING_H
#define TOR_UTIL_STRING_H