summaryrefslogtreecommitdiffstats
path: root/tdeioslave/man/man2html.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-27 01:02:02 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-27 01:02:02 -0600
commitde7e5867a65e0a46f1388e3e50bc7eeddd1aecbf (patch)
treedbb3152c372f8620f9290137d461f3d9f9eba1cb /tdeioslave/man/man2html.h
parent936d3cec490c13f2c5f7dd14f5e364fddaa6da71 (diff)
downloadtdebase-de7e5867a65e0a46f1388e3e50bc7eeddd1aecbf.tar.gz
tdebase-de7e5867a65e0a46f1388e3e50bc7eeddd1aecbf.zip
Rename a number of libraries and executables to avoid conflicts with KDE4
Diffstat (limited to 'tdeioslave/man/man2html.h')
-rw-r--r--tdeioslave/man/man2html.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/tdeioslave/man/man2html.h b/tdeioslave/man/man2html.h
new file mode 100644
index 000000000..68b01efe9
--- /dev/null
+++ b/tdeioslave/man/man2html.h
@@ -0,0 +1,34 @@
+/**
+ * \file man2html.h
+ *
+ * \note Despite that this file is installed publically, it should not be included
+ * \todo ### KDE4: make this file private
+ *
+ */
+
+#include <tqcstring.h>
+
+/** call this with the buffer you have */
+void scan_man_page(const char *man_page);
+
+/**
+ * Set the paths to TDE resources
+ *
+ * \param htmlPath Path to the TDE resources, encoded for HTML
+ * \param cssPath Path to the TDE resources, encoded for CSS
+ * \since 3.5
+ *
+ */
+extern void setResourcePath(const TQCString& _htmlPath, const TQCString& _cssPath);
+
+/** implement this somewhere. It will be called
+ with HTML contents
+*/
+extern void output_real(const char *insert);
+
+/**
+ * called for requested man pages. filename can be a
+ * relative path! Return NULL on errors. The returned
+ * char array is freed by man2html
+ */
+extern char *read_man_page(const char *filename);