Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
SMBFile.h File Reference
#include "URL.h"
#include "filesystem/IFile.h"
#include "threads/CriticalSection.h"
#include <cerrno>
#include <cstdint>
#include <string>

Classes

class  CSMB
 
class  XFILE::CSMBFile
 

Namespaces

namespace  XFILE
 
namespace  XFILE::SMBFileRecovery
 

Macros

#define NT_STATUS_CONNECTION_REFUSED   long(0xC0000000 | 0x0236)
 
#define NT_STATUS_INVALID_HANDLE   long(0xC0000000 | 0x0008)
 
#define NT_STATUS_ACCESS_DENIED   long(0xC0000000 | 0x0022)
 
#define NT_STATUS_OBJECT_NAME_NOT_FOUND   long(0xC0000000 | 0x0034)
 
#define NT_STATUS_INVALID_COMPUTER_NAME   long(0xC0000000 | 0x0122)
 

Typedefs

typedef _SMBCCTX SMBCCTX
 

Functions

constexpr bool XFILE::SMBFileRecovery::IsReconnectableReadError (int error) noexcept
 
constexpr bool XFILE::SMBFileRecovery::IsValidEof (int64_t offset, int64_t fileSize) noexcept
 

Variables

CSMB smb
 

Macro Definition Documentation

◆ NT_STATUS_ACCESS_DENIED

#define NT_STATUS_ACCESS_DENIED   long(0xC0000000 | 0x0022)

◆ NT_STATUS_CONNECTION_REFUSED

#define NT_STATUS_CONNECTION_REFUSED   long(0xC0000000 | 0x0236)

◆ NT_STATUS_INVALID_COMPUTER_NAME

#define NT_STATUS_INVALID_COMPUTER_NAME   long(0xC0000000 | 0x0122)

◆ NT_STATUS_INVALID_HANDLE

#define NT_STATUS_INVALID_HANDLE   long(0xC0000000 | 0x0008)

◆ NT_STATUS_OBJECT_NAME_NOT_FOUND

#define NT_STATUS_OBJECT_NAME_NOT_FOUND   long(0xC0000000 | 0x0034)

Typedef Documentation

◆ SMBCCTX

typedef _SMBCCTX SMBCCTX

Variable Documentation

◆ smb

CSMB smb
extern