Re: fetch extension - use local filename from content-dispositionheader (new diff)



Dag-Erling Smørgrav wrote on Fri, Dec 30, 2005 at 08:55:21PM +0100:
> Martin Cracauer <cracauer@xxxxxxxx> writes:
> > DES, can you be more specific in what way I break the API?
>
> You changed the size of struct url_stat.

Not to argue but that is an ABI change, not an API one. I certainly
don't see how this qualifies as "disgusting" as you put it.

Ok, how about I change the inline struct to a
constructor/pointer-passing mechanism (with changed names) and we bump
the shared library version number?

That way fields can be added in an ABI and API backwards-compatible
manner in the future. The way it is organized right now libfetch
effectivly shields the application from HTTP headers and the API
chosen for header information transportation is locked against
extensions.

Martin
--
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Martin Cracauer <cracauer@xxxxxxxx> http://www.cons.org/cracauer/
FreeBSD - where you want to go, today. http://www.freebsd.org/
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Decrypting EFS file
    ... However, this API has a callback that must be fed with data from the file, ... INCLUDING the $EFS stream containing the encryption-related stuff. ... > DWORD m_dwVersionMinor; ... > struct EFS_ENTRY_HEADER ...
    (microsoft.public.windows.file_system)
  • Re: PInvoke TCHAR[] ??? Having trouble with this.
    ... |> Please show us your C# struct declaration, ... | public System.UInt32 DriverType; ... | internal struct SP_DEVINFO_DATA ... Try calling the API passing a IntPtr as third argument (change the API ...
    (microsoft.public.dotnet.languages.csharp)
  • [RFC: 2.6 patch] remove CODA_FS_OLD_API
    ... While fixing CONFIG_ leakages to the userspace kernel headers I ran into ... Especially considering that you have to choose at compile time which API ... struct coda_in_hdr { ...
    (Linux-Kernel)
  • [RFC: 2.6 patch] remove CODA_FS_OLD_API
    ... While fixing CONFIG_ leakages to the userspace kernel headers I ran into ... Especially considering that you have to choose at compile time which API ... struct coda_in_hdr { ...
    (Linux-Kernel)
  • MC++ Question
    ... With a Managed class, if I'm #including a Windows SDK header file, and call ... generates a for each API call that I make. ... my Managed class, I can't just pass it in to the API call, right? ... that the compiler generates an empty stub of each struct I use from the SDK ...
    (microsoft.public.dotnet.languages.vc)