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

/**
 * @file proto_cell.h
 * @brief Header for proto_cell.c
 **/

#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) */