Changeset 1284 for trunk/pdns/pdns/statbag.hh
- Timestamp:
- 11/15/08 23:24:17 (21 months ago)
- Files:
-
- 1 modified
-
trunk/pdns/pdns/statbag.hh (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/pdns/statbag.hh
r681 r1284 59 59 class StatBag 60 60 { 61 map<string, int *> d_stats;61 map<string, unsigned int *> d_stats; 62 62 map<string, string> d_keyDescrips; 63 63 map<string,StatRing>d_rings; … … 97 97 int read(const string &key); //!< read the value behind this key 98 98 int readZero(const string &key); //!< read the value behind this key, and zero it afterwards 99 int *getPointer(const string &key); //!< get a direct pointer to the value behind a key. Use this for high performance increments99 unsigned int *getPointer(const string &key); //!< get a direct pointer to the value behind a key. Use this for high performance increments 100 100 string getValueStr(const string &key); //!< read a value behind a key, and return it as a string 101 101 string getValueStrZero(const string &key); //!< read a value behind a key, and return it as a string, and zero afterwards