File: wiki.h

package info (click to toggle)
didiwiki 0.5-13
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 968 kB
  • ctags: 508
  • sloc: ansic: 1,849; sh: 921; makefile: 18
file content (28 lines) | stat: -rw-r--r-- 441 bytes parent folder | download | duplicates (7)
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
#ifndef _HAVE_WIKI_HEADER
#define _HAVE_WIKI_HEADER

typedef struct WikiPageList WikiPageList;

struct WikiPageList 
{
  char   *name;
  time_t  mtime;
};

void
wiki_handle_http_request(HttpRequest *req);

void
wiki_show_header(HttpResponse *res, char *page_title, int want_edit);

void
wiki_show_footer(HttpResponse *res);

void
wiki_print_data_as_html(HttpResponse *res, char *raw_page_data);

int
wiki_init(char *didiwiki_home);


#endif