diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2016-05-04 17:18:02 +0000 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2016-05-04 17:18:02 +0000 |
commit | a44744499d8f3df64cc1d15cd6b40b4b0e4a3683 (patch) | |
tree | 27621a6ee20cbe8e344ffdc18c05754e67d67bf3 /src/jsonapi/jsonapi_relationship.c | |
parent | ca11046195a840932edb04900669a38cd60ae682 (diff) | |
download | gnunet-a44744499d8f3df64cc1d15cd6b40b4b0e4a3683.tar.gz gnunet-a44744499d8f3df64cc1d15cd6b40b4b0e4a3683.zip |
Update jsonapi to current specs, refactor
Diffstat (limited to 'src/jsonapi/jsonapi_relationship.c')
-rw-r--r-- | src/jsonapi/jsonapi_relationship.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/jsonapi/jsonapi_relationship.c b/src/jsonapi/jsonapi_relationship.c new file mode 100644 index 000000000..b88e74cc9 --- /dev/null +++ b/src/jsonapi/jsonapi_relationship.c | |||
@@ -0,0 +1,17 @@ | |||
1 | #include "platform.h" | ||
2 | #include "gnunet_jsonapi_lib.h" | ||
3 | |||
4 | |||
5 | /** | ||
6 | * Delete a JSON API relationship TODO | ||
7 | * | ||
8 | * @param res the JSON relationship | ||
9 | */ | ||
10 | void | ||
11 | GNUNET_JSONAPI_relationship_delete (struct GNUNET_JSONAPI_Relationship *relationship) | ||
12 | { | ||
13 | GNUNET_assert (NULL != relationship); | ||
14 | GNUNET_free (relationship); | ||
15 | } | ||
16 | |||
17 | |||