freeswitch/libs/libtpl-1.5/tests/test99.c
2012-09-13 15:01:01 -05:00

15 lines
265 B
C
Executable File

#include <stdio.h>
#include <stdlib.h>
#include "tpl.h"
int main() {
char *fmt, c;
fmt = tpl_peek(TPL_FILE|TPL_DATAPEEK, "test99.tpl", "c", &c);
if (fmt) {
printf("%s\n",fmt);
free(fmt);
printf("%c\n", c);
}
return 0;
}