StuBS
Readdir_Context Class Reference

#include <fs/dir_context.h>

Inheritance diagram for Readdir_Context:
[legend]
Collaboration diagram for Readdir_Context:
[legend]

Public Member Functions

 Readdir_Context (off_t pos, Dirent *buf, size_t buf_size)
 
bool dir_emit (const char *name, size_t name_len, ino_t ino, unsigned char type)
 
- Public Member Functions inherited from Dir_Context
 Dir_Context (off_t pos)
 

Public Attributes

char * buf
 
size_t buf_used
 
size_t buf_size
 
- Public Attributes inherited from Dir_Context
off_t pos
 
int error
 

Constructor & Destructor Documentation

◆ Readdir_Context()

Readdir_Context::Readdir_Context ( off_t  pos,
Dirent buf,
size_t  buf_size 
)
inline

Member Function Documentation

◆ dir_emit()

bool Readdir_Context::dir_emit ( const char *  name,
size_t  name_len,
ino_t  ino,
unsigned char  type 
)
virtual

Implements Dir_Context.

Member Data Documentation

◆ buf

char* Readdir_Context::buf

◆ buf_used

size_t Readdir_Context::buf_used

◆ buf_size

size_t Readdir_Context::buf_size

The documentation for this class was generated from the following files: