aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_os_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-07-26 21:20:11 +0000
committerChristian Grothoff <christian@grothoff.org>2009-07-26 21:20:11 +0000
commit7bc466bbdb8b64cac68c5ee59eb7ab6b9d85c420 (patch)
treedc415457e57f9cfda58eb22ca400a941ebcf602e /src/include/gnunet_os_lib.h
parent4f8ba34b32328bd99b2f0c2ff9a2372712022b32 (diff)
downloadgnunet-7bc466bbdb8b64cac68c5ee59eb7ab6b9d85c420.tar.gz
gnunet-7bc466bbdb8b64cac68c5ee59eb7ab6b9d85c420.zip
const-ing of config-handles
Diffstat (limited to 'src/include/gnunet_os_lib.h')
-rw-r--r--src/include/gnunet_os_lib.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/gnunet_os_lib.h b/src/include/gnunet_os_lib.h
index 1d4d47441..cce805ba0 100644
--- a/src/include/gnunet_os_lib.h
+++ b/src/include/gnunet_os_lib.h
@@ -115,7 +115,8 @@ void GNUNET_OS_network_interfaces_list (GNUNET_OS_NetworkInterfaceProcessor
115 * @return -1 on error, otherwise load value (between 0 and 100, 115 * @return -1 on error, otherwise load value (between 0 and 100,
116 * (100 is equivalent to full load for one CPU) 116 * (100 is equivalent to full load for one CPU)
117 */ 117 */
118int GNUNET_OS_load_cpu_get (struct GNUNET_CONFIGURATION_Handle *cfg); 118int GNUNET_OS_load_cpu_get (const struct GNUNET_CONFIGURATION_Handle *cfg);
119
119 120
120/** 121/**
121 * Get the current IO load. 122 * Get the current IO load.
@@ -125,7 +126,7 @@ int GNUNET_OS_load_cpu_get (struct GNUNET_CONFIGURATION_Handle *cfg);
125 * 100 means that we spend all of our cycles waiting for 126 * 100 means that we spend all of our cycles waiting for
126 * the disk) 127 * the disk)
127 */ 128 */
128int GNUNET_OS_load_disk_get (struct GNUNET_CONFIGURATION_Handle *cfg); 129int GNUNET_OS_load_disk_get (const struct GNUNET_CONFIGURATION_Handle *cfg);
129 130
130 131
131/** 132/**