Home | History | Annotate | Download | only in mDNSPosix
      1 #
      2 # Example services file parsed by mDNSResponderPosix.
      3 # 
      4 # Lines beginning with '#' are comments/ignored.
      5 # Blank lines indicate the end of a service record specification.
      6 # The first character of the service name can be a '#' if you escape it with 
      7 # backslash to distinguish if from a comment line.
      8 # ie, "\#serviceName" will be registered as "#serviceName".
      9 # Note that any line beginning with white space is considered a blank line.
     10 #
     11 # The record format is:
     12 # 
     13 # <service name>
     14 # <type>.<protocol> <optional domain>
     15 # <port number>
     16 # <zero or more strings for the text record, one string per line>
     17 #
     18 # <One or more blank lines between records>
     19 # 
     20 # Examples shown below.
     21 
     22 serviceName1
     23 _afpovertcp._tcp.
     24 548
     25 name=val1
     26 
     27 serviceName2
     28 _afpovertcp._tcp. local.
     29 548
     30 name=val2
     31 name2=anotherattribute
     32 
     33 serviceName3
     34 _afpovertcp._tcp.
     35 548
     36 name=val3
     37