[patch] standard_session_servicedirs (was Re: OLPC and .service files in a users home directory)

Havoc Pennington hp at redhat.com
Wed Nov 1 09:34:22 PST 2006

Thiago Macieira wrote:
> Havoc Pennington wrote:
>>>  /** An opaque string type */
>>>  typedef struct DBusString DBusString;
>>> +/** avoid circular includes with DBusList */
>>> +struct DBusList;
>> Why not do this the same way as the DBusString above it (i.e. move the
>> typedef over from dbus-list.h)
> That would require #include "dbus-sysdeps.h" in dbus-list.h, which it 
> currently doesn't do.

In that case it should be ok to include dbus-list.h in dbus-sysdeps.h ?

Could also move the typedef to dbus-internals.h

Just trying to avoid using "struct DBusList" in function prototypes, and 
possibly confusing Doxygen with multiple mentions of the same thing


More information about the dbus mailing list