1 /* 2 * Copyright (c) 2021, Masatake YAMATO 3 * Copyright (c) 2021, Red Hat, Inc. 4 * 5 * This source code is released for free distribution under the terms of the 6 * GNU General Public License version 2 or (at your option) any later version. 7 */ 8 9 #ifndef FORMATTER_H 10 #define FORMATTER_H 11 12 /* 13 * Includes 14 */ 15 16 #include "es.h" 17 #include "readtags.h" 18 19 #include <stdio.h> 20 21 /* 22 * Type declarations 23 */ 24 25 typedef struct sFCode FCode; 26 27 28 /* 29 * function declarations 30 */ 31 32 FCode *f_compile (EsObject *exp); 33 int f_print (const tagEntry * entry, FCode *code, FILE *out); 34 void f_destroy (FCode *code); 35 void f_help (FILE *fp); 36 37 #endif 38