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.