mirror of
https://github.com/irssi/irssi.git
synced 2026-08-19 08:32:07 +02:00
Remove unused functions
This commit is contained in:
parent
2db359fbb3
commit
c25d24220f
4 changed files with 2 additions and 121 deletions
|
|
@ -12,29 +12,12 @@ typedef struct {
|
|||
char *host4, *host6; /* dito */
|
||||
} RESOLVED_IP_REC;
|
||||
|
||||
typedef struct {
|
||||
int namelen;
|
||||
char *name;
|
||||
|
||||
int error;
|
||||
int errlen;
|
||||
char *errorstr;
|
||||
} RESOLVED_NAME_REC;
|
||||
|
||||
typedef void (*NET_CALLBACK) (GIOChannel *, void *);
|
||||
typedef void (*NET_HOST_CALLBACK) (RESOLVED_NAME_REC *, void *);
|
||||
|
||||
/* nonblocking gethostbyname(), PID of the resolver child is returned. */
|
||||
int net_gethostbyname_nonblock(const char *addr, GIOChannel *pipe,
|
||||
int reverse_lookup);
|
||||
/* Get host's name, call func when finished */
|
||||
int net_gethostbyaddr_nonblock(IPADDR *ip, NET_HOST_CALLBACK func, void *data);
|
||||
/* get the resolved IP address. returns -1 if some error occurred with read() */
|
||||
int net_gethostbyname_return(GIOChannel *pipe, RESOLVED_IP_REC *rec);
|
||||
|
||||
/* Connect to server, call func when finished */
|
||||
int net_connect_nonblock(const char *server, int port, const IPADDR *my_ip,
|
||||
NET_CALLBACK func, void *data);
|
||||
/* Kill the resolver child */
|
||||
void net_disconnect_nonblock(int pid);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue