source: subversion/applications/utils/mod_tile/daemon.h @ 21368

Last change on this file since 21368 was 20282, checked in by apmon, 10 years ago

[mod_tile renderd munin] report mod_tile / renderd usage by zoom level via munin

File size: 797 bytes
Line 
1#ifndef DAEMON_H
2#define DEEMON_H
3
4#include <limits.h> /* for PATH_MAX */
5
6#include "protocol.h"
7
8#define INILINE_MAX 256
9#define MAX_SLAVES 5
10
11typedef struct {
12    char *socketname;
13    char *iphostname;
14    int ipport;
15    int num_threads;
16    char *tile_dir;
17    char *mapnik_plugins_dir;
18    char *mapnik_font_dir;
19    int mapnik_font_dir_recurse;
20    char * stats_filename;
21} renderd_config;
22
23typedef struct {
24    char xmlname[XMLCONFIG_MAX];
25    char xmlfile[PATH_MAX];
26    char xmluri[PATH_MAX];
27    char host[PATH_MAX];
28    char htcpip[PATH_MAX];
29    char tile_dir[PATH_MAX];
30} xmlconfigitem;
31
32typedef struct {
33    long noDirtyRender;
34    long noReqRender;
35    long noReqPrioRender;
36    long noReqBulkRender;
37    long noReqDroped;
38        long noZoomRender[MAX_ZOOM + 1];
39} stats_struct;
40
41#endif
Note: See TracBrowser for help on using the repository browser.