tor  0.4.0.1-alpha
rend_service_descriptor_st.h
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-2019, The Tor Project, Inc. */
5 /* See LICENSE for licensing information */
6 
7 #ifndef REND_SERVICE_DESCRIPTOR_ST_H
8 #define REND_SERVICE_DESCRIPTOR_ST_H
9 
10 #define REND_PROTOCOL_VERSION_BITMASK_WIDTH 16
11 
16  int version;
17  time_t timestamp;
20  unsigned protocols : REND_PROTOCOL_VERSION_BITMASK_WIDTH;
31 };
32 
33 #endif
34