blob: f9d66c347d7c136b5b92d10e7fa648a191edf67a [file] [log] [blame]
// Copyright 2017 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SMBPROVIDER_CONSTANTS_H_
#define SMBPROVIDER_CONSTANTS_H_
#include <stddef.h> /* for size_t */
namespace smbprovider {
// Buffer size used for reading a directory.
constexpr size_t kBufferSize = 1024 * 32;
// Entries returned by smbc_getdents() that we ignore.
extern const char kEntryParent[];
extern const char kEntrySelf[];
// $HOME environment variable.
extern const char kHomeEnvironmentVariable[];
// Set as $HOME in order for libsmbclient to read smb.conf file.
extern const char kSmbProviderHome[];
// Location and file name for smb configuration file.
extern const char kSmbConfLocation[];
extern const char kSmbConfFile[];
// Data for smb config file.
extern const char kSmbConfData[];
} // namespace smbprovider
#endif // SMBPROVIDER_CONSTANTS_H_