|
@@ -33,7 +33,7 @@
|
|
#include "str.h"
|
|
#include "str.h"
|
|
#include "config.h"
|
|
#include "config.h"
|
|
|
|
|
|
-struct proxy_l{
|
|
|
|
|
|
+typedef struct proxy_l{
|
|
struct proxy_l* next;
|
|
struct proxy_l* next;
|
|
str name; /* original name */
|
|
str name; /* original name */
|
|
struct hostent host; /* addresses */
|
|
struct hostent host; /* addresses */
|
|
@@ -49,7 +49,7 @@ struct proxy_l{
|
|
int tx;
|
|
int tx;
|
|
int tx_bytes;
|
|
int tx_bytes;
|
|
int errors;
|
|
int errors;
|
|
-};
|
|
|
|
|
|
+} proxy_l_t;
|
|
|
|
|
|
extern struct proxy_l* proxies;
|
|
extern struct proxy_l* proxies;
|
|
|
|
|
|
@@ -90,5 +90,4 @@ inline static void proxy_mark(struct proxy_l* p, int err)
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
-#endif
|
|
|
|
-
|
|
|
|
|
|
+#endif
|