RequestName default flags

Havoc Pennington hp at redhat.com
Thu Aug 4 02:06:36 EST 2005


Hi,

Since only Waldo seems to be following up ;-) what about this proposal:

 - default is PROHIBIT_REPLACEMENT, new optional flag is 
   ALLOW_REPLACEMENT

 - default regardless of PROHIBIT vs. ALLOW_REPLACEMENT is to 
   queue up to own the name later and return IN_QUEUE

 - flag DO_NOT_QUEUE will cause an error rather than IN_QUEUE 
   if name is already owned

 - flag REPLACE_EXISTING will cause replace current owner if 
   ALLOW_REPLACEMENT is set, and if PROHIBIT_REPLACEMENT is 
   set will return an error or add to queue depending on the 
   DO_NOT_QUEUE flag

But ignoring here whether we should move the flags to the .service file.
With this proposal maybe there's no need to... don't know.

Havoc

   



More information about the dbus mailing list