~ubuntu-branches/ubuntu/trusty/haproxy/trusty-backports

« back to all changes in this revision

Viewing changes to include/proto/dumpstats.h

  • Committer: Bazaar Package Importer
  • Author(s): Arnaud Cornet
  • Date: 2009-06-26 00:11:01 UTC
  • mfrom: (1.1.6 upstream) (2.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090626001101-qo261ke2mjh3d8cn
* New Upstream Version (Closes: #534583).
* Add contrib directory in docs

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
  This file contains definitions of some primitives to dedicated to
4
4
  statistics output.
5
5
 
6
 
  Copyright (C) 2000-2007 Willy Tarreau - w@1wt.eu
7
 
  
 
6
  Copyright (C) 2000-2008 Willy Tarreau - w@1wt.eu
 
7
 
8
8
  This library is free software; you can redistribute it and/or
9
9
  modify it under the terms of the GNU Lesser General Public
10
10
  License as published by the Free Software Foundation, version 2.1
39
39
#define STATS_TYPE_BE  1
40
40
#define STATS_TYPE_SV  2
41
41
 
42
 
int stats_parse_global(const char **args, char *err, int errlen);
43
 
int stats_dump_raw(struct session *s, struct uri_auth *uri);
44
 
int stats_dump_http(struct session *s, struct uri_auth *uri);
 
42
#define STATS_ST_INIT  0
 
43
#define STATS_ST_REQ   1
 
44
#define STATS_ST_REP   2
 
45
#define STATS_ST_CLOSE 3
 
46
 
 
47
int stats_dump_raw(struct session *s, struct buffer *rep, struct uri_auth *uri);
 
48
void stats_dump_raw_to_buffer(struct session *s, struct buffer *req);
 
49
int stats_dump_http(struct session *s, struct buffer *rep, struct uri_auth *uri);
45
50
int stats_dump_proxy(struct session *s, struct proxy *px, struct uri_auth *uri);
 
51
void stats_dump_sess_to_buffer(struct session *s, struct buffer *rep);
 
52
void stats_dump_errors_to_buffer(struct session *s, struct buffer *rep);
46
53
 
47
54
 
48
55
#endif /* _PROTO_DUMPSTATS_H */