treebird/src/status.h
me@ow.nekobit.net c633d81f10 Try interact status
FossilOrigin-Name: 93df0b275019b31e976f67ca127abf4c96f433cdf638a055fc75e4f7ef97da45
2022-02-18 20:27:39 +00:00

28 lines
1,002 B
C

/*
* RatFE - Lightweight frontend for Pleroma
* Copyright (C) 2022 Nekobit
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#ifndef STATUS_H
#define STATUS_H
#include <mastodont.h>
int try_post_status(mastodont_t* api);
int try_interact_status(mastodont_t* api);
char* construct_statuses(struct mstdnt_status* statuses, size_t size, size_t* ret_size);
#endif // STATUS_H