fingerprint.h
Go to the documentation of this file.
// SPDX-License-Identifier: BSD-3-Clause
// Copyright The Music Player Daemon Project
#ifndef MPD_FINGERPRINT_H
#define MPD_FINGERPRINT_H
#include "compiler.h"
#include <stdbool.h>
#include <stddef.h>
struct mpd_connection;
struct mpd_pair;
enum mpd_fingerprint_type {
MPD_FINGERPRINT_TYPE_UNKNOWN,
MPD_FINGERPRINT_TYPE_CHROMAPRINT,
};
#ifdef __cplusplus
extern "C" {
#endif
mpd_pure
enum mpd_fingerprint_type
mpd_parse_fingerprint_type(const char *name);
bool
mpd_send_getfingerprint(struct mpd_connection *connection, const char *uri);
mpd_malloc
const char *
mpd_run_getfingerprint_chromaprint(struct mpd_connection *connection,
const char *uri,
char *buffer, size_t buffer_size);
#ifdef __cplusplus
}
#endif
#endif
mpd_send_getfingerprint
bool mpd_send_getfingerprint(struct mpd_connection *connection, const char *uri)
mpd_run_getfingerprint_chromaprint
const char * mpd_run_getfingerprint_chromaprint(struct mpd_connection *connection, const char *uri, char *buffer, size_t buffer_size)
mpd_fingerprint_type
mpd_fingerprint_type
Definition fingerprint.h:21
MPD_FINGERPRINT_TYPE_CHROMAPRINT
@ MPD_FINGERPRINT_TYPE_CHROMAPRINT
Definition fingerprint.h:23
MPD_FINGERPRINT_TYPE_UNKNOWN
@ MPD_FINGERPRINT_TYPE_UNKNOWN
Definition fingerprint.h:22
mpd_parse_fingerprint_type
enum mpd_fingerprint_type mpd_parse_fingerprint_type(const char *name)
mpd_connection
mpd_pair
Definition pair.h:16
mpd_pair::name
const char * name
Definition pair.h:18