X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-sharp%2FClient.cs;h=e148ff30ba8f379e04b76a00ec49614d097b34ec;hb=feae35a24a8d234ae5a4eb629cd09c905f74dc04;hp=d9466bcb95edd63d32c169d4a5841fcf853d9c44;hpb=cc272cf44768c9292879a9ee43783fec4b510ffd;p=catta diff --git a/avahi-sharp/Client.cs b/avahi-sharp/Client.cs index d9466bc..e148ff3 100644 --- a/avahi-sharp/Client.cs +++ b/avahi-sharp/Client.cs @@ -29,12 +29,18 @@ namespace Avahi { internal enum ResolverEvent { Found, - Timeout + Timeout, + NotFound, + Failure } internal enum BrowserEvent { Added, - Removed + Removed, + CacheExhausted, + AllForNow, + NotFound, + Failure } internal delegate int PollCallback (IntPtr ufds, uint nfds, int timeout); @@ -58,19 +64,19 @@ namespace Avahi [Flags] public enum LookupFlags { - None, - UseWideArea, - UseMulticast, - NoTxt, - NoAddress + None = 0, + UseWideArea = 1, + UseMulticast = 2, + NoTxt = 4, + NoAddress = 8 } [Flags] public enum LookupResultFlags { - None, - Cached, - WideArea, - Multicast + None = 0, + Cached = 1, + WideArea = 2, + Multicast = 4 } public class Client : IDisposable