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

Developer

API Reference

IDNSOPTIONS_GETQUERYFLAG()

Brew Release
Brew MP 1.0.2
See Also
Description
This function gets the value of the requested flag from the current DNS query header.
Params
me
[]:
the interface pointer.
df
[]:
the flag's identifier.
uValue
[]:
[out] on success, contains the current value of the flag.
Interface
Prototype
  •    int IDNSOptions_GetQueryFlag(IDNSOptions *me,
                                    AEEDNSFlag df,
                                    uint16 *uValue)
    
Return
  • AEE_NET_SUCCESS: the flag was returned successfully. AEE_NET_EOPNOTSUPP: an unsupported df was specified.
    Other AEE designated error codes might be returned.
Side Effect
  • None.
Comments
Currently, only getting AEEDNSFLAG_RD is supported.