Initial, untested mirror implementation and resolved some type confusion

around struct ip_and_mask pointers (no idea how it worked before).  Added a
header for readwrite.h used in mirror implementation.
This commit is contained in:
Matthew Bloch
2012-05-21 04:03:17 +01:00
parent cd6e878673
commit 7eaf5c3fd3
5 changed files with 172 additions and 49 deletions

View File

@@ -18,7 +18,7 @@ struct ip_and_mask {
};
int parse_ip_to_sockaddr(struct sockaddr* out, char* src);
int parse_acl(struct ip_and_mask *out[], int max, char **entries);
int parse_acl(struct ip_and_mask (**out)[0], int max, char **entries);
#endif