00001 /* 00002 This file is part of libmicrospdy 00003 Copyright (C) 2012 Andrey Uzunov 00004 00005 This program is free software: you can redistribute it and/or modify 00006 it under the terms of the GNU General Public License as published by 00007 the Free Software Foundation, either version 3 of the License, or 00008 (at your option) any later version. 00009 00010 This program is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 GNU General Public License for more details. 00014 00015 You should have received a copy of the GNU General Public License 00016 along with this program. If not, see <http://www.gnu.org/licenses/>. 00017 */ 00018 00025 #ifndef STREAM_H 00026 #define STREAM_H 00027 00028 #include "platform.h" 00029 00030 00043 int 00044 SPDYF_stream_new (struct SPDY_Session *session); 00045 00046 00052 void 00053 SPDYF_stream_destroy(struct SPDYF_Stream *stream); 00054 00055 00062 void 00063 SPDYF_stream_set_flags_on_write(struct SPDYF_Response_Queue *response_queue); 00064 00065 00073 struct SPDYF_Stream * 00074 SPDYF_stream_find(uint32_t stream_id, struct SPDY_Session * session); 00075 00076 #endif