Skip to content

Commit

Permalink
options: provide meta-data about all easy options
Browse files Browse the repository at this point in the history
This is a generated table with information about all existing options
that curl_easy_setopt() might accept. The list contains the option name,
the option value and the option type.

The purpose is to provide detailed enough information to allow for
example libcurl bindings to get option information at run-time about
what options that exist and what of argument they expect.

THIS IS WORK IN PROGRESS, MEANT AS A DISCUSSION STARTING POINT. Not the
final version.
  • Loading branch information
bagder committed May 9, 2020
1 parent 92501a1 commit 5e05f4f
Show file tree
Hide file tree
Showing 4 changed files with 745 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/Makefile.inc
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ LIB_CFILES = altsvc.c amigaos.c asyn-ares.c asyn-thread.c base64.c \
sendf.c setopt.c sha256.c share.c slist.c smb.c smtp.c socketpair.c socks.c \
socks_gssapi.c socks_sspi.c speedcheck.c splay.c strcase.c strdup.c \
strerror.c strtok.c strtoofft.c system_win32.c telnet.c tftp.c timeval.c \
transfer.c urlapi.c version.c warnless.c wildcard.c x509asn1.c dynbuf.c
transfer.c urlapi.c version.c warnless.c wildcard.c x509asn1.c dynbuf.c \
options.c

LIB_HFILES = altsvc.h amigaos.h arpa_telnet.h asyn.h conncache.h connect.h \
content_encoding.h cookie.h curl_addrinfo.h curl_base64.h curl_ctype.h \
Expand All @@ -79,7 +80,7 @@ LIB_HFILES = altsvc.h amigaos.h arpa_telnet.h asyn.h conncache.h connect.h \
smb.h smtp.h sockaddr.h socketpair.h socks.h speedcheck.h splay.h strcase.h \
strdup.h strerror.h strtok.h strtoofft.h system_win32.h telnet.h tftp.h \
timeval.h transfer.h urlapi-int.h urldata.h warnless.h wildcard.h \
x509asn1.h dynbuf.h
x509asn1.h dynbuf.h options.h

LIB_RCFILES = libcurl.rc

Expand Down
Loading

0 comments on commit 5e05f4f

Please sign in to comment.