Home | History | Annotate | Download | only in spdyshark
      1 /* packet-spdy.h
      2  *
      3  * Copyright 2010, Google Inc.
      4  * Eric Shienbrood <ers (at) google.com>
      5  *
      6  * $Id$
      7  *
      8  * Wireshark - Network traffic analyzer
      9  * By Gerald Combs <gerald (at) 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 
     30 #include <epan/packet.h>
     31 #ifdef HAVE_LIBZ
     32 #include <zlib.h>
     33 #endif
     34 
     35 /*
     36  * Conversation data - used for assembling multi-data-frame
     37  * entities and for decompressing request & reply header blocks.
     38  */
     39 typedef struct _spdy_conv_t {
     40     z_streamp rqst_decompressor;
     41     z_streamp rply_decompressor;
     42     guint32   dictionary_id;
     43     GArray    *streams;
     44 } spdy_conv_t;
     45 
     46 #endif /* __PACKET_SPDY_H__ */
     47