summaryrefslogtreecommitdiff
path: root/src/system.h
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2015-06-11 20:59:00 +0200
committerAndreas Baumann <abaumann@yahoo.com>2015-06-11 20:59:00 +0200
commitc86834d40fa6b07828b10e2c6d8d2c6bd35fe116 (patch)
treeafca67b9f4287e07c12e076a96f359e0210edf6f /src/system.h
parent365d5c59d76831b7ec0d6c3ebe49ef1e3793ac7c (diff)
downloadbiruda-c86834d40fa6b07828b10e2c6d8d2c6bd35fe116.tar.gz
biruda-c86834d40fa6b07828b10e2c6d8d2c6bd35fe116.tar.bz2
replaced gethostname on Windows with GetComputerNameEx
Diffstat (limited to 'src/system.h')
-rw-r--r--src/system.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/system.h b/src/system.h
index 3ff2ebb..dee8669 100644
--- a/src/system.h
+++ b/src/system.h
@@ -9,6 +9,8 @@ void system_os( char *name, size_t len );
void system_arch( char *name, size_t len );
+int system_hostname( char *name, size_t len );
+
/* in kilobytes */
unsigned int system_phys_memory( );