Searched refs:txtLen (Results 1 - 22 of 22) sorted by relevance

/macosx-10.10.1/mDNSResponder-561.1.1/mDNSShared/
H A Ddnssd_clientlib.c73 uint16_t txtLen,
80 uint8_t *e = p + txtLen;
274 uint16_t txtLen,
280 return (InternalTXTRecordSearch(txtLen, txtRecord, key, &keylen) ? 1 : 0);
285 uint16_t txtLen,
292 uint8_t *item = InternalTXTRecordSearch(txtLen, txtRecord, key, &keylen);
300 uint16_t txtLen,
306 uint8_t *e = p + txtLen;
313 uint16_t txtLen,
324 uint8_t *e = p + txtLen;
71 InternalTXTRecordSearch( uint16_t txtLen, const void *txtRecord, const char *key, unsigned long *keylen ) 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
298 TXTRecordGetCount( uint16_t txtLen, const void *txtRecord ) 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 Ddns_sd.h1180 * txtLen: The length of the txtRecord, in bytes. Must be zero if the txtRecord is NULL.
1184 * Passing NULL for the txtRecord is allowed as a synonym for txtLen=1, txtRecord="",
1218 uint16_t txtLen,
1491 * txtLen: The length of the txt record, in bytes.
1523 uint16_t txtLen,
2398 * if (TXTRecordContainsKey(txtLen, txtRecord, "key")) then do something
2399 * val1ptr = TXTRecordGetValuePtr(txtLen, txtRecord, "key1", &len1);
2400 * val2ptr = TXTRecordGetValuePtr(txtLen, txtRecord, "key2", &len2);
2426 * txtLen: The size of the received TXT Record.
2438 uint16_t txtLen,
[all...]
H A Ddnssd_clientshim.c217 uint16_t txtLen,
246 if (size < txtLen)
247 size = txtLen;
264 txtRecord, txtLen, // TXT data, length
207 DNSServiceRegister( DNSServiceRef *sdRef, DNSServiceFlags flags, uint32_t interfaceIndex, const char *name, const char *regtype, const char *domain, const char *host, uint16_t notAnIntPort, uint16_t txtLen, const void *txtRecord, DNSServiceRegisterReply callback, void *context ) argument
H A Ddnssd_clientstub.c1580 uint16_t txtLen,
1610 len += 2 * sizeof(uint16_t); // port, txtLen
1611 len += txtLen;
1631 put_uint16(txtLen, &ptr);
1632 put_rdata(txtLen, txtRecord, &ptr);
1570 DNSServiceRegister( DNSServiceRef *sdRef, DNSServiceFlags flags, uint32_t interfaceIndex, const char *name, const char *regtype, const char *domain, const char *host, uint16_t PortInNetworkByteOrder, uint16_t txtLen, const void *txtRecord, DNSServiceRegisterReply callBack, void *context ) argument
/macosx-10.10.1/NFS-82/showmount/
H A Dmshow.c95 Dused uint16_t txtLen,
105 printf("resolve: %s %s:%d TXT %d\n", fullName, hostTarget, port, txtLen);
106 if ((txtLen > 1) && ((s = malloc(txtLen+2)))) {
109 len = txtLen;
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/Clients/
H A DDNSServiceBrowser.m72 - (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
445 if (txtLen > 0) {
446 char *readableText = (char*) malloc(txtLen);
449 memcpy(readableText, txtRecord, txtLen);
[all...]
H A Ddns-sd.c613 const char *fullname, const char *hosttarget, uint16_t opaqueport, uint16_t txtLen, const unsigned char *txt, void *context)
622 const unsigned char *max = txt + txtLen;
711 static void ShowTXTRecord(uint16_t txtLen, const unsigned char *txtRecord) argument
714 const unsigned char *max = txtRecord + txtLen;
746 const char *fullname, const char *hosttarget, uint16_t opaqueport, uint16_t txtLen, const unsigned char *txtRecord, void *context)
764 if (txtLen > 1) { printf("\n"); ShowTXTRecord(txtLen, txtRecord); }
612 zonedata_resolve(DNSServiceRef sdref, const DNSServiceFlags flags, uint32_t ifIndex, DNSServiceErrorType errorCode, const char *fullname, const char *hosttarget, uint16_t opaqueport, uint16_t txtLen, const unsigned char *txt, void *context) argument
745 resolve_reply(DNSServiceRef sdref, const DNSServiceFlags flags, uint32_t ifIndex, DNSServiceErrorType errorCode, const char *fullname, const char *hosttarget, uint16_t opaqueport, uint16_t txtLen, const unsigned char *txtRecord, void *context) argument
/macosx-10.10.1/mDNSResponder-561.1.1/Clients/FirefoxExtension/
H A DCDNSSDService.h76 uint16_t txtLen,
H A DCDNSSDService.cpp344 uint16_t txtLen,
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/mDNSWindows/DLLStub/
H A DDLLStub.cpp162 uint16_t txtLen,
174 ret = func( sdRef, flags, interfaceIndex, name, regtype, domain, host, port, txtLen, txtRecord, callBack, context );
573 uint16_t txtLen,
584 ret = func( txtLen, txtRecord, key );
594 uint16_t txtLen,
604 ret = func( txtLen, txtRecord );
652 uint16_t txtLen,
664 ret = func( txtLen, txtRecord, key, valueLen );
674 uint16_t txtLen,
689 ret = func( txtLen, txtRecor
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
571 TXTRecordContainsKey( uint16_t txtLen, const void *txtRecord, const char *key ) argument
592 TXTRecordGetCount( uint16_t txtLen, const void *txtRecord ) 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/cups-408/cups/test/
H A Dippdiscover.c75 uint16_t port, uint16_t txtLen,
664 uint16_t txtLen, /* I - Length of 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
H A Dippfind.c208 uint16_t txtLen,
2534 uint16_t txtLen, /* I - Length of TXT record data */
2571 for (txtEnd = txtRecord + txtLen; txtRecord < txtEnd; txtRecord += valueLen)
2526 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/mDNSMacOS9/
H A DSearcher.c121 uint16_t txtLen, const unsigned char *txtRecord, void *context)
131 if (txtLen == 0) info->text[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/mDNSResponder-561.1.1/mDNSWindows/DLLX/
H A DDNSSD.cpp182 uint16_t txtLen = 0; local
222 txtLen = realTXTRecord->GetLen();
225 err = DNSServiceRegister( &sref, flags, ifIndex, serviceNameUTF8.c_str(), regTypeUTF8.c_str(), domainUTF8.c_str(), hostUTF8.c_str(), port, txtLen, txtRecord, ( DNSServiceRegisterReply ) &RegisterReply, object );
601 uint16_t txtLen,
646 sprintf( buf, "txtLen = %d", txtLen );
649 if ( txtLen > 0 )
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 DDNSSDService.cpp510 uint16_t txtLen = 0; local
590 txtLen = realTXTRecord->GetLen();
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 );
1536 uint16_t txtLen,
1610 if ( txtLen > 0 )
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
H A DDNSSDService.h282 uint16_t txtLen,
/macosx-10.10.1/mDNSResponder-561.1.1/Clients/ExplorerPlugin/
H A DExplorerBarWindow.cpp681 uint16_t txtLen; local
683 resolve->txt.GetData( &txtData, &txtLen );
685 path = (uint8_t*) TXTRecordGetValuePtr(txtLen, txtData, kTXTRecordKeyPath, &pathSize);
/macosx-10.10.1/cups-408/cups/cups/
H A Dhttp-support.c124 uint16_t port, uint16_t txtLen,
2132 uint16_t txtLen, /* I - Length of TXT record */
2150 "txtLen=%u, txtRecord=%p, context=%p)", sdRef, flags,
2151 interfaceIndex, errorCode, fullName, hostTarget, port, txtLen,
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/mDNSWindows/DLL.NET/
H A Ddnssd_NET.cpp535 uint16_t txtLen,
551 if (txtLen > 0)
556 txtRecordBytes = new Byte[txtLen];
558 memcpy(p, txtRecord, txtLen);
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
H A Ddnssd_NET.h366 uint16_t txtLen,
577 * if (TXTRecordContainsKey(txtLen, txtRecord, "key")) then do something
/macosx-10.10.1/mDNSResponder-561.1.1/mDNSShared/Java/
H A DJNISupport.c378 uint16_t port, uint16_t txtLen, const unsigned char *txtRecord, void *context)
393 NULL != ( txtBytes = (*pContext->Env)->NewByteArray( pContext->Env, txtLen)))
403 memcpy( pBytes, txtRecord, txtLen);
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
/macosx-10.10.1/mDNSResponder-561.1.1/mDNSWindows/
H A DmDNSWin32.c258 uint16_t txtLen,

Completed in 384 milliseconds