~ubuntu-branches/debian/stretch/haproxy/stretch

« back to all changes in this revision

Viewing changes to include/proto/dumpstats.h

  • Committer: Bazaar Package Importer
  • Author(s): Christo Buschek
  • Date: 2011-03-11 12:41:59 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20110311124159-9foyp4juf1ilqipo
Tags: 1.4.13-1
* New maintainer upload (Closes: #615246)
* New upstream release
* Standards-version goes 3.9.1 (no change)
* Added patch bashism (Closes: #581109)
* Added a README.source file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
#define STAT_SHOW_INFO  0x00000004      /* dump the info part */
34
34
#define STAT_HIDE_DOWN  0x00000008      /* hide 'down' servers in the stats page */
35
35
#define STAT_NO_REFRESH 0x00000010      /* do not automatically refresh the stats page */
 
36
#define STAT_ADMIN      0x00000020      /* indicate a stats admin level */
36
37
#define STAT_BOUND      0x00800000      /* bound statistics to selected proxies/types/services */
37
38
 
38
39
#define STATS_TYPE_FE  0
52
53
#define STAT_CLI_O_SESS 6   /* dump sessions */
53
54
#define STAT_CLI_O_ERR  7   /* dump errors */
54
55
 
 
56
/* status codes (strictly 4 chars) used in the URL to display a message */
 
57
#define STAT_STATUS_UNKN "UNKN" /* an unknown error occured, shouldn't happen */
 
58
#define STAT_STATUS_DONE "DONE" /* the action is successful */
 
59
#define STAT_STATUS_NONE "NONE" /* nothing happened (no action chosen or servers state didn't change) */
 
60
#define STAT_STATUS_EXCD "EXCD" /* an error occured becayse the buffer couldn't store all data */
 
61
#define STAT_STATUS_DENY "DENY" /* action denied */
 
62
 
55
63
 
56
64
int stats_sock_parse_request(struct stream_interface *si, char *line);
57
65
void stats_io_handler(struct stream_interface *si);