summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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)
{