Page Speed Optimization Libraries  1.3.25.1
net/instaweb/apache/interface_mod_spdy.h
Go to the documentation of this file.
00001 // Copyright 2012 Google Inc.
00018 
00019 #ifndef NET_INSTAWEB_APACHE_INTERFACE_MOD_SPDY_H_
00020 #define NET_INSTAWEB_APACHE_INTERFACE_MOD_SPDY_H_
00021 
00022 #include "util_filter.h"
00023 
00024 #include "third_party/mod_spdy/src/mod_spdy/apache/slave_connection_api.h"
00025 
00026 struct conn_rec;
00027 
00028 namespace net_instaweb {
00029 
00031 void attach_mod_spdy();
00032 
00035 int mod_spdy_get_spdy_version(conn_rec* conn);
00036 
00043 spdy_slave_connection_factory* mod_spdy_create_slave_connection_factory(
00044     conn_rec* master_connection);
00045 void mod_spdy_destroy_slave_connection_factory(
00046     spdy_slave_connection_factory* factory);
00047 
00048 spdy_slave_connection* mod_spdy_create_slave_connection(
00049     spdy_slave_connection_factory* factory,
00050     ap_filter_rec_t* input_filter,
00051     void* input_filter_ctx,
00052     ap_filter_rec_t* output_filter,
00053     void* output_filter_ctx);
00054 
00055 void mod_spdy_run_slave_connection(spdy_slave_connection* conn);
00056 void mod_spdy_destroy_slave_connection(spdy_slave_connection* conn);
00057 
00060 bool mod_ssl_is_https(conn_rec* conn);
00061 
00062 }  
00063 
00064 #endif  ///< NET_INSTAWEB_APACHE_INTERFACE_MOD_SPDY_H_
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines