curl / Mailing Lists / curl-library / Single Mail

curl-library

[PATCH 0/5] Add some curl*va() API functions

From: Ioan-Adrian Ratiu <adrian.ratiu_at_ni.com>
Date: Fri, 20 Jan 2017 17:42:39 +0200

These API functions with a va_list parameter are in addition to the
existing functions using "..." and are useful in case the library-caller is
also a function getting "..." variable arguments, so the caller can pass its
args to the library using the va-list. Doing this is impossible with the
existing libcurl "..." functions because the caller has no way of passing
its "..." args except by using a va_args list.

Ioan-Adrian Ratiu (5):
  curl_easy_getinfo: Add va() API function
  curl_easy_setopt: Add va() API function
  curl_formadd: Add va() API function
  curl_multi_setopt: Add va() API function
  curl_share_setopt: Add va() API function

 docs/libcurl/curl_easy_getinfo.3 | 7 ++++++-
 docs/libcurl/curl_easy_setopt.3 | 6 +++++-
 docs/libcurl/curl_formadd.3 | 5 ++++-
 docs/libcurl/curl_multi_setopt.3 | 6 +++++-
 docs/libcurl/curl_share_setopt.3 | 6 +++++-
 include/curl/curl.h | 7 ++++++-
 include/curl/easy.h | 8 +++++++-
 include/curl/multi.h | 5 ++++-
 lib/easy.c | 44 +++++++++++++++++++++++++++-------------
 lib/formdata.c | 12 +++++++++--
 lib/multi.c | 22 ++++++++++++++------
 lib/share.c | 18 +++++++++++-----
 12 files changed, 111 insertions(+), 35 deletions(-)

-- 
2.11.0
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2017-01-20