pidgin 2.14.14dev
PurpleSrvTxtQueryUiOps Struct Reference

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

#include <dnssrv.h>

Collaboration diagram for PurpleSrvTxtQueryUiOps:
Collaboration graph

Data Fields

gboolean(* resolve )(PurpleSrvTxtQueryData *query_data, PurpleSrvTxtQueryResolvedCallback resolved_cb, PurpleSrvTxtQueryFailedCallback failed_cb)
 If implemented, return TRUE if the UI takes responsibility for SRV queries. More...
 
void(* destroy )(PurpleSrvTxtQueryData *query_data)
 Called just before query_data is freed; this should cancel any further use of query_data the UI would make. More...
 
void(* _purple_reserved1 )(void)
 
void(* _purple_reserved2 )(void)
 
void(* _purple_reserved3 )(void)
 
void(* _purple_reserved4 )(void)
 

Detailed Description

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

See also
UiOps structures

Definition at line 66 of file dnssrv.h.

Field Documentation

◆ _purple_reserved1

void(* PurpleSrvTxtQueryUiOps::_purple_reserved1) (void)

Definition at line 81 of file dnssrv.h.

◆ _purple_reserved2

void(* PurpleSrvTxtQueryUiOps::_purple_reserved2) (void)

Definition at line 82 of file dnssrv.h.

◆ _purple_reserved3

void(* PurpleSrvTxtQueryUiOps::_purple_reserved3) (void)

Definition at line 83 of file dnssrv.h.

◆ _purple_reserved4

void(* PurpleSrvTxtQueryUiOps::_purple_reserved4) (void)

Definition at line 84 of file dnssrv.h.

◆ destroy

void(* PurpleSrvTxtQueryUiOps::destroy) (PurpleSrvTxtQueryData *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.

Definition at line 79 of file dnssrv.h.

◆ resolve

gboolean(* PurpleSrvTxtQueryUiOps::resolve) (PurpleSrvTxtQueryData *query_data, PurpleSrvTxtQueryResolvedCallback resolved_cb, PurpleSrvTxtQueryFailedCallback failed_cb)

If implemented, return TRUE if the UI takes responsibility for SRV queries.

When returning FALSE, the standard implementation is used. These callbacks MUST be called asynchronously.

Definition at line 71 of file dnssrv.h.


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