packet-spdy.h revision 3345a6884c488ff3a535c2c9acdd33d74b37e311
1/* packet-spdy.h 2 * 3 * Copyright 2010, Google Inc. 4 * Eric Shienbrood <ers@google.com> 5 * 6 * $Id$ 7 * 8 * Wireshark - Network traffic analyzer 9 * By Gerald Combs <gerald@wireshark.org> 10 * Copyright 1998 Gerald Combs 11 * 12 * This program is free software; you can redistribute it and/or 13 * modify it under the terms of the GNU General Public License 14 * as published by the Free Software Foundation; either version 2 15 * of the License, or (at your option) any later version. 16 * 17 * This program is distributed in the hope that it will be useful, 18 * but WITHOUT ANY WARRANTY; without even the implied warranty of 19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20 * GNU General Public License for more details. 21 * 22 * You should have received a copy of the GNU General Public License 23 * along with this program; if not, write to the Free Software 24 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 25 */ 26 27#ifndef __PACKET_SPDY_H__ 28#define __PACKET_SPDY_H__ 29#pragma once 30 31#include <epan/packet.h> 32#ifdef HAVE_LIBZ 33#include <zlib.h> 34#endif 35 36/* 37 * Conversation data - used for assembling multi-data-frame 38 * entities and for decompressing request & reply header blocks. 39 */ 40typedef struct _spdy_conv_t { 41 z_streamp rqst_decompressor; 42 z_streamp rply_decompressor; 43 guint32 dictionary_id; 44 GArray *streams; 45} spdy_conv_t; 46 47#endif /* __PACKET_SPDY_H__ */ 48