syslog-ng source
http-curl-header-list.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2002-2019 Balabit
3  * Copyright (c) 2019 Laszlo Budai <laszlo.budai@balabit.com>
4  *
5  *
6  * This program is free software; you can redistribute it and/or modify it
7  * under the terms of the GNU General Public License version 2 as published
8  * by the Free Software Foundation, or (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, write to the Free Software
17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18  *
19  * As an additional exemption you are allowed to compile & link against the
20  * OpenSSL libraries as published by the OpenSSL project. See the file
21  * COPYING for details.
22  *
23  */
24 
25 #ifndef HTTP_CURL_HEADER_LIST_H_INCLUDED
26 #define HTTP_CURL_HEADER_LIST_H_INCLUDED
27 
28 #include "list-adt.h"
29 
30 #pragma GCC diagnostic push
31 #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
32 #pragma GCC diagnostic ignored "-Wattribute-warning"
33 #define CURL_NO_OLDIES 1
34 #include <curl/curl.h>
35 #pragma GCC diagnostic pop
36 
37 List *http_curl_header_list_new(void);
38 struct curl_slist *http_curl_header_list_as_slist(List *list);
39 
40 #endif
struct curl_slist * http_curl_header_list_as_slist(List *list)
Definition: http-curl-header-list.c:92
List * http_curl_header_list_new(void)
Definition: http-curl-header-list.c:78