~ubuntu-branches/ubuntu/saucy/curl/saucy-201307251546

« back to all changes in this revision

Viewing changes to src/tool_easysrc.h

  • Committer: Package Import Robot
  • Author(s): Alessandro Ghedini
  • Date: 2012-03-23 16:24:51 UTC
  • mto: (3.6.1 experimental) (1.3.1)
  • mto: This revision was merged to the branch mainline in revision 59.
  • Revision ID: package-import@ubuntu.com-20120323162451-z4gstlabjkgnrh7h
Tags: upstream-7.25.0
ImportĀ upstreamĀ versionĀ 7.25.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 *                            | (__| |_| |  _ <| |___
8
8
 *                             \___|\___/|_| \_\_____|
9
9
 *
10
 
 * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
 
10
 * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
11
11
 *
12
12
 * This software is licensed as described in the file COPYING, which
13
13
 * you should have received as part of this distribution. The terms
22
22
 *
23
23
 ***************************************************************************/
24
24
#include "setup.h"
 
25
#ifndef CURL_DISABLE_LIBCURL_OPTION
25
26
 
26
27
/* global variable declarations, for easy-interface source code generation */
27
28
 
28
 
extern struct curl_slist *easysrc;
29
 
extern struct curl_slist *easysrc_remarks;
30
 
 
 
29
extern struct curl_slist *easysrc_decl; /* Variable declarations */
 
30
extern struct curl_slist *easysrc_data; /* Build slists, forms etc. */
 
31
extern struct curl_slist *easysrc_code; /* Setopt calls etc. */
 
32
extern struct curl_slist *easysrc_toohard; /* Unconvertible setopt */
 
33
extern struct curl_slist *easysrc_clean;  /* Clean up (reverse order) */
 
34
 
 
35
extern int easysrc_form_count;  /* Number of curl_httppost variables */
 
36
extern int easysrc_slist_count; /* Number of curl_slist variables */
 
37
 
 
38
extern CURLcode easysrc_init(void);
 
39
extern CURLcode easysrc_add(struct curl_slist **plist, const char *bupf);
 
40
extern CURLcode easysrc_addf(struct curl_slist **plist, const char *fmt, ...);
 
41
extern CURLcode easysrc_perform(void);
 
42
extern CURLcode easysrc_cleanup(void);
31
43
void dumpeasysrc(struct Configurable *config);
32
44
 
 
45
#endif /* CURL_DISABLE_LIBCURL_OPTION */
 
46
 
33
47
#endif /* HEADER_CURL_TOOL_EASYSRC_H */
34