mastodont-c/include/mastodont_visibility_types.h
me@ow.nekobit.net e762140822 Fix visibility
FossilOrigin-Name: 72af980137a4bb8e62fa2264acf2da95ecdaf7d1abd649e794646d454cb96934
2022-04-19 14:33:13 +00:00

31 lines
1.2 KiB
C

/*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU Lesser 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 Lesser General Public License for more
* details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#ifndef MASTODONT_VISIBILITY_TYPES_H
#define MASTODONT_VISIBILITY_TYPES_H
#include <stdint.h>
/* These used to uint8_t's, but because lists are custom strings,
it was better to make these regular strings */
#define MSTDNT_VISIBILITY_PUBLIC "public"
#define MSTDNT_VISIBILITY_UNLISTED "unlisted"
#define MSTDNT_VISIBILITY_PRIVATE "private"
#define MSTDNT_VISIBILITY_DIRECT "direct"
#define MSTDNT_VISIBILITY_LOCAL "local"
typedef char* mstdnt_visibility_t;
#endif /* MASTODONT_VISIBILITY_TYPES_H */