[Bug 332468] New: Documentation of .curlrc syntax
https://bugzilla.novell.com/show_bug.cgi?id=332468 Summary: Documentation of .curlrc syntax Product: openSUSE 11.0 Version: unspecified Platform: All OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: Other AssignedTo: mmarek@novell.com ReportedBy: kmachalkova@novell.com QAContact: qa@suse.de Found By: --- Please document the syntax of .curlrc file e.g. somewhere in man page. Without reading the source code it's impossible to find out that all of the following curlrc entries are valid: long-option value --long-option value long-option = value --long-option = value long-option : value --long-option : value It would be useful to have this documentation not only for users who edit their curlrc files manually, but also for us, yast/zypp developers because we need to support all valid formats of .curlrc Please try to push the documentation also upstream -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=332468#c1
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=332468#c2
--- Comment #2 from Michal Marek
Michal, just a side question: is it possible to make use of .curlrc by libcurl? A quick look at main.c suggests there's no public API available for reading the .curlrc file, right?
Would it be possible to make the static int parseconfig(const char *filename, struct Configurable *config) and the struct Configurable a part of the libcurl API?
That's hardly possible, there's no 1:1 mapping between curl commandline options and curl_easy_setopt() options (eg. the commandline tool implements some features on it's own). Besides it would mean a rather fragile ABI (new features of the command-line tool changing struct Configurable). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=332468
Michal Marek
https://bugzilla.novell.com/show_bug.cgi?id=332468#c3
Michal Marek
https://bugzilla.novell.com/show_bug.cgi?id=332468#c4
Katarina Machalkova
https://bugzilla.novell.com/show_bug.cgi?id=332468
User mmarek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=332468#c5
Michal Marek
participants (1)
-
bugzilla_noreply@novell.com