API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IDNSOPTIONS_SETQUERYFLAG()

Brew Release
Brew MP 1.0.2
See Also
Description
This function sets the value of the requested flag in the DNS query header.
Params
me
[]:
the interface pointer.
df
[]:
the flag's identifier.
uValue
[]:
the desired value of the flag.
Interface
Prototype
  •    int IDNSOptions_SetQueryFlag(IDNSOptions *me,
                                    AEEDNSFlag df,
                                    uint16 uValue)
    
Return
  • AEE_NET_SUCCESS: the flag was set successfully. AEE_NET_EOPNOTSUPP: an unsupported df was specified. AEE_NET_EINVAL: an invalid uValue was specified.
    Other AEE designated error codes might be returned.
Side Effect
  • None.
Comments
Currently, only setting AEEDNSFLAG_RD is supported.