aboutsummaryrefslogtreecommitdiff
path: root/src/json/json_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/json/json_helper.c')
-rw-r--r--src/json/json_helper.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/json/json_helper.c b/src/json/json_helper.c
index 96e41b5e3..4ec9a6982 100644
--- a/src/json/json_helper.c
+++ b/src/json/json_helper.c
@@ -950,35 +950,4 @@ TALER_JSON_spec_i18n_str (const char *name,
}
-enum GNUNET_GenericReturnValue
-TALER_JSON_parse_agemask (const json_t *root,
- struct TALER_AgeMask *mask)
-{
- const char *name;
- struct GNUNET_JSON_Specification spec[] = {
- GNUNET_JSON_spec_string ("extension",
- &name),
- GNUNET_JSON_spec_uint32 ("mask",
- &mask->mask),
- GNUNET_JSON_spec_end ()
- };
-
- if (GNUNET_OK != GNUNET_JSON_parse (root,
- spec,
- NULL,
- NULL))
- {
- return GNUNET_SYSERR;
- }
-
- if (! strncmp (name,
- "age_restriction",
- sizeof("age_restriction")))
- {
- return GNUNET_SYSERR;
- }
- return GNUNET_OK;
-}
-
-
/* end of json/json_helper.c */