chromium/third_party/cros_system_api/dbus/fusebox/dbus-constants.h

// 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 SYSTEM_API_DBUS_FUSEBOX_DBUS_CONSTANTS_H_
#define SYSTEM_API_DBUS_FUSEBOX_DBUS_CONSTANTS_H_

namespace fusebox {

// FuseBoxService interface/name/path
const char kFuseBoxServiceInterface[] =;
const char kFuseBoxServiceName[] =;
const char kFuseBoxServicePath[] =;

// FuseBoxService entry methods.
const char kStatMethod[] =;
const char kStat2Method[] =;

// FuseBoxService directory entry methods.
const char kReadDirMethod[] =;
const char kReadDir2Method[] =;
const char kMkDirMethod[] =;
const char kRmDirMethod[] =;

// FuseBoxService file entry methods.
const char kOpenMethod[] =;
const char kOpen2Method[] =;
const char kOpenFDMethod[] =;
const char kReadMethod[] =;
const char kRead2Method[] =;
const char kWriteMethod[] =;
const char kWrite2Method[] =;
const char kTruncateMethod[] =;
const char kFlushMethod[] =;
const char kCloseMethod[] =;
const char kClose2Method[] =;
const char kCloseFDMethod[] =;
const char kCreateMethod[] =;
const char kRenameMethod[] =;
const char kUnlinkMethod[] =;

// FuseBoxService other methods.
const char kListStoragesMethod[] =;

// FuseBoxService signals.
const char kStorageAttachedSignal[] =;
const char kStorageDetachedSignal[] =;

// Monikers: shared names between Fusebox client and server. Monikers are names
// automatically attached to the client daemon FUSE root node. A moniker's name
// has a subdir and FileSystemURL. They are attached by AttachStorage(name).
//
// See chrome/browser/ash/file_manager/fusebox_moniker.h for more about Fusebox
// monikers.
const char kMonikerSubdir[] =;
const char kMonikerFilenamePrefixWithTrailingSlash[] =;

}  // namespace fusebox

#endif  // SYSTEM_API_DBUS_FUSEBOX_DBUS_CONSTANTS_H_