tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

proto_cell.h (551B)


      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 proto_cell.h
      9 * @brief Header for proto_cell.c
     10 **/
     11 
     12 #ifndef TOR_PROTO_CELL_H
     13 #define TOR_PROTO_CELL_H
     14 
     15 struct buf_t;
     16 struct var_cell_t;
     17 
     18 int fetch_var_cell_from_buf(struct buf_t *buf, struct var_cell_t **out,
     19                            int linkproto);
     20 
     21 #endif /* !defined(TOR_PROTO_CELL_H) */