/macosx-10.10.1/mDNSResponder-561.1.1/mDNSShared/Java/ |
H A D | ResolveListener.java | 50 @param txtRecord 54 String hostName, int port, TXTRecord txtRecord); 53 serviceResolved( DNSSDService resolver, int flags, int ifIndex, String fullName, String hostName, int port, TXTRecord txtRecord) argument
|
H A D | DNSSD.java | 225 @param txtRecord 226 The txt record rdata. May be null. Note that a non-null txtRecord 239 String domain, String host, int port, TXTRecord txtRecord, RegisterListener listener) 241 { return getInstance()._register( flags, ifIndex, serviceName, regType, domain, host, port, txtRecord, listener); } 243 /** Register a service, to be discovered via browse() and resolve() calls. Use default flags, ifIndex, domain, host and txtRecord.<P> 445 String domain, String host, int port, TXTRecord txtRecord, RegisterListener listener) 568 String domain, String host, int port, TXTRecord txtRecord, RegisterListener client) 572 ( txtRecord != null) ? txtRecord.getRawBytes() : null, client); 768 String host, int port, byte[] txtRecord, RegisterListene 238 register( int flags, int ifIndex, String serviceName, String regType, String domain, String host, int port, TXTRecord txtRecord, RegisterListener listener) argument 444 _register( int flags, int ifIndex, String serviceName, String regType, String domain, String host, int port, TXTRecord txtRecord, RegisterListener listener) argument 567 _register( int flags, int ifIndex, String serviceName, String regType, String domain, String host, int port, TXTRecord txtRecord, RegisterListener client) argument 767 AppleRegistration( int flags, int ifIndex, String serviceName, String regType, String domain, String host, int port, byte[] txtRecord, RegisterListener client) argument 793 BeginRegister( int ifIndex, int flags, String serviceName, String regType, String domain, String host, int port, byte[] txtRecord) argument [all...] |
H A D | JNISupport.c | 378 uint16_t port, uint16_t txtLen, const unsigned char *txtRecord, void *context) 401 // Initialize txtBytes with contents of txtRecord 403 memcpy( pBytes, txtRecord, txtLen); 487 jstring domain, jstring host, jint port, jbyteArray txtRecord) 519 pBytes = txtRecord ? (*pEnv)->GetByteArrayElements( pEnv, txtRecord, NULL) : NULL; 520 numBytes = txtRecord ? (*pEnv)->GetArrayLength( pEnv, txtRecord) : 0; 531 (*pEnv)->ReleaseByteArrayElements( pEnv, txtRecord, pBytes, 0); 376 ServiceResolveReply( DNSServiceRef sdRef _UNUSED, DNSServiceFlags flags, uint32_t interfaceIndex, DNSServiceErrorType errorCode, const char *fullname, const char *hosttarget, uint16_t port, uint16_t txtLen, const unsigned char *txtRecord, void *context) argument 485 Java_com_apple_dnssd_AppleRegistration_BeginRegister( JNIEnv *pEnv, jobject pThis, jint ifIndex, jint flags, jstring serviceName, jstring regType, jstring domain, jstring host, jint port, jbyteArray txtRecord) argument
|
/macosx-10.10.1/mDNSResponder-561.1.1/Clients/Java/ |
H A D | DNSSDUnitTest.java | 46 TXTRecord txtRecord = new TXTRecord( src); 49 txtRecord.set( "path", "~/names"); 50 txtRecord.set( "rw", (String) null); 51 txtRecord.set( "empty", ""); 52 txtRecord.set( "ttl", "4"); 54 byte[] rawBytes = txtRecord.getRawBytes(); 56 String.valueOf( txtRecord.size())); 58 System.out.println( txtRecord); 59 boolean ttlPresent = txtRecord.contains( "ttl"); 61 boolean timeoutPresent = txtRecord 266 serviceResolved( DNSSDService resolver, int flags, int ifIndex, String fullName, String hostName, int port, TXTRecord txtRecord) argument [all...] |
/macosx-10.10.1/mDNSResponder-561.1.1/mDNSShared/ |
H A D | dnssd_clientlib.c | 74 const void *txtRecord, 79 uint8_t *p = (uint8_t*)txtRecord; 174 #define txtRec ((TXTRecordRefRealType*)txtRecord) 185 TXTRecordRef *txtRecord, 196 void DNSSD_API TXTRecordDeallocate(TXTRecordRef *txtRecord) argument 203 TXTRecordRef *txtRecord, 217 (void)TXTRecordRemoveValue(txtRecord, key); 248 TXTRecordRef *txtRecord, 263 uint16_t DNSSD_API TXTRecordGetLength (const TXTRecordRef *txtRecord) { return(txtRec->datalen); } argument 264 const void * DNSSD_API TXTRecordGetBytesPtr(const TXTRecordRef *txtRecord) { retur argument 71 InternalTXTRecordSearch( uint16_t txtLen, const void *txtRecord, const char *key, unsigned long *keylen ) argument 183 TXTRecordCreate( TXTRecordRef *txtRecord, uint16_t bufferLen, void *buffer ) argument 201 TXTRecordSetValue( TXTRecordRef *txtRecord, const char *key, uint8_t valueSize, const void *value ) argument 246 TXTRecordRemoveValue( TXTRecordRef *txtRecord, const char *key ) argument 272 TXTRecordContainsKey( uint16_t txtLen, const void *txtRecord, const char *key ) argument 283 TXTRecordGetValuePtr( uint16_t txtLen, const void *txtRecord, const char *key, uint8_t *valueLen ) argument 311 TXTRecordGetItemAtIndex( uint16_t txtLen, const void *txtRecord, uint16_t itemIndex, uint16_t keyBufLen, char *key, uint8_t *valueLen, const void **value ) argument [all...] |
H A D | dns_sd.h | 1180 * txtLen: The length of the txtRecord, in bytes. Must be zero if the txtRecord is NULL. 1182 * txtRecord: The TXT record rdata. A non-NULL txtRecord MUST be a properly formatted DNS 1184 * Passing NULL for the txtRecord is allowed as a synonym for txtLen=1, txtRecord="", 1188 * As with the other parameters, the DNSServiceRegister call copies the txtRecord 1189 * data; e.g. if you allocated the storage for the txtRecord parameter with malloc() 1219 const void *txtRecord, /* may be NULL */ 1493 * txtRecord [all...] |
/macosx-10.10.1/mDNSResponder-561.1.1/mDNSWindows/DLLStub/ |
H A D | DLLStub.cpp | 163 const void *txtRecord, 174 ret = func( sdRef, flags, interfaceIndex, name, regtype, domain, host, port, txtLen, txtRecord, callBack, context ); 497 TXTRecordRef *txtRecord, 507 func( txtRecord, bufferLen, buffer ); 515 TXTRecordRef *txtRecord 523 func( txtRecord ); 531 TXTRecordRef *txtRecord, 543 ret = func( txtRecord, key, valueSize, value ); 553 TXTRecordRef *txtRecord, 563 ret = func( txtRecord, ke 152 DNSServiceRegister( DNSServiceRef *sdRef, DNSServiceFlags flags, uint32_t interfaceIndex, const char *name, const char *regtype, const char *domain, const char *host, uint16_t port, uint16_t txtLen, const void *txtRecord, DNSServiceRegisterReply callBack, void *context ) argument 495 TXTRecordCreate( TXTRecordRef *txtRecord, uint16_t bufferLen, void *buffer ) argument 529 TXTRecordSetValue( TXTRecordRef *txtRecord, const char *key, uint8_t valueSize, const void *value ) argument 551 TXTRecordRemoveValue( TXTRecordRef *txtRecord, const char *key ) argument 571 TXTRecordContainsKey( uint16_t txtLen, const void *txtRecord, const char *key ) argument 650 TXTRecordGetValuePtr( uint16_t txtLen, const void *txtRecord, const char *key, uint8_t *valueLen ) argument 672 TXTRecordGetItemAtIndex( uint16_t txtLen, const void *txtRecord, uint16_t itemIndex, uint16_t keyBufLen, char *key, uint8_t *valueLen, const void **value ) argument [all...] |
/macosx-10.10.1/mDNSResponder-561.1.1/mDNSMacOSX/ |
H A D | DNSServiceDiscovery.h | 125 @param txtRecord Optional protocol-specific additional information 136 const char *txtRecord, 224 const char *txtRecord,
|
H A D | DNSServiceDiscoveryReply.defs | 58 in txtRecord: DNSCString;
|
H A D | DNSServiceDiscoveryRequest.defs | 52 in txtRecord: DNSCString);
|
H A D | DNSServiceDiscovery.c | 69 DNSCString txtRecord 268 (const char *name, const char *regtype, const char *domain, uint16_t port, const char *txtRecord, DNSServiceRegistrationReply callBack, void *context) 282 if (!txtRecord) { 283 txtRecord = ""; 315 result = DNSServiceRegistrationCreate_rpc(serverPort, clientPort, (char *)name, (char *)regtype, (char *)domain, IpPort, (char *)txtRecord); 625 DNSCString txtRecord, 663 (callback)(interface_storage, address_storage, txtRecord, flags, requestContext); 267 DNSServiceRegistrationCreate(const char *name, const char *regtype, const char *domain, uint16_t port, const char *txtRecord, DNSServiceRegistrationReply callBack, void *context) argument 620 internal_DNSServiceResolverReply_rpc( mach_port_t reply, sockaddr_t interface, sockaddr_t address, DNSCString txtRecord, int flags ) argument
|
/macosx-10.10.1/mDNSResponder-561.1.1/mDNSWindows/DLL.NET/ |
H A D | dnssd_NET.h | 255 Byte txtRecord[] 367 const char * txtRecord, 577 * if (TXTRecordContainsKey(txtLen, txtRecord, "key")) then do something 578 * val1ptr = DNSService.TextService.GetValue(txtRecord, "key1", &len1); 579 * val2ptr = DNSService.TextService.GetValue(txtRecord, "key2", &len2); 589 * txtRecord: Pointer to the received TXT Record bytes. 601 Byte txtRecord[], 610 * txtRecord: Pointer to the received TXT Record bytes. 626 Byte txtRecord[], 636 * txtRecord [all...] |
H A D | dnssd_NET.cpp | 218 Byte txtRecord[] 224 OnResolveReply(this, flags, interfaceIndex, errorCode, fullname, hosttarget, port, txtRecord); 536 const char * txtRecord, 558 memcpy(p, txtRecord, txtLen); 692 Byte txtRecord[], 705 if ((txtRecord != NULL) && (txtRecord->Length > 0)) 707 len = txtRecord->Length; 708 p = &txtRecord[0]; 1120 Byte txtRecord[], 526 ResolveCallback( DNSServiceRef sdRef, DNSServiceFlags flags, uint32_t interfaceIndex, DNSServiceErrorType errorCode, const char * fullname, const char * hosttarget, uint16_t notAnIntPort, uint16_t txtLen, const char * txtRecord, void * context ) argument 683 Register( int flags, int interfaceIndex, String * name, String * regtype, String * domain, String * host, int port, Byte txtRecord[], RegisterReply * callback ) argument 1118 ContainsKey( Byte txtRecord[], String * key ) argument [all...] |
/macosx-10.10.1/mDNSResponder-561.1.1/Clients/ |
H A D | DNSServiceBrowser.m | 72 - (void)resolveClientWitHost:(NSString *)host port:(uint16_t)port interfaceIndex:(uint32_t)interface txtRecord:(const char*)txtRecord txtLen:(uint16_t)txtLen; 121 const char *fullname, const char *hosttarget, uint16_t port, uint16_t txtLen, const char *txtRecord, void *context) 124 [(BrowserController*)context resolveClientWitHost:[NSString stringWithUTF8String:hosttarget] port:port interfaceIndex:interfaceIndex txtRecord:txtRecord txtLen:txtLen]; 409 - (void)resolveClientWitHost:(NSString *)host port:(uint16_t)port interfaceIndex:(uint32_t)interface txtRecord:(const char*)txtRecord txtLen:(uint16_t)txtLen 444 // kind of a hack: munge txtRecord so it's human-readable 449 memcpy(readableText, txtRecord, txtLen); 494 NSString *txtRecord [all...] |
/macosx-10.10.1/mDNSResponder-561.1.1/Clients/FirefoxExtension/ |
H A D | CDNSSDService.h | 77 const unsigned char * txtRecord,
|
H A D | CDNSSDService.cpp | 345 const unsigned char * txtRecord, 365 value = TXTRecordGetValuePtr( txtLen, txtRecord, "path", &valueLen ); 335 ResolveReply( DNSServiceRef sdRef, DNSServiceFlags flags, uint32_t interfaceIndex, DNSServiceErrorType errorCode, const char * fullname, const char * hosttarget, uint16_t port, uint16_t txtLen, const unsigned char * txtRecord, void * context ) argument
|
/macosx-10.10.1/mDNSResponder-561.1.1/mDNSMacOS9/ |
H A D | Searcher.c | 121 uint16_t txtLen, const unsigned char *txtRecord, void *context) 134 strncpy(info->text, (char *)txtRecord+1, txtRecord[0]); 135 info->text[txtRecord[0]] = 0; 119 FoundInstanceInfo(DNSServiceRef sdRef, DNSServiceFlags flags, uint32_t interfaceIndex, DNSServiceErrorType errorCode, const char *fullname, const char *hosttarget, uint16_t notAnIntPort, uint16_t txtLen, const unsigned char *txtRecord, void *context) argument
|
/macosx-10.10.1/cups-408/cups/test/ |
H A D | ippdiscover.c | 76 const unsigned char *txtRecord, 665 const unsigned char *txtRecord, /* I - TXT record data */ 679 "hostTarget=\"%s\", port=%d, txtLen=%u, txtRecord=%p, " 683 ntohs(port), txtLen, txtRecord, context); 701 if ((value = TXTRecordGetValuePtr(txtLen, txtRecord, "rp", 742 if ((value = TXTRecordGetValuePtr(txtLen, txtRecord, "ty", 751 if ((value = TXTRecordGetValuePtr(txtLen, txtRecord, "pdl", 760 if ((value = TXTRecordGetValuePtr(txtLen, txtRecord, "printer-type", 656 resolve_callback( DNSServiceRef sdRef, DNSServiceFlags flags, uint32_t interfaceIndex, DNSServiceErrorType errorCode, const char *fullName, const char *hostTarget, uint16_t port, uint16_t txtLen, const unsigned char *txtRecord, void *context) argument
|
/macosx-10.10.1/mDNSResponder-561.1.1/Clients/SimpleChat.VB/ |
H A D | SimpleChat.vb | 54 Dim txtRecord As Bonjour.TXTRecord 56 m_registrar = m_service.Register(0, 0, Environment.UserName, "_p2pchat._udp", vbNullString, vbNullString, m_port, txtRecord, MyEventManager)
|
/macosx-10.10.1/NFS-82/showmount/ |
H A D | mshow.c | 96 Dused const unsigned char *txtRecord, 107 p = txtRecord; 87 resolve_callback( __unused DNSServiceRef sdRef, __unused DNSServiceFlags flags, __unused uint32_t interfaceIndex, __unused DNSServiceErrorType errorCode, Dused const char *fullName, const char *hostTarget, Dused uint16_t port, Dused uint16_t txtLen, Dused const unsigned char *txtRecord, void *context) argument
|
/macosx-10.10.1/mDNSResponder-561.1.1/mDNSWindows/DLLX/ |
H A D | DNSSD.cpp | 181 const void * txtRecord = NULL; local 221 txtRecord = realTXTRecord->GetBytes(); 225 err = DNSServiceRegister( &sref, flags, ifIndex, serviceNameUTF8.c_str(), regTypeUTF8.c_str(), domainUTF8.c_str(), hostUTF8.c_str(), port, txtLen, txtRecord, ( DNSServiceRegisterReply ) &RegisterReply, object ); 602 const unsigned char *txtRecord, 651 record->SetBytes( txtRecord, txtLen ); 592 ResolveReply( DNSServiceRef sdRef, DNSServiceFlags flags, uint32_t ifIndex, DNSServiceErrorType errorCode, const char *fullNameUTF8, const char *hostNameUTF8, uint16_t port, uint16_t txtLen, const unsigned char *txtRecord, void *context ) argument
|
H A D | DNSSDService.cpp | 508 const void * txtRecord = NULL; local 588 txtRecord = realTXTRecord->GetBytes(); 598 err = DNSServiceRegister( &subord, flags | kDNSServiceFlagsShareConnection, ifIndex, serviceNameUTF8.c_str(), regTypeUTF8.c_str(), ( domainUTF8.size() > 0 ) ? domainUTF8.c_str() : NULL, hostUTF8.c_str(), htons( port ), txtLen, txtRecord, ( DNSServiceRegisterReply ) &RegisterReply, object ); 1537 const unsigned char *txtRecord, 1614 record->SetBytes( txtRecord, txtLen ); 1526 ResolveReply( DNSServiceRef sdRef, DNSServiceFlags flags, uint32_t ifIndex, DNSServiceErrorType errorCode, const char *fullNameUTF8, const char *hostNameUTF8, uint16_t port, uint16_t txtLen, const unsigned char *txtRecord, void *context ) argument
|
/macosx-10.10.1/cups-408/cups/cups/ |
H A D | http-support.c | 125 const unsigned char *txtRecord, 2133 const unsigned char *txtRecord, /* I - TXT record data */ 2150 "txtLen=%u, txtRecord=%p, context=%p)", sdRef, flags, 2152 txtRecord, context)); 2159 (value = TXTRecordGetValuePtr(txtLen, txtRecord, "UUID", 2204 !TXTRecordGetValuePtr(txtLen, txtRecord, "printer-type", &valueLen)) 2215 if ((value = TXTRecordGetValuePtr(txtLen, txtRecord, reskey, 2124 http_resolve_cb( DNSServiceRef sdRef, DNSServiceFlags flags, uint32_t interfaceIndex, DNSServiceErrorType errorCode, const char *fullName, const char *hostTarget, uint16_t port, uint16_t txtLen, const unsigned char *txtRecord, void *context) argument
|
/macosx-10.10.1/mDNSResponder-561.1.1/Clients/DNSServiceBrowser.NET/ |
H A D | DNSServiceBrowser.cs | 705 TXTRecord txtRecord 714 data.TxtRecord = txtRecord;
|
/macosx-10.10.1/KerberosHelper-151/Source/ |
H A D | DeconstructServiceName.c | 219 const unsigned char *txtRecord, 210 mDNSServiceCallBack( DNSServiceRef serviceRef, DNSServiceFlags flags, uint32_t interface, DNSServiceErrorType errorCode, const char *fullname, const char *hostTarget, uint16_t port, uint16_t txtlen, const unsigned char *txtRecord, void *ctx ) argument
|