blob: a821b738a3b5ff106764c13638893651cca95629 [file] [log] [blame]
// Copyright 2021 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FUSEBOX_UTIL_H_
#define FUSEBOX_UTIL_H_
#include <string>
// Returns fuse open flags string: eg., "O_RDWR|O_CREAT|O_TRUNC".
std::string OpenFlagsToString(int flags);
// Returns fuse `to_set` flags string.
std::string ToSetFlagsToString(int flags);
#endif // FUSEBOX_UTIL_H_