mirror of
https://github.com/SuperBFG7/ympd
synced 2024-11-26 23:07:17 +00:00
27 lines
1.1 KiB
C
27 lines
1.1 KiB
C
/* ympd
|
|
(c) 2013-2014 Andrew Karpow <andy@ndyk.de>
|
|
This project's homepage is: http://www.ympd.org
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation; version 2 of the License.
|
|
|
|
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 General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License along
|
|
with this program; if not, write to the Free Software Foundation, Inc.,
|
|
Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
*/
|
|
|
|
#ifndef __JSON_ENCODE_H__
|
|
#define __JSON_ENCODE_H__
|
|
|
|
int json_emit_int(char *buf, int buf_len, long int value);
|
|
int json_emit_double(char *buf, int buf_len, double value);
|
|
int json_emit_quoted_str(char *buf, int buf_len, const char *str);
|
|
int json_emit_raw_str(char *buf, int buf_len, const char *str);
|
|
|
|
#endif |