aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_json_lib.h
diff options
context:
space:
mode:
authorPhil <phil.buschmann@tum.de>2018-07-25 21:57:49 +0200
committerPhil <phil.buschmann@tum.de>2018-07-25 21:57:49 +0200
commitcc577a227d6a5ae8ef75e0fa91ef98ced2d2b743 (patch)
tree07084e1aa8a37dc0dc4d15fe0724801d7867157a /src/include/gnunet_json_lib.h
parent4992eacc10bedaa0edfa03b401253408c6267798 (diff)
downloadgnunet-cc577a227d6a5ae8ef75e0fa91ef98ced2d2b743.tar.gz
gnunet-cc577a227d6a5ae8ef75e0fa91ef98ced2d2b743.zip
-wip namestore api, changed adding gnsrecord
Diffstat (limited to 'src/include/gnunet_json_lib.h')
-rw-r--r--src/include/gnunet_json_lib.h65
1 files changed, 0 insertions, 65 deletions
diff --git a/src/include/gnunet_json_lib.h b/src/include/gnunet_json_lib.h
index 6340d1f41..4855f21b4 100644
--- a/src/include/gnunet_json_lib.h
+++ b/src/include/gnunet_json_lib.h
@@ -479,71 +479,6 @@ GNUNET_JSON_getopt (char shortName,
479 const char *description, 479 const char *description,
480 json_t **json); 480 json_t **json);
481 481
482/* ****************** GETOPT JSON parser ******************* */
483
484struct GNUNET_REST_JSON_Data
485{
486 /**
487 * Public key of an identity
488 */
489 char *pubkey;
490
491 /**
492 * Name
493 */
494 char *name;
495
496 /**
497 * Nickname
498 */
499 char *nickname;
500
501 /**
502 * New name
503 */
504 char *new_name;
505
506 /**
507 * Name of subsystem
508 */
509 char *subsystem;
510
511 /**
512 * Should data be handled as public (GNUNET_YES or GNUNET_NO)
513 */
514 int is_public;
515
516 /**
517 * Expiration date of data
518 */
519 char *expiration_time;
520
521 /**
522 * Type of data
523 */
524 char *type;
525
526 /**
527 * Value of data
528 */
529 char *value;
530
531 /**
532 * Zone
533 */
534 char *zone;
535};
536/*
537 * Test
538 */
539int
540GNUNET_REST_JSON_parse (struct GNUNET_REST_JSON_Data** rest_json_data,
541 json_t *json_data);
542
543int
544GNUNET_REST_JSON_free (struct GNUNET_REST_JSON_Data* rest_json_data);
545
546
547#endif 482#endif
548 483
549/* end of gnunet_json_lib.h */ 484/* end of gnunet_json_lib.h */