libmpdclient 2.22
directory.h
Go to the documentation of this file.
1// SPDX-License-Identifier: BSD-3-Clause
2// Copyright The Music Player Daemon Project
3
10#ifndef MPD_DIRECTORY_H
11#define MPD_DIRECTORY_H
12
13#include "compiler.h"
14
15#include <stdbool.h>
16#include <time.h>
17
18struct mpd_pair;
19struct mpd_connection;
20
27struct mpd_directory;
28
29#ifdef __cplusplus
30extern "C" {
31#endif
32
38mpd_malloc
39struct mpd_directory *
40mpd_directory_dup(const struct mpd_directory *directory);
41
45void mpd_directory_free(struct mpd_directory *directory);
46
51mpd_pure
52const char *
53mpd_directory_get_path(const struct mpd_directory *directory);
54
61mpd_pure
62time_t
64
72mpd_malloc
73struct mpd_directory *
74mpd_directory_begin(const struct mpd_pair *pair);
75
84bool
86 const struct mpd_pair *pair);
87
94mpd_malloc
95struct mpd_directory *
97
98#ifdef __cplusplus
99}
100#endif
101
102#endif
const char * mpd_directory_get_path(const struct mpd_directory *directory)
struct mpd_directory * mpd_directory_dup(const struct mpd_directory *directory)
struct mpd_directory * mpd_directory_begin(const struct mpd_pair *pair)
bool mpd_directory_feed(struct mpd_directory *directory, const struct mpd_pair *pair)
struct mpd_directory * mpd_recv_directory(struct mpd_connection *connection)
time_t mpd_directory_get_last_modified(const struct mpd_directory *directory)
void mpd_directory_free(struct mpd_directory *directory)