Fix header references

FossilOrigin-Name: 9c2e088cf2a8c04200bc071ae0d4b135a6fa5f4ffe51c061e5026816bca3ee5e
This commit is contained in:
me@ow.nekobit.net 2022-03-18 03:34:05 +00:00
parent fbbdb02add
commit e427513a2d

View file

@ -237,10 +237,10 @@ int mastodont_reblog_status(mastodont_t* data,
return mastodont_request(data, &req_args);
}
int mastodont_view_status(mastodont_t* data,
char* id,
struct mstdnt_storage* storage,
struct mstdnt_status* status)
int mastodont_get_status(mastodont_t* data,
char* id,
struct mstdnt_storage* storage,
struct mstdnt_status* status)
{
char url[MSTDNT_URLSIZE];
snprintf(url, MSTDNT_URLSIZE, "api/v1/statuses/%s", id);
@ -340,13 +340,13 @@ int _mstdnt_status_context_from_result_callback(struct mstdnt_fetch_results* res
args->size_after);
}
int mastodont_status_context(mastodont_t* data,
char* id,
struct mstdnt_storage* storage,
struct mstdnt_status* statuses_before[],
struct mstdnt_status* statuses_after[],
size_t* size_before,
size_t* size_after)
int mastodont_get_status_context(mastodont_t* data,
char* id,
struct mstdnt_storage* storage,
struct mstdnt_status* statuses_before[],
struct mstdnt_status* statuses_after[],
size_t* size_before,
size_t* size_after)
{
struct _mstdnt_status_context_result_cb_args args = {
statuses_before,