diff options
| author | 2024-04-29 09:26:37 +0200 | |
|---|---|---|
| committer | 2024-04-29 09:26:37 +0200 | |
| commit | 29fb43079761796e34209611ec93bd651b871cab (patch) | |
| tree | 92032b2b28cf51dcc534124334b6ff8561724441 /snac.h | |
| parent | More work in lists. (diff) | |
| download | snac2-29fb43079761796e34209611ec93bd651b871cab.tar.gz snac2-29fb43079761796e34209611ec93bd651b871cab.tar.xz snac2-29fb43079761796e34209611ec93bd651b871cab.zip | |
More work in lists.
Diffstat (limited to 'snac.h')
| -rw-r--r-- | snac.h | 6 |
1 files changed, 4 insertions, 2 deletions
| @@ -175,6 +175,7 @@ void tag_index(const char *id, const xs_dict *obj); | |||
| 175 | xs_list *tag_search(char *tag, int skip, int show); | 175 | xs_list *tag_search(char *tag, int skip, int show); |
| 176 | 176 | ||
| 177 | xs_val *list_maint(snac *user, const char *list, int op); | 177 | xs_val *list_maint(snac *user, const char *list, int op); |
| 178 | xs_val *list_content(snac *user, const char *list_id, const char *actor_md5, int op); | ||
| 178 | 179 | ||
| 179 | int actor_add(const char *actor, xs_dict *msg); | 180 | int actor_add(const char *actor, xs_dict *msg); |
| 180 | int actor_get(const char *actor, xs_dict **data); | 181 | int actor_get(const char *actor, xs_dict **data); |
| @@ -339,11 +340,12 @@ int oauth_post_handler(const xs_dict *req, const char *q_path, | |||
| 339 | char **body, int *b_size, char **ctype); | 340 | char **body, int *b_size, char **ctype); |
| 340 | int mastoapi_get_handler(const xs_dict *req, const char *q_path, | 341 | int mastoapi_get_handler(const xs_dict *req, const char *q_path, |
| 341 | char **body, int *b_size, char **ctype); | 342 | char **body, int *b_size, char **ctype); |
| 342 | int mastoapi_delete_handler(const xs_dict *req, const char *q_path, | ||
| 343 | char **body, int *b_size, char **ctype); | ||
| 344 | int mastoapi_post_handler(const xs_dict *req, const char *q_path, | 343 | int mastoapi_post_handler(const xs_dict *req, const char *q_path, |
| 345 | const char *payload, int p_size, | 344 | const char *payload, int p_size, |
| 346 | char **body, int *b_size, char **ctype); | 345 | char **body, int *b_size, char **ctype); |
| 346 | int mastoapi_delete_handler(const xs_dict *req, const char *q_path, | ||
| 347 | const char *payload, int p_size, | ||
| 348 | char **body, int *b_size, char **ctype); | ||
| 347 | int mastoapi_put_handler(const xs_dict *req, const char *q_path, | 349 | int mastoapi_put_handler(const xs_dict *req, const char *q_path, |
| 348 | const char *payload, int p_size, | 350 | const char *payload, int p_size, |
| 349 | char **body, int *b_size, char **ctype); | 351 | char **body, int *b_size, char **ctype); |