From 6dd58a30761eca36544c4e815b36907eab084949 Mon Sep 17 00:00:00 2001 From: nirav Date: Thu, 7 Mar 2019 01:27:55 +0530 Subject: Initial commit --- src/account.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/account.h (limited to 'src/account.h') diff --git a/src/account.h b/src/account.h new file mode 100644 index 0000000..049c829 --- /dev/null +++ b/src/account.h @@ -0,0 +1,27 @@ +#ifndef __account_H +#define __account_H + +#include + +struct 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 account *moved; + bool bot; +}; + +struct account *account_from_json(char *json_data); + +#endif -- cgit v1.2.3