diff options
author | nirav <nirav@teisuu.com> | 2019-03-07 01:27:55 +0530 |
---|---|---|
committer | Dandelion <nirav@teisuu.com> | 2019-03-07 01:27:55 +0530 |
commit | 6dd58a30761eca36544c4e815b36907eab084949 (patch) | |
tree | c1bc857a14fffe6f35f7405f133c0ed114aec1a4 /src/account.h | |
download | ap_client-6dd58a30761eca36544c4e815b36907eab084949.tar.gz ap_client-6dd58a30761eca36544c4e815b36907eab084949.zip |
Initial commit
Diffstat (limited to 'src/account.h')
-rw-r--r-- | src/account.h | 27 |
1 files changed, 27 insertions, 0 deletions
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 <stdbool.h> + +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 |