Tor
0.4.9.2-alpha-dev
Toggle main menu visibility
Main Page
Related Pages
Modules
Data Structures
Data Structures
Data Structure Index
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
b
c
d
f
g
h
l
m
n
o
p
r
s
v
Enumerations
a
b
c
d
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerator
a
b
c
d
e
g
h
i
m
n
o
p
q
r
s
t
v
w
Macros
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
lib
tls
buffers_tls.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 buffers_tls.h
9
* \brief Header for buffers_tls.c
10
**/
11
12
#ifndef TOR_BUFFERS_TLS_H
13
#define TOR_BUFFERS_TLS_H
14
15
struct
buf_t;
16
struct
tor_tls_t
;
17
18
int
buf_read_from_tls
(
struct
buf_t *buf,
19
struct
tor_tls_t
*tls,
size_t
at_most);
20
int
buf_flush_to_tls
(
struct
buf_t *buf,
struct
tor_tls_t
*tls,
21
size_t
sz);
22
23
#endif
/* !defined(TOR_BUFFERS_TLS_H) */
buf_flush_to_tls
int buf_flush_to_tls(struct buf_t *buf, struct tor_tls_t *tls, size_t sz)
Definition:
buffers_tls.c:138
buf_read_from_tls
int buf_read_from_tls(struct buf_t *buf, struct tor_tls_t *tls, size_t at_most)
Definition:
buffers_tls.c:67
tor_tls_t
Definition:
tortls_st.h:41
Generated by
1.9.4