PurpleDnsQueryUiOps Struct Reference

DNS Request UI operations; UIs should implement this if they want to do DNS lookups themselves, rather than relying on the core. More...

#include <dnsquery.h>


Data Fields

gboolean(* resolve_host )(PurpleDnsQueryData *query_data, PurpleDnsQueryResolvedCallback resolved_cb, PurpleDnsQueryFailedCallback failed_cb)
 If implemented, the UI is responsible for DNS queries.
void(* destroy )(PurpleDnsQueryData *query_data)
 Called just before query_data is freed; this should cancel any further use of query_data the UI would make.
void(* _purple_reserved1 )(void)
void(* _purple_reserved2 )(void)
void(* _purple_reserved3 )(void)
void(* _purple_reserved4 )(void)


Detailed Description

DNS Request UI operations; UIs should implement this if they want to do DNS lookups themselves, rather than relying on the core.

See also:
ui-ops

Definition at line 54 of file dnsquery.h.


Field Documentation

void(* PurpleDnsQueryUiOps::destroy)(PurpleDnsQueryData *query_data)

Called just before query_data is freed; this should cancel any further use of query_data the UI would make.

Unneeded if resolve_host is not implemented.


The documentation for this struct was generated from the following file: