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