[pacman-dev] alpm_list_* functions : public or private ?
Dan McGee
dpmcgee at gmail.com
Wed Jul 18 17:45:41 EDT 2007
On 7/18/07, Xavier <shiningxc at gmail.com> wrote:
> The functions in alpm_list.c all start with alpm_list_,
> but some of them don't have SYMEXPORT.
>
> By reading the rest of the code, I assumed that :
> _alpm_* == private
> alpm_* == public (so with SYMEXPORT)
Correct.
> Is this a real rule ?
> If so, should all functions in alpm_list.c be symexported,
> or should the ones without SYMEXPORT be renamed to _alpm_* ?
If they are in alpm_list.h, then they need to be SYMEXPORTed. I've
made a few of these fixes in the past with other functions. Some of
them were missed because they are not used externally by pacman, but
could still be used by other applications using libalpm.
-Dan
More information about the pacman-dev
mailing list