#ifndef __STATUS_H #define __STATUS_H #include #include #include "account.h" struct status { char *id; char *uri; char *url; struct account *account; char *in_reply_to_id; char *in_reply_to_account_id; struct status *reblog; char *content; unsigned int replies_count; unsigned int reblogs_count; unsigned int favourites_count; bool reblogged; bool favourited; bool muted; bool sensitive; }; struct status *status_from_json(const char *); struct status *status_from_json_t(const json_t *); void status_free(struct status *); #endif