mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-26 07:31:33 +01:00
23 lines
617 B
C
23 lines
617 B
C
/* Copyright (c) 2001, Matej Pfajfar.
|
|
* Copyright (c) 2001-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 escape.h
|
|
* \brief Header for escape.c
|
|
**/
|
|
|
|
#ifndef TOR_ESCAPE_H
|
|
#define TOR_ESCAPE_H
|
|
|
|
#include "orconfig.h"
|
|
#include "lib/cc/compat_compiler.h"
|
|
#include <stddef.h>
|
|
|
|
char *esc_for_log(const char *string) ATTR_MALLOC;
|
|
char *esc_for_log_len(const char *chars, size_t n) ATTR_MALLOC;
|
|
const char *escaped(const char *string);
|
|
|
|
#endif /* !defined(TOR_ESCAPE_H) */
|