libclod
C library for interacting with NBTs, region files, LOD data and other things.
Loading...
Searching...
No Matches
clod_dirent Struct Reference

#include <file.h>

Public Attributes

struct clod_direntnext
 Pointer to the next directory entry.
uintptr_t id
 Unique identifier for the entry.
unsigned short name_size
 Size of name.
unsigned char type
 Type of the entry.
char name []
 Name of the entry.

Detailed Description

When reading a directory stream, the read buffer is filled with these structs.

Definition at line 21 of file file.h.

Member Data Documentation

◆ next

struct clod_dirent* clod_dirent::next

Pointer to the next directory entry.

Definition at line 23 of file file.h.

◆ id

uintptr_t clod_dirent::id

Unique identifier for the entry.

Definition at line 26 of file file.h.

◆ name_size

unsigned short clod_dirent::name_size

Size of name.

Definition at line 29 of file file.h.

◆ type

unsigned char clod_dirent::type

Type of the entry.

Definition at line 32 of file file.h.

◆ name

char clod_dirent::name[]

Name of the entry.

Definition at line 35 of file file.h.


The documentation for this struct was generated from the following file: