summaryrefslogtreecommitdiffstats
path: root/kioslave/man/man2html.h
blob: e4d19a87b476843178aa3311e6621bc34bfe776e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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 KDE resources
 *
 * \param htmlPath Path to the KDE resources, encoded for HTML
 * \param cssPath Path to the KDE 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);