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
5#ifndef UTIL_STRUTIL_H_
6#define UTIL_STRUTIL_H_
7
8#include <string>
9
10#include "re2/stringpiece.h"
11#include "util/util.h"
12
13namespace re2 {
14
15std::string CEscape(const StringPiece& src);
16void PrefixSuccessor(std::string* prefix);
17std::string StringPrintf(const char* format, ...);
18void SStringPrintf(std::string* dst, const char* format, ...);
19void StringAppendF(std::string* dst, const char* format, ...);
20
21} // namespace re2
22
23#endif // UTIL_STRUTIL_H_
24