summaryrefslogtreecommitdiff
path: root/src/status.h
diff options
context:
space:
mode:
authornirav <nirav@teisuu.com>2019-03-28 09:10:52 +0530
committernirav <nirav@teisuu.com>2019-03-28 09:10:52 +0530
commit477e1ba2977435ae7bb75c7dbd95cf28247f89bd (patch)
treece1f9719a7d11bbd47e9adea26dd610bc087962e /src/status.h
parentcc727e972f7fdc871ee1f42cf014151b67422bf0 (diff)
downloadap_client-477e1ba2977435ae7bb75c7dbd95cf28247f89bd.tar.gz
ap_client-477e1ba2977435ae7bb75c7dbd95cf28247f89bd.zip
Move APIs into libgs dirHEADmaster
Diffstat (limited to 'src/status.h')
-rw-r--r--src/status.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/status.h b/src/status.h
deleted file mode 100644
index a065f50..0000000
--- a/src/status.h
+++ /dev/null
@@ -1,31 +0,0 @@
-#ifndef __STATUS_H
-#define __STATUS_H
-
-#include <stdbool.h>
-#include <jansson.h>
-
-#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