X-Git-Url: https://git.saurik.com/apple/libinfo.git/blobdiff_plain/ad21edcc50f98a2a0f674a569817952d671962c6..e6b95798e71dad1fb3669ea0b8963d24ddd65f93:/mdns.subproj/DNSServiceDiscoveryRequest.defs diff --git a/mdns.subproj/DNSServiceDiscoveryRequest.defs b/mdns.subproj/DNSServiceDiscoveryRequest.defs index 29495f8..d14917a 100644 --- a/mdns.subproj/DNSServiceDiscoveryRequest.defs +++ b/mdns.subproj/DNSServiceDiscoveryRequest.defs @@ -33,6 +33,7 @@ import "DNSServiceDiscoveryDefines.h"; type DNSCString = c_string[*:1024]; type record_data = ^ array [] of MACH_MSG_TYPE_BYTE ctype: record_data_t; +type IPPort = struct[4] of char ctype:IPPort; simpleroutine DNSServiceBrowserCreate_rpc( server: mach_port_t; @@ -52,7 +53,7 @@ simpleroutine DNSServiceRegistrationCreate_rpc( in name: DNSCString; in regtype: DNSCString; in domain: DNSCString; - in port: int; + in port: IPPort; in txtRecord: DNSCString);