Re: user auth patches
On Friday 15 June 2007 20:42:58 Peter Kümmel wrote: > Sorry, ;) The result of the reply rules: I press reply and choose the > mailing list. I think this is part of your secret agenda to push dbus into lyx. ;-) -- José Abílio
Re: user auth patches
Peter Kümmel wrote: > Tor Lillqvist wrote: >> > > The SID is a structure but there exists a functions for serialization, >> > > ConvertSidToStringSid. Therefore a string would be fine, the questions >> > > remains if we should use a wchar_t or char? >> >> The serialization is always ASCII only, so I don't see any gain in >> using wide characters. >> >> > We could also use a copy of the struct if it can be assigned by value >> > and has a fixed size >> >> It's variable length structure. >> >> --tml > > What about using internally a DBusString*, and to return a SID by the public > API? > > > Peter > Sorry, ;) The result of the reply rules: I press reply and choose the mailing list.
Re: user auth patches
Tor Lillqvist wrote: > > > The SID is a structure but there exists a functions for serialization, > > > ConvertSidToStringSid. Therefore a string would be fine, the questions > > > remains if we should use a wchar_t or char? > > The serialization is always ASCII only, so I don't see any gain in > using wide characters. > > > We could also use a copy of the struct if it can be assigned by value > > and has a fixed size > > It's variable length structure. > > --tml What about using internally a DBusString*, and to return a SID by the public API? Peter