[patch] add a trivial xml parser for the setuid addon

Havoc Pennington hp at redhat.com
Mon Jun 18 08:20:49 PDT 2007


Richard Hughes wrote:
> On Mon, 2007-06-18 at 11:08 -0400, Havoc Pennington wrote:
>> Shouldn't the functions that exist in both the trivial and regular 
>> parser be declared in common.h ? (the ones called by the xml loader
>> files)
> I wondered this, but then I would be just abstracting an abstraction. Up
> to you.

Maybe I read things too quickly - I thought you had a common API for the 
full and trivial parser, which the xml loaders call, and the 
implementation of the common API depends on which implementation is 
linked in.

In that case the function declarations really do have to be the same for 
both, no?


More information about the dbus mailing list