From b2712c1480271f92a7c2667b6be398c33973edf7 Mon Sep 17 00:00:00 2001 From: "Enno Boland (Gottox)" Date: Wed, 18 Jun 2008 08:00:18 +0200 Subject: turning smu into a library, thanks arg. --- smu.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 smu.h (limited to 'smu.h') diff --git a/smu.h b/smu.h new file mode 100644 index 0000000..6a54043 --- /dev/null +++ b/smu.h @@ -0,0 +1,19 @@ +/* libsmu - simple markup library + * Copyright (C) <2007, 2008> Enno Boland + * + * See LICENSE for further informations + */ +#include + +/** + * 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, ...); + -- cgit v1.2.3