]>
Commit | Line | Data |
---|---|---|
ee82937c | 1 | /* |
bde978a6 | 2 | * Copyright (C) 1996-2015 The Squid Software Foundation and contributors |
ee82937c | 3 | * |
bbc27441 AJ |
4 | * Squid software is distributed under GPLv2+ license and includes |
5 | * contributions from numerous individuals and organizations. | |
6 | * Please see the COPYING and CONTRIBUTORS files for details. | |
ee82937c FC |
7 | */ |
8 | ||
bbc27441 AJ |
9 | #ifndef SQUID_MGR_CACHEMGRPASSWD_H_ |
10 | #define SQUID_MGR_CACHEMGRPASSWD_H_ | |
11 | ||
ee82937c FC |
12 | class wordlist; |
13 | ||
e4a14600 A |
14 | namespace Mgr |
15 | { | |
001d55dc FC |
16 | //TODO: refactor into a std::list |
17 | /// list of cachemgr password authorization definitions. Currently a POD. | |
613924ee | 18 | class ActionPasswordList |
1b2f0924 | 19 | { |
ee82937c | 20 | public: |
f76247e9 AJ |
21 | ActionPasswordList() : passwd(NULL), actions(NULL), next(NULL) {} |
22 | ~ActionPasswordList(); | |
23 | ||
ee82937c FC |
24 | char *passwd; |
25 | wordlist *actions; | |
613924ee | 26 | ActionPasswordList *next; |
ee82937c FC |
27 | }; |
28 | ||
613924ee FC |
29 | } //namespace Mgr |
30 | ||
31 | #endif /* SQUID_MGR_CACHEMGRPASSWD_H_ */ | |
f53969cc | 32 |