mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
parent
0bbe6eda34
commit
e8436d575e
9 changed files with 131 additions and 11 deletions
|
@ -49,6 +49,7 @@ typedef enum
|
|||
CURLOPT_POST,
|
||||
CURLOPT_POSTFIELDS,
|
||||
CURLOPT_FAILONERROR,
|
||||
CURLOPT_HTTPHEADER,
|
||||
CURLOPT_SRVTAG_GPG_HACK
|
||||
} CURLoption;
|
||||
|
||||
|
@ -67,6 +68,7 @@ typedef struct
|
|||
char *srvtag;
|
||||
unsigned int status;
|
||||
FILE *errors;
|
||||
struct curl_slist *headers;
|
||||
struct
|
||||
{
|
||||
unsigned int post:1;
|
||||
|
@ -96,4 +98,13 @@ char *curl_easy_escape(CURL *curl,char *str,int len);
|
|||
#define curl_version() "GnuPG curl-shim"
|
||||
curl_version_info_data *curl_version_info(int type);
|
||||
|
||||
struct curl_slist
|
||||
{
|
||||
STRLIST list;
|
||||
};
|
||||
|
||||
struct curl_slist *curl_slist_append(struct curl_slist *list,
|
||||
const char *string);
|
||||
void curl_slist_free_all(struct curl_slist *list);
|
||||
|
||||
#endif /* !_CURL_SHIM_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue