blob: 99b8cefc6691776b5eb8b6122e9eb0d0ece13373 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/* Copyright (c) 2001, Matej Pfajfar.
* Copyright (c) 2001-2004, Roger Dingledine.
* Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
* Copyright (c) 2007-2021, 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) */
|