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 list_head playlists
struct directoryparent
time_t mtime
ino_t inode
dev_t device
bool have_stat
char path [sizeof(long)]

Detailed Description

Definition at line 54 of file directory.h.


Field Documentation

struct list_head directory::children [read]

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 71 of file directory.h.

Definition at line 86 of file directory.h.

Definition at line 87 of file directory.h.

Definition at line 85 of file directory.h.

Definition at line 84 of file directory.h.

struct directory* directory::parent [read]

Definition at line 83 of file directory.h.

char directory::path[sizeof(long)]

Definition at line 88 of file directory.h.

struct list_head directory::playlists [read]

Definition at line 81 of file directory.h.

struct list_head directory::siblings [read]

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 63 of file directory.h.

struct list_head directory::songs [read]

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 79 of file directory.h.


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

Generated on 9 Aug 2013 for MPD by  doxygen 1.6.1