[pacman-dev] [PATCH 0/5] Make several struct types public

Allan McRae allan at archlinux.org
Sun Jun 19 00:32:46 EDT 2011


On 17/06/11 03:01, Dan McGee wrote:
> I was starting to hack a bit today on the files and backup lists we have in the
> package to make them a bit more full featured:
>   * files lists would have mode and size fields
>   * backup entries would be split ahead of time, like deps and deltas
>
> And realized I didn't want to add another 30 methods to the API just to follow
> the current trend. So here is my patch series at reversing the status quo and
> bringing a hint of sanity back into how we do things. There are now only four
> opaque struct types left, and I don't see those changing anytime soon
> (pmhandle_t, pmtrans_t, pmpkg_t, pmdb_t).
>
> Feedback welcome.

Seems a reasonable thing to do.  And now seems a good time to change the 
API as much as we want given what is already done.

Allan


More information about the pacman-dev mailing list