diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-10-06 11:44:29 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-10-06 11:44:29 +0000 |
commit | b8da6057b2c0c66931ccde9b4bba418fc5222724 (patch) | |
tree | 1e858619686d7e2d38655f9f24bdc64e3e4e8462 /src/include/gnunet_datacache_lib.h | |
parent | 7d2cbe5bd19ec95ada5a28a0134185ef29007b69 (diff) | |
download | gnunet-b8da6057b2c0c66931ccde9b4bba418fc5222724.tar.gz gnunet-b8da6057b2c0c66931ccde9b4bba418fc5222724.zip |
use size_t
Diffstat (limited to 'src/include/gnunet_datacache_lib.h')
-rw-r--r-- | src/include/gnunet_datacache_lib.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/gnunet_datacache_lib.h b/src/include/gnunet_datacache_lib.h index efce55af4..74878f08b 100644 --- a/src/include/gnunet_datacache_lib.h +++ b/src/include/gnunet_datacache_lib.h | |||
@@ -85,7 +85,7 @@ void GNUNET_DATACACHE_destroy (struct GNUNET_DATACACHE_Handle *h); | |||
85 | typedef int (*GNUNET_DATACACHE_Iterator) (void *cls, | 85 | typedef int (*GNUNET_DATACACHE_Iterator) (void *cls, |
86 | struct GNUNET_TIME_Absolute exp, | 86 | struct GNUNET_TIME_Absolute exp, |
87 | const GNUNET_HashCode * key, | 87 | const GNUNET_HashCode * key, |
88 | uint32_t size, /* FIXME: use size_t? */ | 88 | size_t size, |
89 | const char *data, | 89 | const char *data, |
90 | enum GNUNET_BLOCK_Type type); | 90 | enum GNUNET_BLOCK_Type type); |
91 | 91 | ||
@@ -104,7 +104,7 @@ typedef int (*GNUNET_DATACACHE_Iterator) (void *cls, | |||
104 | int | 104 | int |
105 | GNUNET_DATACACHE_put (struct GNUNET_DATACACHE_Handle *h, | 105 | GNUNET_DATACACHE_put (struct GNUNET_DATACACHE_Handle *h, |
106 | const GNUNET_HashCode * key, | 106 | const GNUNET_HashCode * key, |
107 | uint32_t size, | 107 | size_t size, |
108 | const char *data, | 108 | const char *data, |
109 | enum GNUNET_BLOCK_Type type, | 109 | enum GNUNET_BLOCK_Type type, |
110 | struct GNUNET_TIME_Absolute discard_time); | 110 | struct GNUNET_TIME_Absolute discard_time); |