summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2013-04-08 13:03:49 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2013-04-08 13:03:49 +0000
commit69af51a5a82110ce63aceca65dab5cae18c0fb9a (patch)
tree6351917d3bb5bc3b1c014e1c88865fb38593fc55
parente533a0205f0f359099ec4dcbcf75af6fb7470751 (diff)
- doc
-rw-r--r--src/arm/gnunet-arm.c13
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)
}
+/**
+ * Returns a string interpretation of 'rs'
+ *
+ * @param rs the request status from ARM
+ * @return a string interpretation of the request status
+ */
static const char *
req_string (enum GNUNET_ARM_RequestStatus rs)
{
@@ -210,6 +216,13 @@ req_string (enum GNUNET_ARM_RequestStatus rs)
return _("Unknown request status");
}
+
+/**
+ * Returns a string interpretation of the 'result'
+ *
+ * @param result the arm result
+ * @return a string interpretation
+ */
static const char *
ret_string (enum GNUNET_ARM_Result result)
{