strutil.h 488 B

123456789101112131415161718192021
  1. // Copyright 2016 The RE2 Authors. All Rights Reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. #ifndef UTIL_STRUTIL_H_
  5. #define UTIL_STRUTIL_H_
  6. #include <string>
  7. #include "re2/stringpiece.h"
  8. #include "util/util.h"
  9. namespace re2 {
  10. std::string CEscape(const StringPiece& src);
  11. void PrefixSuccessor(std::string* prefix);
  12. std::string StringPrintf(const char* format, ...);
  13. } // namespace re2
  14. #endif // UTIL_STRUTIL_H_