libmpdclient 2.22
fingerprint.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_FINGERPRINT_H
11#define MPD_FINGERPRINT_H
12
13#include "compiler.h"
14
15#include <stdbool.h>
16#include <stddef.h>
17
18struct mpd_connection;
19struct mpd_pair;
20
24};
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
33mpd_pure
36
49bool
50mpd_send_getfingerprint(struct mpd_connection *connection, const char *uri);
51
67mpd_malloc
68const char *
70 const char *uri,
71 char *buffer, size_t buffer_size);
72
73#ifdef __cplusplus
74}
75#endif
76
77#endif
bool mpd_send_getfingerprint(struct mpd_connection *connection, const char *uri)
const char * mpd_run_getfingerprint_chromaprint(struct mpd_connection *connection, const char *uri, char *buffer, size_t buffer_size)
mpd_fingerprint_type
Definition fingerprint.h:21
@ MPD_FINGERPRINT_TYPE_CHROMAPRINT
Definition fingerprint.h:23
@ MPD_FINGERPRINT_TYPE_UNKNOWN
Definition fingerprint.h:22
enum mpd_fingerprint_type mpd_parse_fingerprint_type(const char *name)
const char * name
Definition pair.h:18