mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-12-24 00:23:38 +00:00
New function mastoapi_purge() (still dummy).
This commit is contained in:
parent
b620fe99fa
commit
765f63772f
3 changed files with 10 additions and 0 deletions
4
data.c
4
data.c
|
@ -2078,6 +2078,10 @@ void purge_all(void)
|
|||
}
|
||||
|
||||
purge_server();
|
||||
|
||||
#ifndef NO_MASTODON_API
|
||||
mastoapi_purge();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1961,4 +1961,9 @@ int mastoapi_put_handler(const xs_dict *req, const char *q_path,
|
|||
}
|
||||
|
||||
|
||||
void mastoapi_purge(void)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
#endif /* #ifndef NO_MASTODON_API */
|
||||
|
|
1
snac.h
1
snac.h
|
@ -253,3 +253,4 @@ int mastoapi_post_handler(const xs_dict *req, const char *q_path,
|
|||
int mastoapi_put_handler(const xs_dict *req, const char *q_path,
|
||||
const char *payload, int p_size,
|
||||
char **body, int *b_size, char **ctype);
|
||||
void mastoapi_purge(void);
|
||||
|
|
Loading…
Reference in a new issue