Commits

Anonymous committed 34545e7

minors

  • Participants
  • Parent commits 2f20d87

Comments (0)

Files changed (2)

File Network/DNSSD.chs

-{-# LANGUAGE ForeignFunctionInterface #-}
+module Network.DNSSD where
 
-module Network.DNSSD where
-import Foreign.C.Types
-import Foreign.Ptr
-import Foreign.Storable
-import Foreign.C.String
-import Foreign.Marshal.Alloc
-import Network.DNSSD.Error
-#define _DNS_SD_LIBDISPATCH 0
-#include <dns_sd.h>
 
--- TODO : ccall vs stdcall on Windows
--- TODO : flags are bit masks, do not form correct enum
--- TODO : use pointer hooks
 - DONE provide three types of service contexts
 - DONE change type of Register call
 - DONE implement record functions
+- representation of TXT records
+- implement all TXT record functions
+- update service implementation with missing TXT marshaling/unmarshaling
 - implement special functions 
 - think about having record type in RecordRef
-- representation of TXT records
-- update service implementation with missing TXT marshaling/unmarshaling
-- implement all TXT record functions
 - read carefully comments in dns_sd.h (especially on flags) and probably change the API (kDNSServiceFlagsShareConnection is a prominent example)
 - decide on using Either
 - make getVersion instead of getProperty