aboutsummaryrefslogtreecommitdiff
path: root/src/or/proto_cell.h
blob: b29645e41d8aa44e8909e681fad365de8e4a0724 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* Copyright (c) 2001 Matej Pfajfar.
 * Copyright (c) 2001-2004, Roger Dingledine.
 * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
 * Copyright (c) 2007-2018, The Tor Project, Inc. */
/* See LICENSE for licensing information */

#ifndef TOR_PROTO_CELL_H
#define TOR_PROTO_CELL_H

struct buf_t;
struct var_cell_t;

int fetch_var_cell_from_buf(struct buf_t *buf, struct var_cell_t **out,
                            int linkproto);

#endif /* !defined(TOR_PROTO_CELL_H) */