JDNS
Public Attributes | List of all members
jdns_callbacks Struct Reference

Public Attributes

void * app
 
int(* time_now )(jdns_session_t *s, void *app)
 
int(* rand_int )(jdns_session_t *s, void *app)
 
void(* debug_line )(jdns_session_t *s, void *app, const char *str)
 
int(* udp_bind )(jdns_session_t *s, void *app, const jdns_address_t *addr, int port, const jdns_address_t *maddr)
 
void(* udp_unbind )(jdns_session_t *s, void *app, int handle)
 
int(* udp_read )(jdns_session_t *s, void *app, int handle, jdns_address_t *addr, int *port, unsigned char *buf, int *bufsize)
 
int(* udp_write )(jdns_session_t *s, void *app, int handle, const jdns_address_t *addr, int port, unsigned char *buf, int bufsize)
 

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