File: winchm.h

package info (click to toggle)
halibut 1.3-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,060 kB
  • sloc: ansic: 59,012; perl: 197; lisp: 76; makefile: 50; sh: 1
file content (21 lines) | stat: -rw-r--r-- 955 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
struct chm;

struct chm *chm_new(void);
void chm_free(struct chm *chm);
void chm_add_file(struct chm *chm, const char *name,
                  const char *data, int len);
void chm_title(struct chm *chm, const char *title);
void chm_contents_filename(struct chm *chm, const char *name);
void chm_index_filename(struct chm *chm, const char *name);
void chm_default_topic(struct chm *chm, const char *name);
void chm_default_window(struct chm *chm, const char *name);
void chm_add_window(struct chm *chm, const char *winname, const char *title,
                    const char *contentsfile, const char *indexfile,
                    const char *rootfile, int navpaneflags, int toolbarflags);

struct chm_section;
struct chm_section *chm_add_section(struct chm *chm,
                                    struct chm_section *parent,
                                    const char *title, const char *url);

const char *chm_build(struct chm *chm, int *outlen);