~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Avoid "dereferencing pointer 'sa' does break strict-aliasing rules" warnings
[sgt/putty]
/
network.h
diff --git
a/network.h
b/network.h
index
af83e65
..
6ee7081
100644
(file)
--- a/
network.h
+++ b/
network.h
@@
-202,6
+202,12
@@
void net_pending_errors(void);
*/
int net_service_lookup(char *service);
+/*
+ * Look up the local hostname; return value needs freeing.
+ * May return NULL.
+ */
+char *get_hostname(void);
+
/********** SSL stuff **********/
/*