/*
 * This file is part of RTRlib.
 *
 * This file is subject to the terms and conditions of the MIT license.
 * See the file LICENSE in the top level directory for more details.
 *
 * Website: http://rtrlib.realmv6.org/
 */

 #include <stddef.h>


struct pfx_output_template {
	const char *name;
	const char *template;
};


const struct pfx_output_template templates[] = {
{ .name = "default", .template = "\x7b\x7b\x23\x72\x6f\x61\x73\x7d\x7d\x0a\x7b\x7b\x70\x72\x65\x66\x69\x78\x7d\x7d\x2f\x7b\x7b\x6c\x65\x6e\x67\x74\x68\x7d\x7d\x2d\x7b\x7b\x6d\x61\x78\x6c\x65\x6e\x7d\x7d\x20\x41\x53\x20\x7b\x7b\x6f\x72\x69\x67\x69\x6e\x7d\x7d\x0a\x7b\x7b\x2f\x72\x6f\x61\x73\x7d\x7d\x0a "},
{ .name = "csv", .template = "\x7b\x7b\x23\x72\x6f\x61\x73\x7d\x7d\x0a\x7b\x7b\x70\x72\x65\x66\x69\x78\x7d\x7d\x2c\x20\x7b\x7b\x6c\x65\x6e\x67\x74\x68\x7d\x7d\x2c\x20\x7b\x7b\x6d\x61\x78\x6c\x65\x6e\x7d\x7d\x2c\x20\x7b\x7b\x6f\x72\x69\x67\x69\x6e\x7d\x7d\x0a\x7b\x7b\x2f\x72\x6f\x61\x73\x7d\x7d\x0a "},
{ .name = "csvwithheader", .template = "\x70\x72\x65\x66\x69\x78\x2c\x20\x6d\x69\x6e\x6c\x65\x6e\x2c\x20\x6d\x61\x78\x6c\x65\x6e\x2c\x20\x61\x73\x6e\x0a\x7b\x7b\x23\x72\x6f\x61\x73\x7d\x7d\x0a\x7b\x7b\x70\x72\x65\x66\x69\x78\x7d\x7d\x2c\x20\x7b\x7b\x6c\x65\x6e\x67\x74\x68\x7d\x7d\x2c\x20\x7b\x7b\x6d\x61\x78\x6c\x65\x6e\x7d\x7d\x2c\x20\x7b\x7b\x6f\x72\x69\x67\x69\x6e\x7d\x7d\x0a\x7b\x7b\x2f\x72\x6f\x61\x73\x7d\x7d\x0a "},
{ .name = "json", .template = "\x5b\x0a\x7b\x7b\x23\x72\x6f\x61\x73\x7d\x7d\x0a\x09\x7b\x0a\x09\x09\x22\x70\x72\x65\x66\x69\x78\x22\x3a\x20\x22\x7b\x7b\x70\x72\x65\x66\x69\x78\x7d\x7d\x22\x2c\x0a\x09\x09\x22\x6c\x65\x6e\x67\x74\x68\x22\x3a\x20\x22\x7b\x7b\x6c\x65\x6e\x67\x74\x68\x7d\x7d\x22\x2c\x0a\x09\x09\x22\x6d\x61\x78\x6c\x65\x6e\x22\x3a\x20\x22\x7b\x7b\x6d\x61\x78\x6c\x65\x6e\x7d\x7d\x22\x2c\x0a\x09\x09\x22\x6f\x72\x69\x67\x69\x6e\x22\x3a\x20\x22\x7b\x7b\x6f\x72\x69\x67\x69\x6e\x7d\x7d\x22\x0a\x09\x7d\x7b\x7b\x5e\x6c\x61\x73\x74\x7d\x7d\x2c\x7b\x7b\x2f\x6c\x61\x73\x74\x7d\x7d\x0a\x7b\x7b\x2f\x72\x6f\x61\x73\x7d\x7d\x0a\x5d\x0a "},
{NULL, NULL}
};
