Helper functions

- Rescued the ::encode and ::decode funtions and put them in util.cpp.
  This is because 2.0 will still need to perform the same encode/decode
  operations without Att.cpp around.
This commit is contained in:
Paul Beckingham 2011-08-27 10:14:59 -04:00
parent f92b13fbf7
commit e5acabc452
2 changed files with 57 additions and 0 deletions

View file

@ -85,5 +85,8 @@ void combine (std::vector <int>&, const std::vector <int>&);
unsigned burndown_size (unsigned ntasks);
const std::string encode (const std::string&);
const std::string decode (const std::string&);
#endif
////////////////////////////////////////////////////////////////////////////////