aboutsummaryrefslogtreecommitdiff
path: root/lib/curl_gethostname.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/curl_gethostname.h')
-rw-r--r--lib/curl_gethostname.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/curl_gethostname.h b/lib/curl_gethostname.h
index b8ecf88d6..48740f62a 100644
--- a/lib/curl_gethostname.h
+++ b/lib/curl_gethostname.h
@@ -22,6 +22,10 @@
*
***************************************************************************/
+/* Hostname buffer size */
+#define HOSTNAME_MAX 1024
+
+/* This returns the local machine's un-qualified hostname */
int Curl_gethostname(char *name, GETHOSTNAME_TYPE_ARG2 namelen);
#endif /* HEADER_CURL_GETHOSTNAME_H */