libepc r57 - in trunk: . libepc tests



Author: hasselmm
Date: 2007-11-19 13:30:43 +0000 (Mon, 19 Nov 2007)
New Revision: 57
ViewCVS link: http://svn.gnome.org/viewcvs/libepc?rev=57&view=rev

Modified:
   trunk/ChangeLog
   trunk/libepc/dispatcher.c
   trunk/libepc/dispatcher.h
   trunk/libepc/publisher.c
   trunk/tests/test-dispatcher-local-collision.c
   trunk/tests/test-dispatcher-multiple-services.c
   trunk/tests/test-dispatcher-simple-service.c
   trunk/tests/test-dispatcher-subtypes.c
Log:
Move protocol property from EpcDispatcher to its internal service

class, as protocols (aka. address families) are a property of the
service address. Entirely drop the interface property as I see no
way to map them onto interface names (eth0, ppp0, ...). Also I
see no masures in Avahi to keep them valid when interfaces are
created or shutdown.

* libepc/dispatcher.c, libepc/dispatcher.h: Add EpcAddressFamily
enumeration. Add protocol argument to epc_dispatcher_add_service.
Remove interface and interface property from EpcDispatcher.
* libepc/publisher.c, tests/*: Pass address family to
epc_dispatcher_add_service instead of epc_dispatcher_new.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]