tfAddrPolicyTableAddEntry

Jump to: navigation, search

Table of Contents >> Application Reference >> DNS Resolver


#include <trsocket.h>


ttUserAddrPolicyEntryHandle tfAddrPolicyTableAddEntry (
ttUserAddrPolicyEntryPtr userPolicyPtr,
int structType,
int flags
);


Function Description

This function adds an entry to the DNS policy table.


Parameters

  • userPolicyPtr
    A pointer to the user policy structure to add.
  • structType
    The type of user policy structure pointed to by userPolicyPtr. Currently TM_ADDR_USER_POLICY_STRUCT_1 is the only valid value.
  • flags
    Currently unused.


Returns

  • (Valid ttUserAddrPolicyEntryHandle)
    The handle to the newly added policy. This handle must be passed to the other DNS policy table APIs.
  • NULL
    Insufficient memory to complete the operation or tfStartTreck() has not been called.


Table of Contents >> Application Reference >> DNS Resolver