diff options
| author | Enno Boland (Gottox) <gottox@s01.de> | 2008-06-18 08:00:18 +0200 |
|---|---|---|
| committer | Enno Boland (Gottox) <gottox@s01.de> | 2008-06-18 08:00:18 +0200 |
| commit | b2712c1480271f92a7c2667b6be398c33973edf7 (patch) | |
| tree | 88122848c26310ae1c86633c0eaaf352fb65fcc9 /smu.h | |
| parent | 66219165d078ff5c1f859548b5fa2b2cf0b49449 (diff) | |
turning smu into a library, thanks arg.
Diffstat (limited to 'smu.h')
| -rw-r--r-- | smu.h | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -0,0 +1,19 @@ +/* libsmu - simple markup library + * Copyright (C) <2007, 2008> Enno Boland <g s01 de> + * + * See LICENSE for further informations + */ +#include <stdio.h> + +/** + * Converts contents of a simple markup stream (in) and prints them to out. + * If suppresshtml == 1, it will create plain text of the simple markup instead + * of HTML. + * + * Returns 0 on success. + */ +int smu_convert(FILE *out, FILE *in, int suppresshtml); + +/** utility */ +void eprint(const char *format, ...); + |