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) |
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 0000000000..b88e74cc90 --- /dev/null +++ b/src/jsonapi/jsonapi_relationship.c @@ -0,0 +1,17 @@ +#include "platform.h" +#include "gnunet_jsonapi_lib.h" + + +/** + * Delete a JSON API relationship TODO + * + * @param res the JSON relationship + */ +void +GNUNET_JSONAPI_relationship_delete (struct GNUNET_JSONAPI_Relationship *relationship) +{ + GNUNET_assert (NULL != relationship); + GNUNET_free (relationship); +} + + |