dbus/dbus dbus-server.c,1.54,1.55

Ralf Habacker ralf.habacker at freenet.de
Thu May 24 12:05:28 PDT 2007


Havoc Pennington schrieb:
> Ralf Habacker wrote:
>> Sorry, _dbus_server_listen_platform_specific() is specified in 
>> dbus-server-unix.c  and there is *no* dbus-server-win.c yet. Should I 
>> really create an additional file with an empty function or would it 
>> not more economic to create this file when there are real functions 
>> and to use c onditionals to deactivate this stuff ?  Why do we have 
>> DBUS_WIN and DBUS_UNIX, when not for such cases ?
>
> Well, as you may have noticed I am usually against using DBUS_WIN and 
> DBUS_UNIX.Specifically, I added the _platform_specific stuff as one 
> way to avoid them. 
In this case I agree but there may and will be other cases where using 
this macros makes more sense. :-)
>
> An empty dbus-server-win.c should be created, with the usual 
> boilerplate (Emacs magic, license text, copyright holders) and this 
> empty function.
I have added the new files. Please review. I will then check this in.
> A fully working Windows port IMO would not leave the function empty 
> though, there would be a Windows-specific server type other than TCP.
We will see if someone will take the challenge. Please note that WINCE 
only supports tcp and not named pipes, so making tcp complete makes more 
sense.


Ralf


>
> Havoc
>

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dbus-server-win.h
Url: http://lists.freedesktop.org/archives/dbus/attachments/20070524/4cb8421f/attachment.txt 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dbus-server-win.c
Url: http://lists.freedesktop.org/archives/dbus/attachments/20070524/4cb8421f/attachment-0001.txt 


More information about the dbus mailing list