diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2013-04-08 13:03:49 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2013-04-08 13:03:49 +0000 |
commit | 69af51a5a82110ce63aceca65dab5cae18c0fb9a (patch) | |
tree | 6351917d3bb5bc3b1c014e1c88865fb38593fc55 /src/arm/gnunet-arm.c | |
parent | e533a0205f0f359099ec4dcbcf75af6fb7470751 (diff) | |
download | gnunet-69af51a5a82110ce63aceca65dab5cae18c0fb9a.tar.gz gnunet-69af51a5a82110ce63aceca65dab5cae18c0fb9a.zip |
- doc
Diffstat (limited to 'src/arm/gnunet-arm.c')
-rw-r--r-- | src/arm/gnunet-arm.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/arm/gnunet-arm.c b/src/arm/gnunet-arm.c index 6611ae5ec..cfadbc87a 100644 --- a/src/arm/gnunet-arm.c +++ b/src/arm/gnunet-arm.c | |||
@@ -189,6 +189,12 @@ shutdown_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
189 | } | 189 | } |
190 | 190 | ||
191 | 191 | ||
192 | /** | ||
193 | * Returns a string interpretation of 'rs' | ||
194 | * | ||
195 | * @param rs the request status from ARM | ||
196 | * @return a string interpretation of the request status | ||
197 | */ | ||
192 | static const char * | 198 | static const char * |
193 | req_string (enum GNUNET_ARM_RequestStatus rs) | 199 | req_string (enum GNUNET_ARM_RequestStatus rs) |
194 | { | 200 | { |
@@ -210,6 +216,13 @@ req_string (enum GNUNET_ARM_RequestStatus rs) | |||
210 | return _("Unknown request status"); | 216 | return _("Unknown request status"); |
211 | } | 217 | } |
212 | 218 | ||
219 | |||
220 | /** | ||
221 | * Returns a string interpretation of the 'result' | ||
222 | * | ||
223 | * @param result the arm result | ||
224 | * @return a string interpretation | ||
225 | */ | ||
213 | static const char * | 226 | static const char * |
214 | ret_string (enum GNUNET_ARM_Result result) | 227 | ret_string (enum GNUNET_ARM_Result result) |
215 | { | 228 | { |