Re: Adding a new --option to the tool

2023-08-28 Thread Daniel Stenberg via curl-library
On Mon, 28 Aug 2023, Florents Tselai wrote: Then again, it would also be an option to keep only two files tool_warc.c and tool_warc.h in the tool directory. Which means not tweaking the curl.h header at all and hence not making it available through curl.h Which is probably more orthogonal; I

Re: Adding a new --option to the tool

2023-08-28 Thread Florents Tselai via curl-library
> On 28 Aug 2023, at 8:24 PM, Daniel Stenberg wrote: > > On Mon, 28 Aug 2023, Florents Tselai via curl-library wrote: > >> For reference you could check the last commit here >> https://github.com/Florents-Tselai/curl/commit/d6ce0b1a0c619f8df1fb61a2638848d25e2aab75 > > You have not added

Re: Adding a new --option to the tool

2023-08-28 Thread Dan Fandrich via curl-library
On Mon, Aug 28, 2023 at 08:11:14PM +0300, Florents Tselai via curl-library wrote: > Is there any documentation / how to on the process I’d need to follow to add a > new option to the tool ? > Particularly the sequence of files / function / macros I’d need to There are lots of documentation in

Re: Adding a new --option to the tool

2023-08-28 Thread Daniel Stenberg via curl-library
On Mon, 28 Aug 2023, Florents Tselai via curl-library wrote: For reference you could check the last commit here https://github.com/Florents-Tselai/curl/commit/d6ce0b1a0c619f8df1fb61a2638848d25e2aab75 You have not added code in src/tool_getparam.c:getparameter() that actually does something

Adding a new --option to the tool

2023-08-28 Thread Florents Tselai via curl-library
Hello, Is there any documentation / how to on the process I’d need to follow to add a new option to the tool ? Particularly the sequence of files / function / macros I’d need to I’m trying to $subject and I’m having trouble getting the process right. Specifically I’m working on a new - -