MPD 0.17~git
Data Fields
directory Struct Reference

#include <directory.h>

Data Fields

struct list_head siblings
 Pointers to the siblings of this directory within the parent directory.
struct list_head children
 A doubly linked list of child directories.
struct list_head songs
 A doubly linked list of songs within this directory.
struct playlist_vector playlists
struct directoryparent
time_t mtime
ino_t inode
dev_t device
bool have_stat
char path [sizeof(long)]

Detailed Description

Definition at line 51 of file directory.h.


Field Documentation

struct list_head directory::children

A doubly linked list of child directories.

This attribute is protected with the global db_mutex. Read access in the update thread does not need protection.

Definition at line 68 of file directory.h.

Definition at line 83 of file directory.h.

Definition at line 84 of file directory.h.

Definition at line 82 of file directory.h.

Definition at line 81 of file directory.h.

Definition at line 80 of file directory.h.

char directory::path[sizeof(long)]

Definition at line 85 of file directory.h.

Definition at line 78 of file directory.h.

struct list_head directory::siblings

Pointers to the siblings of this directory within the parent directory.

It is unused (undefined) in the root directory.

This attribute is protected with the global db_mutex. Read access in the update thread does not need protection.

Definition at line 60 of file directory.h.

struct list_head directory::songs

A doubly linked list of songs within this directory.

This attribute is protected with the global db_mutex. Read access in the update thread does not need protection.

Definition at line 76 of file directory.h.


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