Revert "Network and IPv{4,6} related changes"

This commit is contained in:
ailin-nemui 2015-09-22 21:59:17 +02:00
commit f5f3d7cc98
19 changed files with 241 additions and 88 deletions

View file

@ -4,12 +4,12 @@
#include "network.h"
typedef struct {
IPADDR ip; /* resolved ip address */
IPADDR ip4, ip6; /* resolved ip addresses */
int error; /* error, 0 = no error, -1 = error: */
int errlen; /* error text length */
char *errorstr; /* error string - dynamically allocated, you'll
need to free() it yourself unless it's NULL */
char *host; /* dito */
char *host4, *host6; /* dito */
} RESOLVED_IP_REC;
typedef struct {