projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rewrite grab-client code.
[paraslash.git]
/
net.h
diff --git
a/net.h
b/net.h
index b85403fdbfee4771bdec019409348e01a2f684ce..15412586583ae9398090f98a8bfee83b59a09d59 100644
(file)
--- a/
net.h
+++ b/
net.h
@@
-29,6
+29,8
@@
/**
* Functions to parse and validate (parts of) URLs.
*/
+extern char *parse_cidr(const char *cidr,
+ char *addr, ssize_t addrlen, int32_t *netmask);
extern char *parse_url(const char *url,
char *host, ssize_t hostlen, int32_t *port);
/**