GNU libmicrohttpd  0.9.29
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
alstructures.c
Go to the documentation of this file.
1 /*
2  This file is part of libmicrospdy
3  Copyright (C) 2012 Andrey Uzunov
4 
5  This program is free software: you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation, either version 3 of the License, or
8  (at your option) any later version.
9 
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License
16  along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18 
25 #include "platform.h"
26 #include "alstructures.h"
27 #include "internal.h"
28 
29 void
31 {
32  if(NULL == request)
33  {
34  SPDYF_DEBUG("request is NULL");
35  return;
36  }
37  //strings into request struct are just references to strings in
38  //headers, so no need to free them twice
40  free(request);
41 }
internal functions and macros for the framing layer
platform-specific includes for libmicrohttpd
return NULL
Definition: tsearch.c:30
structures only for the application layer
#define SPDYF_DEBUG(fmt,...)
Definition: internal.h:154
void SPDY_name_value_destroy(struct SPDY_NameValue *container)
Definition: structures.c:212
void SPDY_destroy_request(struct SPDY_Request *request)
Definition: alstructures.c:30
struct SPDY_NameValue * headers
Definition: alstructures.h:44