summaryrefslogtreecommitdiff
path: root/fmt-pango.h
diff options
context:
space:
mode:
Diffstat (limited to 'fmt-pango.h')
-rw-r--r--fmt-pango.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/fmt-pango.h b/fmt-pango.h
new file mode 100644
index 0000000..5cf2416
--- /dev/null
+++ b/fmt-pango.h
@@ -0,0 +1,24 @@
+/*
+ * fmt-pango.h - Format strings for Pango markup
+ *
+ * Written 2016 by Werner Almesberger
+ * Copyright 2016 by Werner Almesberger
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ */
+
+
+#ifndef FMT_PANGO_H
+#define FMT_PANGO_H
+
+#include <stdarg.h>
+
+
+unsigned vsfmt_pango(char *buf, const char *fmt, va_list ap);
+char *vfmt_pango(const char *fmt, va_list ap);
+char *fmt_pango(const char *fmt, ...);
+
+#endif /* !FMT_PANGO_H */