Skip to content

Instantly share code, notes, and snippets.

@tobiasschulz
Created December 17, 2018 03:27
Show Gist options
  • Save tobiasschulz/06220736d5dc4a79434bd2e8c6a09b57 to your computer and use it in GitHub Desktop.
Save tobiasschulz/06220736d5dc4a79434bd2e8c6a09b57 to your computer and use it in GitHub Desktop.
CURLcode curl_easy_setopt_sbyteptr(struct Curl_easy *data, CURLoption tag, int8_t* p)
{
return curl_easy_setopt(data, tag, p);
}
CURLcode curl_easy_setopt_byteptr(struct Curl_easy *data, CURLoption tag, uint8_t* p)
{
return curl_easy_setopt(data, tag, p);
}
CURLcode curl_easy_setopt_int(struct Curl_easy *data, CURLoption tag, int32_t p)
{
return curl_easy_setopt(data, tag, p);
}
CURLcode curl_easy_setopt_uint(struct Curl_easy *data, CURLoption tag, uint32_t p)
{
return curl_easy_setopt(data, tag, p);
}
CURLcode curl_easy_setopt_long(struct Curl_easy *data, CURLoption tag, int64_t p)
{
return curl_easy_setopt(data, tag, p);
}
CURLcode curl_easy_setopt_ulong(struct Curl_easy *data, CURLoption tag, uint64_t p)
{
return curl_easy_setopt(data, tag, p);
}
CURLcode curl_easy_setopt_voidptr(struct Curl_easy *data, CURLoption tag, void* p)
{
return curl_easy_setopt(data, tag, p);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment