summaryrefslogtreecommitdiffstats
path: root/src/libcddb-test.c
blob: 3d7a2f61cf64885b402aae9eff9202471f52c15d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * This file is part of MXE. See LICENSE.md for licensing information.
 */

// Based on: http://libcddb.sourceforge.net/tutorial.html

#include <stdio.h>

#include <cddb/cddb.h>

int main() {
    cddb_track_t *track = NULL;
    track = cddb_track_new();
    if (track == NULL) {
            fprintf(stderr, "out of memory, unable to create track");
    }
    cddb_track_destroy(track);
    return 0;
}