~ubuntu-branches/ubuntu/trusty/libecap/trusty-proposed

« back to all changes in this revision

Viewing changes to src/libecap/common/names.h

  • Committer: Package Import Robot
  • Author(s): Luigi Gangitano
  • Date: 2012-12-05 20:11:04 UTC
  • Revision ID: package-import@ubuntu.com-20121205201104-i0lk2ymbdre6k4dl
Tags: upstream-0.2.0
ImportĀ upstreamĀ versionĀ 0.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* (C) 2008 The Measurement Factory */
 
2
 
 
3
#ifndef LIBECAP__COMMON_NAMES_H
 
4
#define LIBECAP__COMMON_NAMES_H
 
5
 
 
6
#include <libecap/common/name.h>
 
7
 
 
8
namespace libecap {
 
9
 
 
10
// various protocol elements for use with libecap::Name
 
11
 
 
12
extern const Name protocolHttp;
 
13
extern const Name protocolHttps;
 
14
extern const Name protocolFtp;
 
15
extern const Name protocolGopher;
 
16
extern const Name protocolWais;
 
17
extern const Name protocolUrn;
 
18
extern const Name protocolWhois;
 
19
 
 
20
extern const Name methodGet;
 
21
extern const Name methodPut;
 
22
extern const Name methodPost;
 
23
extern const Name methodHead;
 
24
extern const Name methodConnect;
 
25
extern const Name methodOptions;
 
26
extern const Name methodDelete;
 
27
extern const Name methodTrace;
 
28
 
 
29
extern const Name headerContentLength;
 
30
extern const Name headerTransferEncoding;
 
31
extern const Name headerReferer;
 
32
extern const Name headerVia;
 
33
extern const Name headerXClientIp;
 
34
extern const Name headerXServerIp;
 
35
 
 
36
// commonly used meta-information names, based on popular ICAP extensions
 
37
extern const Name metaClientIp;
 
38
extern const Name metaServerIp;
 
39
extern const Name metaUserName;
 
40
extern const Name metaAuthenticatedUser;
 
41
extern const Name metaAuthenticatedGroups;
 
42
extern const Name metaSubscriberId;
 
43
extern const Name metaVirusId;
 
44
extern const Name metaResponseInfo;
 
45
extern const Name metaResponseDesc;
 
46
extern const Name metaNextServices;
 
47
 
 
48
} // namespace libecap
 
49
 
 
50
#endif