aboutsummaryrefslogtreecommitdiff
path: root/src/core/proto/proto_cell.h
blob: 4f3982ea43d92f94bba123b8642ab9971c90750e (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-2019, 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) */