#ifndef __GS_ACCOUNT_H #define __GS_ACCOUNT_H #include #include struct gs_account { char *id; char *username; char *acct; char *display_name; bool locked; unsigned int follower_count; unsigned int following_count; unsigned int statuses_count; char *note; char *url; char *avatar; char *avatar_static; char *header; char *header_static; struct gs_account *moved; bool bot; }; struct gs_account *gs_account_from_json(const char *json_data); struct gs_account *gs_account_from_json_t(const json_t *); void gs_account_free(struct gs_account *); #endif