TXTRecordGetBytesPtr man page on SmartOS

Man page or keyword search:  
man Server   16655 pages
apropos Keyword Search (all sections)
Output format
SmartOS logo
[printable version]

TXTRECORDCREATE(3DNS_SD)			      TXTRECORDCREATE(3DNS_SD)

NAME
       TXTRecordCreate,	  TXTRecordDeallocate,	 TXTRecordSetValue,  TXTRecor‐
       dRemoveValue, TXTRecordGetLength,  TXTRecordGetBytesPtr,	 TXTRecordCon‐
       tainsKey,  TXTRecordGetValuePtr,	 TXTRecordGetCount,  TXTRecordGetItem‐
       AtIndex - DNS TXT record manipulation functions

SYNOPSIS
       cc [ flag ... ] file ... -ldns_sd [ library ... ]
       #include <dns_sd.h>

       void TXTRecordCreate(TXTRecordRef *txtRecord, uint16_t bufferLen,
	    void *buffer);

       void TXTRecordDeallocate(TXTRecordRef*txtRecord);

       DNSServiceErrorType txtRecord(TXTRecordRef *txtRecord,
	    const char *key, uint8_t valueSize, const void *value);

       DNSServiceErrorType TXTRecordRemoveValue(TXTRecordRef *txtRecord,
	    const char *key);

       uint16_t TXTRecordGetLength(const TXTRecordRef *txtRecord);

       const void *TXTRecordGetBytesPtr(const TXTRecordRef *txtRecord);

       int *TXTRecordContainsKey(uint16_t *txtLen,
	    const void *txtRecord, const char *key);

       const void *TXTRecordGetValuePtr(uint16_t *txtLen,
	    const void *txtRecord, const char *key,
	    uint8_t *valueLen);

       uint16_t *TXTRecordGetCount(uint16_t *txtLen,
	    const void *txtRecord);

       DNSServiceErrorType TXTRecordGetItemAtIndex(uint16_t *txtLen,
	    const void *txtRecord, uint16_t *index,
	    uint16_t *keyBufLen, char *key,
	    uint8_t *valueLen, const void **value);

DESCRIPTION
       These functions in the libdns_sd library allow applications  to	create
       and  to	manipulate  TXT	 resource records. TXT resource records enable
       applications to include service specific information, other than a host
       name and port number, as part of the service registration.

ATTRIBUTES
       See attributes(5) for description of the following attributes:

       ┌────────────────────┬─────────────────┐
       │  ATTRIBUTE TYPE    │ ATTRIBUTE VALUE │
       ├────────────────────┼─────────────────┤
       │Interface Stability │ Committed	      │
       ├────────────────────┼─────────────────┤
       │MT-Level	    │ Safe	      │
       └────────────────────┴─────────────────┘

SEE ALSO
       attributes(5)

				 Aug 20, 2007	      TXTRECORDCREATE(3DNS_SD)
[top]

List of man pages available for SmartOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net