directory.h
Go to the documentation of this file.
// SPDX-License-Identifier: BSD-3-Clause
// Copyright The Music Player Daemon Project
#ifndef MPD_DIRECTORY_H
#define MPD_DIRECTORY_H
#include "compiler.h"
#include <stdbool.h>
#include <time.h>
struct mpd_pair;
struct mpd_connection;
struct mpd_directory;
#ifdef __cplusplus
extern "C" {
#endif
mpd_malloc
struct mpd_directory *
mpd_directory_dup(const struct mpd_directory *directory);
void mpd_directory_free(struct mpd_directory *directory);
mpd_pure
const char *
mpd_directory_get_path(const struct mpd_directory *directory);
mpd_pure
time_t
mpd_directory_get_last_modified(const struct mpd_directory *directory);
mpd_malloc
struct mpd_directory *
mpd_directory_begin(const struct mpd_pair *pair);
bool
mpd_directory_feed(struct mpd_directory *directory,
const struct mpd_pair *pair);
mpd_malloc
struct mpd_directory *
mpd_recv_directory(struct mpd_connection *connection);
#ifdef __cplusplus
}
#endif
#endif
mpd_directory_get_path
const char * mpd_directory_get_path(const struct mpd_directory *directory)
mpd_directory_dup
struct mpd_directory * mpd_directory_dup(const struct mpd_directory *directory)
mpd_directory_begin
struct mpd_directory * mpd_directory_begin(const struct mpd_pair *pair)
mpd_directory_feed
bool mpd_directory_feed(struct mpd_directory *directory, const struct mpd_pair *pair)
mpd_recv_directory
struct mpd_directory * mpd_recv_directory(struct mpd_connection *connection)
mpd_directory_get_last_modified
time_t mpd_directory_get_last_modified(const struct mpd_directory *directory)
mpd_directory_free
void mpd_directory_free(struct mpd_directory *directory)
mpd_connection
mpd_directory
mpd_pair
Definition pair.h:16