version 1.56, 2014/07/09 11:34:46 |
version 1.57, 2014/07/09 12:09:04 |
|
|
#include <string.h> |
#include <string.h> |
#include <unistd.h> |
#include <unistd.h> |
|
|
#if defined(__sun) |
|
/* for stat() */ |
|
#include <fcntl.h> |
|
#include <sys/types.h> |
|
#include <sys/stat.h> |
|
#endif |
|
|
|
#include "mandoc.h" |
#include "mandoc.h" |
#include "mandoc_aux.h" |
#include "mandoc_aux.h" |
#include "main.h" |
#include "main.h" |
|
|
struct req { |
struct req { |
struct query q; |
struct query q; |
char **p; /* array of available manroots */ |
char **p; /* array of available manroots */ |
size_t psz; |
size_t psz; /* number of available manroots */ |
enum page page; |
enum page page; |
}; |
}; |
|
|
Line 129 html_putchar(char c) |
|
Line 122 html_putchar(char c) |
|
break; |
break; |
} |
} |
} |
} |
|
|
static void |
static void |
http_printquery(const struct req *req) |
http_printquery(const struct req *req) |
{ |
{ |
Line 150 http_printquery(const struct req *req) |
|
Line 144 http_printquery(const struct req *req) |
|
http_print(req->q.expr ? req->q.expr : ""); |
http_print(req->q.expr ? req->q.expr : ""); |
} |
} |
} |
} |
|
|
|
|
static void |
static void |
html_printquery(const struct req *req) |
html_printquery(const struct req *req) |