1 /* 2 * 3 * Copyright (c) 2015, Red Hat, Inc. 4 * Copyright (c) 2015, Masatake YAMATO 5 * 6 * Author: Masatake YAMATO <yamato@redhat.com> 7 * 8 * This source code is released for free distribution under the terms of the 9 * GNU General Public License version 2 or (at your option) any later version. 10 * 11 */ 12 13 #ifndef FMT_H 14 #define FMT_H 15 16 #include "general.h" 17 #include "entry.h" 18 #include "mio.h" 19 20 typedef struct sFmtElement fmtElement; 21 extern fmtElement *fmtNew (const char* fmtString); 22 extern int fmtPrint (fmtElement * fmtelts, MIO* fp, const tagEntryInfo *tag); 23 extern void fmtDelete (fmtElement * fmtelts); 24 25 #endif /* FMT_H */ 26