FossilOrigin-Name: 0bd51c88addf78cec118aa2a47d0605cc5cef45dbd627fcd1ae66c9f79faeb4e
This commit is contained in:
me@ow.nekobit.net 2022-05-05 18:40:45 +00:00
parent 38ecda1414
commit 14d610683d
2 changed files with 26 additions and 0 deletions

View file

@ -24,5 +24,6 @@ struct mstdnt_tag
struct mstdnt_history history[];
};
void load_tag_json(struct mstdnt_tag* tag, cJSON* emo_json);
#endif /* MASTODONT_TAG */

25
src/tag.c Normal file
View file

@ -0,0 +1,25 @@
/*
* 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/>.
*/
void load_tag_json(struct mstdnt_tag* tag, cJSON* js)
{
cJSON* v;
memset(tag, 0, sizeof(struct mstdnt_tag));
struct _mstdnt_val_ref refs[] = {
};
}