2 #include "gnunet_jsonapi_lib.h"
6 struct GNUNET_JSONAPI_Error
11 struct GNUNET_JSONAPI_Error *next;
16 struct GNUNET_JSONAPI_Error *prev;
29 * HTTP status code for this error
34 * Application error code
54 * Meta info for the error
59 struct GNUNET_JSONAPI_Relationship
64 struct GNUNET_JSONAPI_Link *links;
67 * Resource linkage data
69 struct GNUNET_JSONAPI_Resource *res_list_head;
74 struct GNUNET_JSONAPI_Resource *res_list_tail;
77 * Number of resources in data section
88 * A jsonapi resource object
90 struct GNUNET_JSONAPI_Resource
95 struct GNUNET_JSONAPI_Resource *next;
100 struct GNUNET_JSONAPI_Resource *prev;
120 struct GNUNET_JSONAPI_Relationship *relationship;
124 struct GNUNET_JSONAPI_Document
129 struct GNUNET_JSONAPI_Resource *res_list_head;
134 struct GNUNET_JSONAPI_Resource *res_list_tail;
144 struct GNUNET_JSONAPI_Error *err_list_head;
149 struct GNUNET_JSONAPI_Error *err_list_tail;