libmusicbrainz5 5.1.0
mb5_c.h
Go to the documentation of this file.
1/* --------------------------------------------------------------------------
2
3 libmusicbrainz5 - Client library to access MusicBrainz
4
5 Copyright (C) 2012 Andrew Hawkins
6
7 This file is part of libmusicbrainz5.
8
9 This library is free software; you can redistribute it and/or
10 modify it under the terms of the GNU Lesser General Public
11 License as published by the Free Software Foundation; either
12 version 2.1 of the License, or (at your option) any later version.
13
14 libmusicbrainz5 is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 Lesser General Public License for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with this library. If not, see <http://www.gnu.org/licenses/>.
21
22 THIS FILE IS AUTOMATICALLY GENERATED - DO NOT EDIT IT!
23
24----------------------------------------------------------------------------*/
25
26
27
28/*
29 Things you should delete using the appropriate mb5_xxx_delete() function:
30
31 * The query object you create to do the actual work
32 * Any object or list returned from one of the mb5_query_xxx() functions
33 * The return from mb5_release_media_matching_discid() function
34 * The return from any mb5_xxx_clone() function
35
36 Everything else remains managed by the library, and should not be deleted
37
38 If in doubt, valgrind is a useful way to spot leaks or things being deleted
39 when they shouldn't be.
40
41*/
42
43#ifndef _MUSICBRAINZ5_MB_C_H
44#define _MUSICBRAINZ5_MB_C_H
45
46#include "musicbrainz5/defines.h"
47
48#ifdef __cplusplus
49extern "C"
50{
51#endif
52
53
54 typedef void *Mb5Entity;
55 typedef void *Mb5Alias;
56 typedef void *Mb5Annotation;
57 typedef void *Mb5Artist;
58 typedef void *Mb5ArtistCredit;
59 typedef void *Mb5Attribute;
60 typedef void *Mb5CDStub;
61 typedef void *Mb5Collection;
62 typedef void *Mb5Disc;
63 typedef void *Mb5FreeDBDisc;
64 typedef void *Mb5IPI;
65 typedef void *Mb5ISRC;
66 typedef void *Mb5ISWC;
67 typedef void *Mb5Label;
68 typedef void *Mb5LabelInfo;
69 typedef void *Mb5Lifespan;
70 typedef void *Mb5Medium;
71 typedef void *Mb5Message;
72 typedef void *Mb5Metadata;
73 typedef void *Mb5NameCredit;
74 typedef void *Mb5NonMBTrack;
75 typedef void *Mb5Offset;
76 typedef void *Mb5PUID;
77 typedef void *Mb5Query;
78 typedef void *Mb5Rating;
79 typedef void *Mb5Recording;
80 typedef void *Mb5Relation;
81 typedef void *Mb5Release;
82 typedef void *Mb5ReleaseGroup;
83 typedef void *Mb5SecondaryType;
84 typedef void *Mb5Tag;
85 typedef void *Mb5TextRepresentation;
86 typedef void *Mb5Track;
87 typedef void *Mb5UserRating;
88 typedef void *Mb5UserTag;
89 typedef void *Mb5Work;
90 typedef void *Mb5AliasList;
91 typedef void *Mb5AnnotationList;
92 typedef void *Mb5ArtistList;
93 typedef void *Mb5AttributeList;
94 typedef void *Mb5CDStubList;
95 typedef void *Mb5CollectionList;
96 typedef void *Mb5DiscList;
97 typedef void *Mb5FreeDBDiscList;
98 typedef void *Mb5IPIList;
99 typedef void *Mb5ISRCList;
100 typedef void *Mb5ISWCList;
101 typedef void *Mb5LabelList;
102 typedef void *Mb5LabelInfoList;
103 typedef void *Mb5MediumList;
104 typedef void *Mb5NameCreditList;
105 typedef void *Mb5NonMBTrackList;
106 typedef void *Mb5OffsetList;
107 typedef void *Mb5PUIDList;
108 typedef void *Mb5RecordingList;
109 typedef void *Mb5RelationList;
110 typedef void *Mb5RelationListList;
111 typedef void *Mb5ReleaseList;
112 typedef void *Mb5ReleaseGroupList;
113 typedef void *Mb5SecondaryTypeList;
114 typedef void *Mb5TagList;
115 typedef void *Mb5TrackList;
116 typedef void *Mb5UserTagList;
117 typedef void *Mb5WorkList;
118
127
138 int mb5_entity_ext_attribute_name(Mb5Entity Entity, int Item, char *str, int len);
139
150 int mb5_entity_ext_attribute_value(Mb5Entity Entity, int Item, char *str, int len);
151
160
171 int mb5_entity_ext_element_name(Mb5Entity Entity, int Item, char *str, int len);
172
183 int mb5_entity_ext_element_value(Mb5Entity Entity, int Item, char *str, int len);
184
191
201
211 int mb5_alias_get_locale(Mb5Alias Alias, char *str, int len);
212
222 int mb5_alias_get_text(Mb5Alias Alias, char *str, int len);
223
233 int mb5_alias_get_sortname(Mb5Alias Alias, char *str, int len);
234
244 int mb5_alias_get_type(Mb5Alias Alias, char *str, int len);
245
255 int mb5_alias_get_primary(Mb5Alias Alias, char *str, int len);
256
266 int mb5_alias_get_begindate(Mb5Alias Alias, char *str, int len);
267
277 int mb5_alias_get_enddate(Mb5Alias Alias, char *str, int len);
278
285
295
305 int mb5_annotation_get_type(Mb5Annotation Annotation, char *str, int len);
306
316 int mb5_annotation_get_entity(Mb5Annotation Annotation, char *str, int len);
317
327 int mb5_annotation_get_name(Mb5Annotation Annotation, char *str, int len);
328
338 int mb5_annotation_get_text(Mb5Annotation Annotation, char *str, int len);
339
346
356
366 int mb5_artist_get_id(Mb5Artist Artist, char *str, int len);
367
377 int mb5_artist_get_type(Mb5Artist Artist, char *str, int len);
378
388 int mb5_artist_get_name(Mb5Artist Artist, char *str, int len);
389
399 int mb5_artist_get_sortname(Mb5Artist Artist, char *str, int len);
400
410 int mb5_artist_get_gender(Mb5Artist Artist, char *str, int len);
411
421 int mb5_artist_get_country(Mb5Artist Artist, char *str, int len);
422
432 int mb5_artist_get_disambiguation(Mb5Artist Artist, char *str, int len);
433
442
451
460
469
478
487
496
505
514
523
532
541
550
557
567
576
583
593
603 int mb5_attribute_get_text(Mb5Attribute Attribute, char *str, int len);
604
611
621
631 int mb5_cdstub_get_id(Mb5CDStub CDStub, char *str, int len);
632
642 int mb5_cdstub_get_title(Mb5CDStub CDStub, char *str, int len);
643
653 int mb5_cdstub_get_artist(Mb5CDStub CDStub, char *str, int len);
654
664 int mb5_cdstub_get_barcode(Mb5CDStub CDStub, char *str, int len);
665
675 int mb5_cdstub_get_comment(Mb5CDStub CDStub, char *str, int len);
676
685
692
702
712 int mb5_collection_get_id(Mb5Collection Collection, char *str, int len);
713
723 int mb5_collection_get_name(Mb5Collection Collection, char *str, int len);
724
734 int mb5_collection_get_editor(Mb5Collection Collection, char *str, int len);
735
744
751
761
771 int mb5_disc_get_id(Mb5Disc Disc, char *str, int len);
772
781
790
799
806
816
826 int mb5_freedbdisc_get_id(Mb5FreeDBDisc FreeDBDisc, char *str, int len);
827
837 int mb5_freedbdisc_get_title(Mb5FreeDBDisc FreeDBDisc, char *str, int len);
838
848 int mb5_freedbdisc_get_artist(Mb5FreeDBDisc FreeDBDisc, char *str, int len);
849
859 int mb5_freedbdisc_get_category(Mb5FreeDBDisc FreeDBDisc, char *str, int len);
860
870 int mb5_freedbdisc_get_year(Mb5FreeDBDisc FreeDBDisc, char *str, int len);
871
880
887
897
907 int mb5_ipi_get_ipi(Mb5IPI IPI, char *str, int len);
908
915
925
935 int mb5_isrc_get_id(Mb5ISRC ISRC, char *str, int len);
936
945
952
962
972 int mb5_iswc_get_iswc(Mb5ISWC ISWC, char *str, int len);
973
980
990
1000 int mb5_label_get_id(Mb5Label Label, char *str, int len);
1001
1011 int mb5_label_get_type(Mb5Label Label, char *str, int len);
1012
1022 int mb5_label_get_name(Mb5Label Label, char *str, int len);
1023
1033 int mb5_label_get_sortname(Mb5Label Label, char *str, int len);
1034
1043
1052
1062 int mb5_label_get_disambiguation(Mb5Label Label, char *str, int len);
1063
1073 int mb5_label_get_country(Mb5Label Label, char *str, int len);
1074
1083
1092
1101
1110
1119
1128
1137
1146
1153
1163
1173 int mb5_labelinfo_get_catalognumber(Mb5LabelInfo LabelInfo, char *str, int len);
1174
1183
1190
1200
1210 int mb5_lifespan_get_begin(Mb5Lifespan Lifespan, char *str, int len);
1211
1221 int mb5_lifespan_get_end(Mb5Lifespan Lifespan, char *str, int len);
1222
1232 int mb5_lifespan_get_ended(Mb5Lifespan Lifespan, char *str, int len);
1233
1240
1250
1260 int mb5_medium_get_title(Mb5Medium Medium, char *str, int len);
1261
1270
1280 int mb5_medium_get_format(Mb5Medium Medium, char *str, int len);
1281
1290
1299
1300/* --------------------------------------------------------------------------
1301
1302 libmusicbrainz5 - Client library to access MusicBrainz
1303
1304 Copyright (C) 2012 Andrew Hawkins
1305
1306 This file is part of libmusicbrainz5.
1307
1308 This library is free software; you can redistribute it and/or
1309 modify it under the terms of the GNU Lesser General Public
1310 License as published by the Free Software Foundation; either
1311 version 2.1 of the License, or (at your option) any later version.
1312
1313 libmusicbrainz5 is distributed in the hope that it will be useful,
1314 but WITHOUT ANY WARRANTY; without even the implied warranty of
1315 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1316 Lesser General Public License for more details.
1317
1318 You should have received a copy of the GNU General Public License
1319 along with this library. If not, see <http://www.gnu.org/licenses/>.
1320
1321 $Id$
1322
1323----------------------------------------------------------------------------*/
1324
1333 unsigned char mb5_medium_contains_discid(Mb5Medium Medium, const char *DiscID);
1334
1335
1342
1352
1362 int mb5_message_get_text(Mb5Message Message, char *str, int len);
1363
1370
1380
1390 int mb5_metadata_get_xmlns(Mb5Metadata Metadata, char *str, int len);
1391
1401 int mb5_metadata_get_xmlnsext(Mb5Metadata Metadata, char *str, int len);
1402
1412 int mb5_metadata_get_generator(Mb5Metadata Metadata, char *str, int len);
1413
1423 int mb5_metadata_get_created(Mb5Metadata Metadata, char *str, int len);
1424
1433
1442
1451
1460
1469
1478
1487
1496
1505
1514
1523
1532
1541
1550
1559
1568
1577
1586
1595
1604
1613
1622
1631
1640
1649
1658
1667
1676
1683
1693
1703 int mb5_namecredit_get_joinphrase(Mb5NameCredit NameCredit, char *str, int len);
1704
1714 int mb5_namecredit_get_name(Mb5NameCredit NameCredit, char *str, int len);
1715
1724
1731
1741
1751 int mb5_nonmbtrack_get_title(Mb5NonMBTrack NonMBTrack, char *str, int len);
1752
1762 int mb5_nonmbtrack_get_artist(Mb5NonMBTrack NonMBTrack, char *str, int len);
1763
1772
1779
1789
1798
1807
1814
1824
1834 int mb5_puid_get_id(Mb5PUID PUID, char *str, int len);
1835
1844
1851
1861
1870
1880 int mb5_query_get_lasterrormessage(Mb5Query Query, char *str, int len);
1881
1891 int mb5_query_get_version(Mb5Query Query, char *str, int len);
1892
1893/* --------------------------------------------------------------------------
1894
1895 libmusicbrainz5 - Client library to access MusicBrainz
1896
1897 Copyright (C) 2012 Andrew Hawkins
1898
1899 This file is part of libmusicbrainz5.
1900
1901 This library is free software; you can redistribute it and/or
1902 modify it under the terms of the GNU Lesser General Public
1903 License as published by the Free Software Foundation; either
1904 version 2.1 of the License, or (at your option) any later version.
1905
1906 libmusicbrainz5 is distributed in the hope that it will be useful,
1907 but WITHOUT ANY WARRANTY; without even the implied warranty of
1908 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1909 Lesser General Public License for more details.
1910
1911 You should have received a copy of the GNU General Public License
1912 along with this library. If not, see <http://www.gnu.org/licenses/>.
1913
1914 $Id$
1915
1916----------------------------------------------------------------------------*/
1917
1931 Mb5Query mb5_query_new(const char *UserAgent, const char *Server, int Port);
1932
1941 void mb5_query_set_username(Mb5Query Query, const char *UserName);
1942
1951 void mb5_query_set_password(Mb5Query Query, const char *Password);
1952
1961 void mb5_query_set_proxyhost(Mb5Query Query, const char *ProxyHost);
1962
1971 void mb5_query_set_proxyport(Mb5Query Query, int ProxyPort);
1972
1981 void mb5_query_set_proxyusername(Mb5Query Query, const char *ProxyUserName);
1982
1991 void mb5_query_set_proxypassword(Mb5Query Query, const char *ProxyPassword);
1992
2005
2017 Mb5Release mb5_query_lookup_release(Mb5Query Query, const char *Release);
2018
2035 Mb5Metadata mb5_query_query(Mb5Query Query, const char *Entity, const char *ID, const char *Resource, int NumParams, char **ParamNames, char **ParamValues);
2036
2049 unsigned char mb5_query_add_collection_entries(Mb5Query Query, const char *Collection, int NumEntries, const char **Entries);
2050
2063 unsigned char mb5_query_delete_collection_entries(Mb5Query Query, const char *Collection, int NumEntries, const char **Entries);
2064
2069 typedef enum
2070 {
2079
2088
2089
2090
2097
2107
2116
2125
2132
2142
2152 int mb5_recording_get_id(Mb5Recording Recording, char *str, int len);
2153
2163 int mb5_recording_get_title(Mb5Recording Recording, char *str, int len);
2164
2173
2183 int mb5_recording_get_disambiguation(Mb5Recording Recording, char *str, int len);
2184
2193
2202
2211
2220
2229
2238
2247
2256
2265
2272
2282
2292 int mb5_relation_get_type(Mb5Relation Relation, char *str, int len);
2293
2303 int mb5_relation_get_target(Mb5Relation Relation, char *str, int len);
2304
2314 int mb5_relation_get_direction(Mb5Relation Relation, char *str, int len);
2315
2324
2334 int mb5_relation_get_begin(Mb5Relation Relation, char *str, int len);
2335
2345 int mb5_relation_get_end(Mb5Relation Relation, char *str, int len);
2346
2356 int mb5_relation_get_ended(Mb5Relation Relation, char *str, int len);
2357
2366
2375
2384
2393
2402
2411
2418
2428
2438 int mb5_release_get_id(Mb5Release Release, char *str, int len);
2439
2449 int mb5_release_get_title(Mb5Release Release, char *str, int len);
2450
2460 int mb5_release_get_status(Mb5Release Release, char *str, int len);
2461
2471 int mb5_release_get_quality(Mb5Release Release, char *str, int len);
2472
2482 int mb5_release_get_disambiguation(Mb5Release Release, char *str, int len);
2483
2493 int mb5_release_get_packaging(Mb5Release Release, char *str, int len);
2494
2503
2512
2521
2531 int mb5_release_get_date(Mb5Release Release, char *str, int len);
2532
2542 int mb5_release_get_country(Mb5Release Release, char *str, int len);
2543
2553 int mb5_release_get_barcode(Mb5Release Release, char *str, int len);
2554
2564 int mb5_release_get_asin(Mb5Release Release, char *str, int len);
2565
2574
2583
2592
2601
2602/* --------------------------------------------------------------------------
2603
2604 libmusicbrainz5 - Client library to access MusicBrainz
2605
2606 Copyright (C) 2012 Andrew Hawkins
2607
2608 This file is part of libmusicbrainz5.
2609
2610 This library is free software; you can redistribute it and/or
2611 modify it under the terms of the GNU Lesser General Public
2612 License as published by the Free Software Foundation; either
2613 version 2.1 of the License, or (at your option) any later version.
2614
2615 libmusicbrainz5 is distributed in the hope that it will be useful,
2616 but WITHOUT ANY WARRANTY; without even the implied warranty of
2617 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
2618 Lesser General Public License for more details.
2619
2620 You should have received a copy of the GNU General Public License
2621 along with this library. If not, see <http://www.gnu.org/licenses/>.
2622
2623 $Id$
2624
2625----------------------------------------------------------------------------*/
2626
2637
2638
2639
2646
2656
2666 int mb5_releasegroup_get_id(Mb5ReleaseGroup ReleaseGroup, char *str, int len);
2667
2677 int mb5_releasegroup_get_primarytype(Mb5ReleaseGroup ReleaseGroup, char *str, int len);
2678
2688 int mb5_releasegroup_get_title(Mb5ReleaseGroup ReleaseGroup, char *str, int len);
2689
2699 int mb5_releasegroup_get_disambiguation(Mb5ReleaseGroup ReleaseGroup, char *str, int len);
2700
2710 int mb5_releasegroup_get_firstreleasedate(Mb5ReleaseGroup ReleaseGroup, char *str, int len);
2711
2720
2729
2738
2747
2756
2765
2774
2783
2790
2800
2810 int mb5_secondarytype_get_secondarytype(Mb5SecondaryType SecondaryType, char *str, int len);
2811
2818
2828
2837
2847 int mb5_tag_get_name(Mb5Tag Tag, char *str, int len);
2848
2855
2865
2875 int mb5_textrepresentation_get_language(Mb5TextRepresentation TextRepresentation, char *str, int len);
2876
2886 int mb5_textrepresentation_get_script(Mb5TextRepresentation TextRepresentation, char *str, int len);
2887
2894
2904
2913
2923 int mb5_track_get_title(Mb5Track Track, char *str, int len);
2924
2933
2942
2951
2961 int mb5_track_get_number(Mb5Track Track, char *str, int len);
2962
2969
2979
2988
2995
3005
3015 int mb5_usertag_get_name(Mb5UserTag UserTag, char *str, int len);
3016
3023
3033
3043 int mb5_work_get_id(Mb5Work Work, char *str, int len);
3044
3054 int mb5_work_get_type(Mb5Work Work, char *str, int len);
3055
3065 int mb5_work_get_title(Mb5Work Work, char *str, int len);
3066
3075
3084
3094 int mb5_work_get_disambiguation(Mb5Work Work, char *str, int len);
3095
3104
3113
3122
3131
3140
3149
3159 int mb5_work_get_language(Mb5Work Work, char *str, int len);
3160
3167
3174
3184
3191
3198
3208
3215
3222
3232
3239
3246
3256
3263
3270
3280
3287
3294
3304
3311
3318
3328
3335
3342
3352
3359
3366
3376
3383
3390
3400
3407
3414
3424
3431
3438
3448
3455
3462
3472
3479
3486
3496
3503
3510
3520
3527
3534
3544
3551
3558
3568
3575
3582
3592
3599
3606
3616
3623
3630
3640
3647
3654
3664
3671
3678
3688
3695
3702
3712
3719
3726
3736
3743
3750
3760
3767
3774
3784
3791
3798
3808
3815
3822
3832
3841
3848
3855
3865
3872
3879
3889
3896
3903
3913
3920
3927
3937
3944
3951
3961
3968
3975
3985
3992
3999
4009
4016
4023
4033
4040
4047
4057
4064
4071
4081
4088
4095
4105
4112
4119
4129
4140
4147
4154
4164
4171
4178
4188
4195
4202
4212
4219
4226
4236
4243
4250
4260
4267
4274
4284
4291
4298
4308
4315
4322
4332
4339
4346
4356
4363
4370
4380
4387
4394
4404
4411
4418
4428
4435
4442
4452
4459
4466
4476
4483
4490
4500
4507
4514
4524
4525
4526#ifdef __cplusplus
4527}
4528#endif
4529
4530#endif
4531
4532
void * Mb5OffsetList
Definition: mb5_c.h:106
int mb5_alias_get_text(Mb5Alias Alias, char *str, int len)
int mb5_label_get_type(Mb5Label Label, char *str, int len)
int mb5_tag_list_get_count(Mb5TagList List)
Return the count of entries in an Mb5TagList.
void * Mb5Offset
Definition: mb5_c.h:75
void * Mb5Collection
Definition: mb5_c.h:61
Mb5Recording mb5_relation_get_recording(Mb5Relation Relation)
Mb5ISRC mb5_metadata_get_isrc(Mb5Metadata Metadata)
int mb5_nonmbtrack_list_size(Mb5NonMBTrackList List)
Return the number of entries in a Mb5NonMBTrackList.
Mb5ReleaseList mb5_disc_get_releaselist(Mb5Disc Disc)
Mb5CDStubList mb5_metadata_get_cdstublist(Mb5Metadata Metadata)
Mb5AliasList mb5_artist_get_aliaslist(Mb5Artist Artist)
int mb5_artist_get_sortname(Mb5Artist Artist, char *str, int len)
Mb5UserTag mb5_usertag_clone(Mb5UserTag UserTag)
Clone an Mb5UserTag object.
Mb5PUIDList mb5_recording_get_puidlist(Mb5Recording Recording)
int mb5_artist_list_get_offset(Mb5ArtistList List)
Return the offset of entries in an Mb5ArtistList.
Mb5AnnotationList mb5_metadata_get_annotationlist(Mb5Metadata Metadata)
int mb5_offset_get_offset(Mb5Offset Offset)
Mb5TagList mb5_artist_get_taglist(Mb5Artist Artist)
int mb5_nonmbtrack_get_length(Mb5NonMBTrack NonMBTrack)
int mb5_artist_get_name(Mb5Artist Artist, char *str, int len)
int mb5_ipi_list_get_offset(Mb5IPIList List)
Return the offset of entries in an Mb5IPIList.
void * Mb5NameCredit
Definition: mb5_c.h:73
int mb5_artist_get_id(Mb5Artist Artist, char *str, int len)
int mb5_entity_ext_attribute_value(Mb5Entity Entity, int Item, char *str, int len)
Returns the value of the requested extension attribute.
Mb5CollectionList mb5_collection_list_clone(Mb5CollectionList CollectionList)
Clone an Mb5CollectionList object.
void mb5_ipi_list_delete(Mb5IPIList List)
Delete a Mb5IPIList.
Mb5RelationList mb5_relation_list_clone(Mb5RelationList RelationList)
Clone an Mb5RelationList object.
Mb5NonMBTrack mb5_nonmbtrack_clone(Mb5NonMBTrack NonMBTrack)
Clone an Mb5NonMBTrack object.
void * Mb5IPIList
Definition: mb5_c.h:98
void mb5_freedbdisc_list_delete(Mb5FreeDBDiscList List)
Delete a Mb5FreeDBDiscList.
int mb5_track_get_number(Mb5Track Track, char *str, int len)
int mb5_collection_get_name(Mb5Collection Collection, char *str, int len)
Mb5UserTagList mb5_metadata_get_usertaglist(Mb5Metadata Metadata)
void mb5_tag_delete(Mb5Tag Tag)
Delete an Mb5Tag object.
void mb5_recording_delete(Mb5Recording Recording)
Delete an Mb5Recording object.
int mb5_disc_list_get_offset(Mb5DiscList List)
Return the offset of entries in an Mb5DiscList.
void mb5_labelinfo_delete(Mb5LabelInfo LabelInfo)
Delete an Mb5LabelInfo object.
Mb5UserRating mb5_label_get_userrating(Mb5Label Label)
int mb5_freedbdisc_list_get_offset(Mb5FreeDBDiscList List)
Return the offset of entries in an Mb5FreeDBDiscList.
int mb5_work_get_id(Mb5Work Work, char *str, int len)
Mb5MediumList mb5_release_get_mediumlist(Mb5Release Release)
Mb5Recording mb5_recording_clone(Mb5Recording Recording)
Clone an Mb5Recording object.
void * Mb5Medium
Definition: mb5_c.h:70
int mb5_relation_get_ended(Mb5Relation Relation, char *str, int len)
Mb5RelationList mb5_relationlist_list_item(Mb5RelationListList List, int Item)
Returns an entry from a Mb5RelationListList.
int mb5_cdstub_get_comment(Mb5CDStub CDStub, char *str, int len)
int mb5_label_list_size(Mb5LabelList List)
Return the number of entries in a Mb5LabelList.
int mb5_relationlist_list_get_offset(Mb5RelationListList List)
Return the offset of entries in an Mb5RelationListList.
int mb5_usertag_list_get_offset(Mb5UserTagList List)
Return the offset of entries in an Mb5UserTagList.
int mb5_relation_list_size(Mb5RelationList List)
Return the number of entries in a Mb5RelationList.
Mb5ReleaseList mb5_releasegroup_get_releaselist(Mb5ReleaseGroup ReleaseGroup)
int mb5_track_get_length(Mb5Track Track)
Mb5Offset mb5_offset_clone(Mb5Offset Offset)
Clone an Mb5Offset object.
void * Mb5Entity
Definition: mb5_c.h:54
Mb5ReleaseList mb5_query_lookup_discid(Mb5Query Query, const char *DiscID)
Return a list of releases that match the specified Disc ID.
void * Mb5NonMBTrackList
Definition: mb5_c.h:105
void mb5_userrating_delete(Mb5UserRating UserRating)
Delete an Mb5UserRating object.
int mb5_ipi_list_get_count(Mb5IPIList List)
Return the count of entries in an Mb5IPIList.
Mb5ReleaseList mb5_metadata_get_releaselist(Mb5Metadata Metadata)
Mb5RelationListList mb5_label_get_relationlistlist(Mb5Label Label)
int mb5_offset_list_get_offset(Mb5OffsetList List)
Return the offset of entries in an Mb5OffsetList.
Mb5WorkList mb5_work_list_clone(Mb5WorkList WorkList)
Clone an Mb5WorkList object.
Mb5IPI mb5_ipi_clone(Mb5IPI IPI)
Clone an Mb5IPI object.
Mb5UserRating mb5_recording_get_userrating(Mb5Recording Recording)
Mb5UserRating mb5_releasegroup_get_userrating(Mb5ReleaseGroup ReleaseGroup)
Mb5MediumList mb5_medium_list_clone(Mb5MediumList MediumList)
Clone an Mb5MediumList object.
void * Mb5Attribute
Definition: mb5_c.h:59
void * Mb5AttributeList
Definition: mb5_c.h:93
Mb5Rating mb5_rating_clone(Mb5Rating Rating)
Clone an Mb5Rating object.
Mb5Collection mb5_collection_clone(Mb5Collection Collection)
Clone an Mb5Collection object.
void mb5_cdstub_list_delete(Mb5CDStubList List)
Delete a Mb5CDStubList.
Mb5ReleaseGroup mb5_releasegroup_list_item(Mb5ReleaseGroupList List, int Item)
Returns an entry from a Mb5ReleaseGroupList.
Mb5ArtistCredit mb5_artistcredit_clone(Mb5ArtistCredit ArtistCredit)
Clone an Mb5ArtistCredit object.
int mb5_secondarytype_list_get_offset(Mb5SecondaryTypeList List)
Return the offset of entries in an Mb5SecondaryTypeList.
int mb5_iswc_get_iswc(Mb5ISWC ISWC, char *str, int len)
Mb5Disc mb5_disc_clone(Mb5Disc Disc)
Clone an Mb5Disc object.
int mb5_alias_get_type(Mb5Alias Alias, char *str, int len)
int mb5_medium_list_size(Mb5MediumList List)
Return the number of entries in a Mb5MediumList.
int mb5_relation_get_end(Mb5Relation Relation, char *str, int len)
Mb5ArtistCredit mb5_releasegroup_get_artistcredit(Mb5ReleaseGroup ReleaseGroup)
int mb5_medium_get_format(Mb5Medium Medium, char *str, int len)
int mb5_entity_ext_attributes_size(Mb5Entity Entity)
Returns the number of extension attributes for the entity.
void * Mb5CollectionList
Definition: mb5_c.h:95
int mb5_query_get_lasthttpcode(Mb5Query Query)
void mb5_tag_list_delete(Mb5TagList List)
Delete a Mb5TagList.
void mb5_iswc_delete(Mb5ISWC ISWC)
Delete an Mb5ISWC object.
int mb5_label_get_sortname(Mb5Label Label, char *str, int len)
int mb5_labelinfo_list_get_count(Mb5LabelInfoList List)
Return the count of entries in an Mb5LabelInfoList.
Mb5CollectionList mb5_metadata_get_collectionlist(Mb5Metadata Metadata)
int mb5_attribute_list_size(Mb5AttributeList List)
Return the number of entries in a Mb5AttributeList.
void * Mb5Tag
Definition: mb5_c.h:84
int mb5_namecredit_list_size(Mb5NameCreditList List)
Return the number of entries in a Mb5NameCreditList.
Mb5TagList mb5_label_get_taglist(Mb5Label Label)
void * Mb5UserTagList
Definition: mb5_c.h:116
int mb5_entity_ext_attribute_name(Mb5Entity Entity, int Item, char *str, int len)
Returns the name of the requested extension attribute.
void * Mb5IPI
Definition: mb5_c.h:64
int mb5_attribute_list_get_count(Mb5AttributeList List)
Return the count of entries in an Mb5AttributeList.
int mb5_recording_get_title(Mb5Recording Recording, char *str, int len)
int mb5_work_list_get_offset(Mb5WorkList List)
Return the offset of entries in an Mb5WorkList.
int mb5_release_get_date(Mb5Release Release, char *str, int len)
Mb5Tag mb5_tag_list_item(Mb5TagList List, int Item)
Returns an entry from a Mb5TagList.
Mb5Work mb5_relation_get_work(Mb5Relation Relation)
void mb5_alias_list_delete(Mb5AliasList List)
Delete a Mb5AliasList.
void mb5_alias_delete(Mb5Alias Alias)
Delete an Mb5Alias object.
Mb5SecondaryTypeList mb5_secondarytype_list_clone(Mb5SecondaryTypeList SecondaryTypeList)
Clone an Mb5SecondaryTypeList object.
Mb5Query mb5_query_clone(Mb5Query Query)
Clone an Mb5Query object.
void * Mb5Work
Definition: mb5_c.h:89
int mb5_freedbdisc_list_get_count(Mb5FreeDBDiscList List)
Return the count of entries in an Mb5FreeDBDiscList.
Mb5NonMBTrackList mb5_freedbdisc_get_nonmbtracklist(Mb5FreeDBDisc FreeDBDisc)
int mb5_track_get_title(Mb5Track Track, char *str, int len)
Mb5ReleaseGroupList mb5_artist_get_releasegrouplist(Mb5Artist Artist)
Mb5AttributeList mb5_attribute_list_clone(Mb5AttributeList AttributeList)
Clone an Mb5AttributeList object.
void * Mb5Relation
Definition: mb5_c.h:80
Mb5UserTagList mb5_label_get_usertaglist(Mb5Label Label)
int mb5_annotation_list_get_count(Mb5AnnotationList List)
Return the count of entries in an Mb5AnnotationList.
Mb5SecondaryType mb5_secondarytype_list_item(Mb5SecondaryTypeList List, int Item)
Returns an entry from a Mb5SecondaryTypeList.
Mb5Medium mb5_medium_clone(Mb5Medium Medium)
Clone an Mb5Medium object.
int mb5_ipi_get_ipi(Mb5IPI IPI, char *str, int len)
Mb5ArtistList mb5_metadata_get_artistlist(Mb5Metadata Metadata)
void * Mb5SecondaryType
Definition: mb5_c.h:83
Mb5Work mb5_work_list_item(Mb5WorkList List, int Item)
Returns an entry from a Mb5WorkList.
Mb5Rating mb5_metadata_get_rating(Mb5Metadata Metadata)
void mb5_query_delete(Mb5Query Query)
Delete an Mb5Query object.
int mb5_cdstub_get_title(Mb5CDStub CDStub, char *str, int len)
void mb5_disc_list_delete(Mb5DiscList List)
Delete a Mb5DiscList.
void * Mb5Release
Definition: mb5_c.h:81
int mb5_medium_list_get_count(Mb5MediumList List)
Return the count of entries in an Mb5MediumList.
int mb5_annotation_list_get_offset(Mb5AnnotationList List)
Return the offset of entries in an Mb5AnnotationList.
Mb5TextRepresentation mb5_release_get_textrepresentation(Mb5Release Release)
void * Mb5Artist
Definition: mb5_c.h:57
Mb5LabelList mb5_metadata_get_labellist(Mb5Metadata Metadata)
int mb5_namecredit_list_get_offset(Mb5NameCreditList List)
Return the offset of entries in an Mb5NameCreditList.
Mb5UserTag mb5_usertag_list_item(Mb5UserTagList List, int Item)
Returns an entry from a Mb5UserTagList.
int mb5_label_get_disambiguation(Mb5Label Label, char *str, int len)
Mb5LabelInfoList mb5_labelinfo_list_clone(Mb5LabelInfoList LabelInfoList)
Clone an Mb5LabelInfoList object.
void * Mb5UserRating
Definition: mb5_c.h:87
void mb5_annotation_delete(Mb5Annotation Annotation)
Delete an Mb5Annotation object.
Mb5ArtistList mb5_artist_list_clone(Mb5ArtistList ArtistList)
Clone an Mb5ArtistList object.
Mb5UserRating mb5_userrating_clone(Mb5UserRating UserRating)
Clone an Mb5UserRating object.
int mb5_freedbdisc_get_id(Mb5FreeDBDisc FreeDBDisc, char *str, int len)
Mb5Rating mb5_recording_get_rating(Mb5Recording Recording)
Mb5ReleaseList mb5_collection_get_releaselist(Mb5Collection Collection)
int mb5_ipi_list_size(Mb5IPIList List)
Return the number of entries in a Mb5IPIList.
void * Mb5Annotation
Definition: mb5_c.h:56
Mb5LabelList mb5_label_list_clone(Mb5LabelList LabelList)
Clone an Mb5LabelList object.
int mb5_relation_get_type(Mb5Relation Relation, char *str, int len)
Mb5Message mb5_metadata_get_message(Mb5Metadata Metadata)
int mb5_secondarytype_list_size(Mb5SecondaryTypeList List)
Return the number of entries in a Mb5SecondaryTypeList.
void mb5_collection_delete(Mb5Collection Collection)
Delete an Mb5Collection object.
int mb5_rating_get_votescount(Mb5Rating Rating)
void * Mb5LabelInfoList
Definition: mb5_c.h:102
void * Mb5ReleaseList
Definition: mb5_c.h:111
int mb5_isrc_list_get_offset(Mb5ISRCList List)
Return the offset of entries in an Mb5ISRCList.
Mb5NameCreditList mb5_artistcredit_get_namecreditlist(Mb5ArtistCredit ArtistCredit)
int mb5_relation_get_begin(Mb5Relation Relation, char *str, int len)
void mb5_usertag_delete(Mb5UserTag UserTag)
Delete an Mb5UserTag object.
int mb5_secondarytype_get_secondarytype(Mb5SecondaryType SecondaryType, char *str, int len)
int mb5_artist_get_country(Mb5Artist Artist, char *str, int len)
int mb5_relation_list_get_targettype(Mb5RelationList List, char *str, int len)
Mb5UserTagList mb5_releasegroup_get_usertaglist(Mb5ReleaseGroup ReleaseGroup)
void mb5_attribute_list_delete(Mb5AttributeList List)
Delete a Mb5AttributeList.
int mb5_secondarytype_list_get_count(Mb5SecondaryTypeList List)
Return the count of entries in an Mb5SecondaryTypeList.
int mb5_usertag_list_get_count(Mb5UserTagList List)
Return the count of entries in an Mb5UserTagList.
int mb5_relationlist_list_get_count(Mb5RelationListList List)
Return the count of entries in an Mb5RelationListList.
Mb5TagList mb5_recording_get_taglist(Mb5Recording Recording)
Mb5Work mb5_metadata_get_work(Mb5Metadata Metadata)
int mb5_alias_list_get_offset(Mb5AliasList List)
Return the offset of entries in an Mb5AliasList.
int mb5_recording_list_size(Mb5RecordingList List)
Return the number of entries in a Mb5RecordingList.
void mb5_collection_list_delete(Mb5CollectionList List)
Delete a Mb5CollectionList.
int mb5_track_get_position(Mb5Track Track)
Mb5SecondaryType mb5_secondarytype_clone(Mb5SecondaryType SecondaryType)
Clone an Mb5SecondaryType object.
int mb5_label_get_name(Mb5Label Label, char *str, int len)
int mb5_label_get_labelcode(Mb5Label Label)
Mb5Collection mb5_collection_list_item(Mb5CollectionList List, int Item)
Returns an entry from a Mb5CollectionList.
void mb5_iswc_list_delete(Mb5ISWCList List)
Delete a Mb5ISWCList.
Mb5WorkList mb5_artist_get_worklist(Mb5Artist Artist)
Mb5ISWCList mb5_work_get_iswclist(Mb5Work Work)
int mb5_namecredit_list_get_count(Mb5NameCreditList List)
Return the count of entries in an Mb5NameCreditList.
Mb5IPIList mb5_ipi_list_clone(Mb5IPIList IPIList)
Clone an Mb5IPIList object.
void * Mb5MediumList
Definition: mb5_c.h:103
Mb5Label mb5_metadata_get_label(Mb5Metadata Metadata)
int mb5_textrepresentation_get_language(Mb5TextRepresentation TextRepresentation, char *str, int len)
int mb5_work_get_disambiguation(Mb5Work Work, char *str, int len)
int mb5_work_list_size(Mb5WorkList List)
Return the number of entries in a Mb5WorkList.
Mb5Release mb5_metadata_get_release(Mb5Metadata Metadata)
void mb5_ipi_delete(Mb5IPI IPI)
Delete an Mb5IPI object.
void * Mb5ISRC
Definition: mb5_c.h:65
void mb5_annotation_list_delete(Mb5AnnotationList List)
Delete a Mb5AnnotationList.
Mb5IPI mb5_ipi_list_item(Mb5IPIList List, int Item)
Returns an entry from a Mb5IPIList.
int mb5_iswc_list_size(Mb5ISWCList List)
Return the number of entries in a Mb5ISWCList.
int mb5_alias_get_primary(Mb5Alias Alias, char *str, int len)
int mb5_entity_ext_element_value(Mb5Entity Entity, int Item, char *str, int len)
Returns the value of the requested extension element.
Mb5Alias mb5_alias_list_item(Mb5AliasList List, int Item)
Returns an entry from a Mb5AliasList.
int mb5_artist_get_gender(Mb5Artist Artist, char *str, int len)
Mb5LabelInfoList mb5_release_get_labelinfolist(Mb5Release Release)
int mb5_cdstub_list_get_count(Mb5CDStubList List)
Return the count of entries in an Mb5CDStubList.
void * Mb5Alias
Definition: mb5_c.h:55
Mb5ISWCList mb5_iswc_list_clone(Mb5ISWCList ISWCList)
Clone an Mb5ISWCList object.
void * Mb5RecordingList
Definition: mb5_c.h:108
tQueryResult
Definition: mb5_c.h:2070
@ eQuery_AuthenticationError
Definition: mb5_c.h:2074
@ eQuery_RequestError
Definition: mb5_c.h:2076
@ eQuery_FetchError
Definition: mb5_c.h:2075
@ eQuery_ResourceNotFound
Definition: mb5_c.h:2077
@ eQuery_ConnectionError
Definition: mb5_c.h:2072
@ eQuery_Success
Definition: mb5_c.h:2071
@ eQuery_Timeout
Definition: mb5_c.h:2073
Mb5TrackList mb5_track_list_clone(Mb5TrackList TrackList)
Clone an Mb5TrackList object.
Mb5Alias mb5_alias_clone(Mb5Alias Alias)
Clone an Mb5Alias object.
int mb5_labelinfo_get_catalognumber(Mb5LabelInfo LabelInfo, char *str, int len)
Mb5ArtistCredit mb5_track_get_artistcredit(Mb5Track Track)
void mb5_medium_list_delete(Mb5MediumList List)
Delete a Mb5MediumList.
void * Mb5NameCreditList
Definition: mb5_c.h:104
void * Mb5NonMBTrack
Definition: mb5_c.h:74
void * Mb5Query
Definition: mb5_c.h:77
Mb5Annotation mb5_annotation_clone(Mb5Annotation Annotation)
Clone an Mb5Annotation object.
void mb5_labelinfo_list_delete(Mb5LabelInfoList List)
Delete a Mb5LabelInfoList.
void mb5_release_delete(Mb5Release Release)
Delete an Mb5Release object.
void * Mb5ISWCList
Definition: mb5_c.h:100
Mb5RecordingList mb5_isrc_get_recordinglist(Mb5ISRC ISRC)
void mb5_query_set_proxyhost(Mb5Query Query, const char *ProxyHost)
Set the proxy server.
Mb5Work mb5_work_clone(Mb5Work Work)
Clone an Mb5Work object.
int mb5_alias_list_get_count(Mb5AliasList List)
Return the count of entries in an Mb5AliasList.
int mb5_medium_get_title(Mb5Medium Medium, char *str, int len)
int mb5_disc_get_id(Mb5Disc Disc, char *str, int len)
int mb5_freedbdisc_get_category(Mb5FreeDBDisc FreeDBDisc, char *str, int len)
Mb5Recording mb5_recording_list_item(Mb5RecordingList List, int Item)
Returns an entry from a Mb5RecordingList.
void mb5_secondarytype_list_delete(Mb5SecondaryTypeList List)
Delete a Mb5SecondaryTypeList.
int mb5_disc_list_size(Mb5DiscList List)
Return the number of entries in a Mb5DiscList.
int mb5_cdstub_list_get_offset(Mb5CDStubList List)
Return the offset of entries in an Mb5CDStubList.
void mb5_usertag_list_delete(Mb5UserTagList List)
Delete a Mb5UserTagList.
int mb5_nonmbtrack_list_get_count(Mb5NonMBTrackList List)
Return the count of entries in an Mb5NonMBTrackList.
Mb5WorkList mb5_metadata_get_worklist(Mb5Metadata Metadata)
void mb5_query_set_proxypassword(Mb5Query Query, const char *ProxyPassword)
Set the password to use to authenticate to the proxy server.
void * Mb5FreeDBDisc
Definition: mb5_c.h:63
void mb5_namecredit_list_delete(Mb5NameCreditList List)
Delete a Mb5NameCreditList.
void mb5_disc_delete(Mb5Disc Disc)
Delete an Mb5Disc object.
int mb5_release_get_packaging(Mb5Release Release, char *str, int len)
Mb5TagList mb5_tag_list_clone(Mb5TagList TagList)
Clone an Mb5TagList object.
int mb5_tag_list_size(Mb5TagList List)
Return the number of entries in a Mb5TagList.
void mb5_work_list_delete(Mb5WorkList List)
Delete a Mb5WorkList.
void * Mb5TagList
Definition: mb5_c.h:114
Mb5LabelInfo mb5_labelinfo_list_item(Mb5LabelInfoList List, int Item)
Returns an entry from a Mb5LabelInfoList.
int mb5_alias_get_enddate(Mb5Alias Alias, char *str, int len)
void * Mb5CDStub
Definition: mb5_c.h:60
Mb5Release mb5_query_lookup_release(Mb5Query Query, const char *Release)
Return full information about a specific release.
int mb5_freedbdisc_list_size(Mb5FreeDBDiscList List)
Return the number of entries in a Mb5FreeDBDiscList.
int mb5_release_list_size(Mb5ReleaseList List)
Return the number of entries in a Mb5ReleaseList.
Mb5RecordingList mb5_recording_list_clone(Mb5RecordingList RecordingList)
Clone an Mb5RecordingList object.
Mb5TagList mb5_metadata_get_taglist(Mb5Metadata Metadata)
void * Mb5LabelList
Definition: mb5_c.h:101
Mb5LabelInfoList mb5_metadata_get_labelinfolist(Mb5Metadata Metadata)
int mb5_recording_get_length(Mb5Recording Recording)
Mb5Artist mb5_artist_clone(Mb5Artist Artist)
Clone an Mb5Artist object.
Mb5Metadata mb5_metadata_clone(Mb5Metadata Metadata)
Clone an Mb5Metadata object.
Mb5Attribute mb5_attribute_clone(Mb5Attribute Attribute)
Clone an Mb5Attribute object.
Mb5UserRating mb5_artist_get_userrating(Mb5Artist Artist)
void mb5_puid_delete(Mb5PUID PUID)
Delete an Mb5PUID object.
Mb5CollectionList mb5_release_get_collectionlist(Mb5Release Release)
int mb5_disc_list_get_count(Mb5DiscList List)
Return the count of entries in an Mb5DiscList.
int mb5_puid_list_get_offset(Mb5PUIDList List)
Return the offset of entries in an Mb5PUIDList.
void * Mb5ArtistCredit
Definition: mb5_c.h:58
Mb5ReleaseGroupList mb5_metadata_get_releasegrouplist(Mb5Metadata Metadata)
int mb5_artist_get_disambiguation(Mb5Artist Artist, char *str, int len)
int mb5_artist_list_size(Mb5ArtistList List)
Return the number of entries in a Mb5ArtistList.
void * Mb5UserTag
Definition: mb5_c.h:88
int mb5_releasegroup_list_get_count(Mb5ReleaseGroupList List)
Return the count of entries in an Mb5ReleaseGroupList.
Mb5RecordingList mb5_metadata_get_recordinglist(Mb5Metadata Metadata)
Mb5PUID mb5_puid_list_item(Mb5PUIDList List, int Item)
Returns an entry from a Mb5PUIDList.
int mb5_iswc_list_get_offset(Mb5ISWCList List)
Return the offset of entries in an Mb5ISWCList.
int mb5_isrc_list_size(Mb5ISRCList List)
Return the number of entries in a Mb5ISRCList.
int mb5_textrepresentation_get_script(Mb5TextRepresentation TextRepresentation, char *str, int len)
void mb5_relationlist_list_delete(Mb5RelationListList List)
Delete a Mb5RelationListList.
Mb5Disc mb5_disc_list_item(Mb5DiscList List, int Item)
Returns an entry from a Mb5DiscList.
void mb5_cdstub_delete(Mb5CDStub CDStub)
Delete an Mb5CDStub object.
Mb5Recording mb5_track_get_recording(Mb5Track Track)
int mb5_freedbdisc_get_year(Mb5FreeDBDisc FreeDBDisc, char *str, int len)
void * Mb5Disc
Definition: mb5_c.h:62
void * Mb5PUIDList
Definition: mb5_c.h:107
int mb5_labelinfo_list_size(Mb5LabelInfoList List)
Return the number of entries in a Mb5LabelInfoList.
int mb5_freedbdisc_get_artist(Mb5FreeDBDisc FreeDBDisc, char *str, int len)
int mb5_work_list_get_count(Mb5WorkList List)
Return the count of entries in an Mb5WorkList.
int mb5_annotation_get_type(Mb5Annotation Annotation, char *str, int len)
Mb5Rating mb5_releasegroup_get_rating(Mb5ReleaseGroup ReleaseGroup)
int mb5_isrc_list_get_count(Mb5ISRCList List)
Return the count of entries in an Mb5ISRCList.
void mb5_relation_list_delete(Mb5RelationList List)
Delete a Mb5RelationList.
Mb5ReleaseList mb5_label_get_releaselist(Mb5Label Label)
Mb5LabelInfo mb5_labelinfo_clone(Mb5LabelInfo LabelInfo)
Clone an Mb5LabelInfo object.
Mb5Disc mb5_metadata_get_disc(Mb5Metadata Metadata)
Mb5Artist mb5_namecredit_get_artist(Mb5NameCredit NameCredit)
int mb5_usertag_list_size(Mb5UserTagList List)
Return the number of entries in a Mb5UserTagList.
int mb5_lifespan_get_end(Mb5Lifespan Lifespan, char *str, int len)
tQueryResult mb5_query_get_lastresult(Mb5Query Query)
Mb5ReleaseGroup mb5_release_get_releasegroup(Mb5Release Release)
int mb5_metadata_get_xmlns(Mb5Metadata Metadata, char *str, int len)
int mb5_work_get_language(Mb5Work Work, char *str, int len)
void mb5_medium_delete(Mb5Medium Medium)
Delete an Mb5Medium object.
Mb5ReleaseGroupList mb5_releasegroup_list_clone(Mb5ReleaseGroupList ReleaseGroupList)
Clone an Mb5ReleaseGroupList object.
int mb5_releasegroup_list_get_offset(Mb5ReleaseGroupList List)
Return the offset of entries in an Mb5ReleaseGroupList.
void * Mb5AnnotationList
Definition: mb5_c.h:91
int mb5_puid_list_get_count(Mb5PUIDList List)
Return the count of entries in an Mb5PUIDList.
void mb5_freedbdisc_delete(Mb5FreeDBDisc FreeDBDisc)
Delete an Mb5FreeDBDisc object.
int mb5_query_get_lasterrormessage(Mb5Query Query, char *str, int len)
void mb5_label_list_delete(Mb5LabelList List)
Delete a Mb5LabelList.
Mb5Offset mb5_offset_list_item(Mb5OffsetList List, int Item)
Returns an entry from a Mb5OffsetList.
void mb5_query_set_proxyport(Mb5Query Query, int ProxyPort)
Set the port to use on the proxy server.
Mb5AnnotationList mb5_annotation_list_clone(Mb5AnnotationList AnnotationList)
Clone an Mb5AnnotationList object.
int mb5_release_list_get_offset(Mb5ReleaseList List)
Return the offset of entries in an Mb5ReleaseList.
Mb5ReleaseGroup mb5_releasegroup_clone(Mb5ReleaseGroup ReleaseGroup)
Clone an Mb5ReleaseGroup object.
int mb5_recording_list_get_count(Mb5RecordingList List)
Return the count of entries in an Mb5RecordingList.
void mb5_nonmbtrack_list_delete(Mb5NonMBTrackList List)
Delete a Mb5NonMBTrackList.
int mb5_annotation_get_name(Mb5Annotation Annotation, char *str, int len)
void * Mb5AliasList
Definition: mb5_c.h:90
void * Mb5ISRCList
Definition: mb5_c.h:99
int mb5_label_get_country(Mb5Label Label, char *str, int len)
Mb5Annotation mb5_annotation_list_item(Mb5AnnotationList List, int Item)
Returns an entry from a Mb5AnnotationList.
void mb5_rating_delete(Mb5Rating Rating)
Delete an Mb5Rating object.
int mb5_medium_get_position(Mb5Medium Medium)
Mb5CDStubList mb5_cdstub_list_clone(Mb5CDStubList CDStubList)
Clone an Mb5CDStubList object.
Mb5NonMBTrackList mb5_cdstub_get_nonmbtracklist(Mb5CDStub CDStub)
int mb5_message_get_text(Mb5Message Message, char *str, int len)
Mb5ISRC mb5_isrc_list_item(Mb5ISRCList List, int Item)
Returns an entry from a Mb5ISRCList.
Mb5ArtistCredit mb5_work_get_artistcredit(Mb5Work Work)
Mb5ReleaseList mb5_release_list_clone(Mb5ReleaseList ReleaseList)
Clone an Mb5ReleaseList object.
void mb5_label_delete(Mb5Label Label)
Delete an Mb5Label object.
Mb5FreeDBDisc mb5_freedbdisc_list_item(Mb5FreeDBDiscList List, int Item)
Returns an entry from a Mb5FreeDBDiscList.
unsigned char mb5_query_delete_collection_entries(Mb5Query Query, const char *Collection, int NumEntries, const char **Entries)
Delete a list of releases from a collection.
Mb5CDStub mb5_metadata_get_cdstub(Mb5Metadata Metadata)
Mb5RelationListList mb5_relationlist_list_clone(Mb5RelationListList RelationListList)
Clone an Mb5RelationListList object.
int mb5_annotation_list_size(Mb5AnnotationList List)
Return the number of entries in a Mb5AnnotationList.
void * Mb5FreeDBDiscList
Definition: mb5_c.h:97
int mb5_query_get_version(Mb5Query Query, char *str, int len)
int mb5_alias_get_locale(Mb5Alias Alias, char *str, int len)
void mb5_releasegroup_list_delete(Mb5ReleaseGroupList List)
Delete a Mb5ReleaseGroupList.
Mb5Artist mb5_metadata_get_artist(Mb5Metadata Metadata)
int mb5_isrc_get_id(Mb5ISRC ISRC, char *str, int len)
void * Mb5TextRepresentation
Definition: mb5_c.h:85
Mb5RelationListList mb5_work_get_relationlistlist(Mb5Work Work)
Mb5Tag mb5_tag_clone(Mb5Tag Tag)
Clone an Mb5Tag object.
Mb5IPIList mb5_label_get_ipilist(Mb5Label Label)
void mb5_namecredit_delete(Mb5NameCredit NameCredit)
Delete an Mb5NameCredit object.
int mb5_puid_list_size(Mb5PUIDList List)
Return the number of entries in a Mb5PUIDList.
Mb5Metadata mb5_query_query(Mb5Query Query, const char *Entity, const char *ID, const char *Resource, int NumParams, char **ParamNames, char **ParamValues)
Perform a generic query.
void * Mb5Message
Definition: mb5_c.h:71
Mb5UserTagList mb5_recording_get_usertaglist(Mb5Recording Recording)
Mb5UserTagList mb5_work_get_usertaglist(Mb5Work Work)
int mb5_releasegroup_get_title(Mb5ReleaseGroup ReleaseGroup, char *str, int len)
double mb5_rating_get_rating(Mb5Rating Rating)
void mb5_message_delete(Mb5Message Message)
Delete an Mb5Message object.
Mb5Collection mb5_metadata_get_collection(Mb5Metadata Metadata)
void * Mb5TrackList
Definition: mb5_c.h:115
int mb5_track_list_size(Mb5TrackList List)
Return the number of entries in a Mb5TrackList.
int mb5_collection_get_id(Mb5Collection Collection, char *str, int len)
int mb5_release_get_disambiguation(Mb5Release Release, char *str, int len)
void mb5_track_list_delete(Mb5TrackList List)
Delete a Mb5TrackList.
Mb5Release mb5_relation_get_release(Mb5Relation Relation)
void mb5_nonmbtrack_delete(Mb5NonMBTrack NonMBTrack)
Delete an Mb5NonMBTrack object.
void * Mb5LabelInfo
Definition: mb5_c.h:68
Mb5Lifespan mb5_label_get_lifespan(Mb5Label Label)
Mb5Recording mb5_metadata_get_recording(Mb5Metadata Metadata)
Mb5Track mb5_track_clone(Mb5Track Track)
Clone an Mb5Track object.
int mb5_collection_list_size(Mb5CollectionList List)
Return the number of entries in a Mb5CollectionList.
Mb5RelationListList mb5_releasegroup_get_relationlistlist(Mb5ReleaseGroup ReleaseGroup)
int mb5_alias_list_size(Mb5AliasList List)
Return the number of entries in a Mb5AliasList.
void mb5_relation_delete(Mb5Relation Relation)
Delete an Mb5Relation object.
int mb5_release_get_status(Mb5Release Release, char *str, int len)
int mb5_releasegroup_list_size(Mb5ReleaseGroupList List)
Return the number of entries in a Mb5ReleaseGroupList.
Mb5Label mb5_label_clone(Mb5Label Label)
Clone an Mb5Label object.
Mb5Rating mb5_label_get_rating(Mb5Label Label)
Mb5Release mb5_release_clone(Mb5Release Release)
Clone an Mb5Release object.
void mb5_release_list_delete(Mb5ReleaseList List)
Delete a Mb5ReleaseList.
int mb5_label_list_get_count(Mb5LabelList List)
Return the count of entries in an Mb5LabelList.
void * Mb5RelationList
Definition: mb5_c.h:109
int mb5_release_get_id(Mb5Release Release, char *str, int len)
Mb5Label mb5_labelinfo_get_label(Mb5LabelInfo LabelInfo)
int mb5_recording_get_id(Mb5Recording Recording, char *str, int len)
int mb5_releasegroup_get_firstreleasedate(Mb5ReleaseGroup ReleaseGroup, char *str, int len)
int mb5_annotation_get_text(Mb5Annotation Annotation, char *str, int len)
int mb5_alias_get_sortname(Mb5Alias Alias, char *str, int len)
Mb5Rating mb5_work_get_rating(Mb5Work Work)
int mb5_recording_list_get_offset(Mb5RecordingList List)
Return the offset of entries in an Mb5RecordingList.
Mb5ReleaseList mb5_artist_get_releaselist(Mb5Artist Artist)
Mb5RelationListList mb5_release_get_relationlistlist(Mb5Release Release)
Mb5Track mb5_track_list_item(Mb5TrackList List, int Item)
Returns an entry from a Mb5TrackList.
void mb5_query_set_password(Mb5Query Query, const char *Password)
Set the password for authenticating to MusicBrainz.
int mb5_track_list_get_count(Mb5TrackList List)
Return the count of entries in an Mb5TrackList.
Mb5PUID mb5_metadata_get_puid(Mb5Metadata Metadata)
Mb5NonMBTrackList mb5_nonmbtrack_list_clone(Mb5NonMBTrackList NonMBTrackList)
Clone an Mb5NonMBTrackList object.
void * Mb5Label
Definition: mb5_c.h:67
int mb5_releasegroup_get_primarytype(Mb5ReleaseGroup ReleaseGroup, char *str, int len)
int mb5_recording_get_disambiguation(Mb5Recording Recording, char *str, int len)
void mb5_textrepresentation_delete(Mb5TextRepresentation TextRepresentation)
Delete an Mb5TextRepresentation object.
void mb5_query_set_username(Mb5Query Query, const char *UserName)
Set the username for authenticating to MusicBrainz.
int mb5_label_list_get_offset(Mb5LabelList List)
Return the offset of entries in an Mb5LabelList.
int mb5_collection_get_editor(Mb5Collection Collection, char *str, int len)
unsigned char mb5_query_add_collection_entries(Mb5Query Query, const char *Collection, int NumEntries, const char **Entries)
Add a list of releases to a collection.
void * Mb5PUID
Definition: mb5_c.h:76
int mb5_relation_get_target(Mb5Relation Relation, char *str, int len)
int mb5_usertag_get_name(Mb5UserTag UserTag, char *str, int len)
int mb5_tag_get_name(Mb5Tag Tag, char *str, int len)
int mb5_cdstub_list_size(Mb5CDStubList List)
Return the number of entries in a Mb5CDStubList.
Mb5FreeDBDiscList mb5_metadata_get_freedbdisclist(Mb5Metadata Metadata)
Mb5AliasList mb5_alias_list_clone(Mb5AliasList AliasList)
Clone an Mb5AliasList object.
Mb5TrackList mb5_medium_get_tracklist(Mb5Medium Medium)
int mb5_puid_get_id(Mb5PUID PUID, char *str, int len)
void mb5_track_delete(Mb5Track Track)
Delete an Mb5Track object.
int mb5_labelinfo_list_get_offset(Mb5LabelInfoList List)
Return the offset of entries in an Mb5LabelInfoList.
Mb5UserTagList mb5_artist_get_usertaglist(Mb5Artist Artist)
int mb5_work_get_title(Mb5Work Work, char *str, int len)
Mb5ISRCList mb5_isrc_list_clone(Mb5ISRCList ISRCList)
Clone an Mb5ISRCList object.
int mb5_disc_get_sectors(Mb5Disc Disc)
Mb5AliasList mb5_label_get_aliaslist(Mb5Label Label)
void mb5_query_set_proxyusername(Mb5Query Query, const char *ProxyUserName)
Set the username to use to authenticate to the proxy server.
Mb5OffsetList mb5_disc_get_offsetlist(Mb5Disc Disc)
Mb5ISWC mb5_iswc_list_item(Mb5ISWCList List, int Item)
Returns an entry from a Mb5ISWCList.
int mb5_releasegroup_get_disambiguation(Mb5ReleaseGroup ReleaseGroup, char *str, int len)
int mb5_metadata_get_xmlnsext(Mb5Metadata Metadata, char *str, int len)
int mb5_nonmbtrack_list_get_offset(Mb5NonMBTrackList List)
Return the offset of entries in an Mb5NonMBTrackList.
int mb5_tag_get_count(Mb5Tag Tag)
int mb5_lifespan_get_begin(Mb5Lifespan Lifespan, char *str, int len)
void * Mb5Recording
Definition: mb5_c.h:79
void mb5_artist_list_delete(Mb5ArtistList List)
Delete a Mb5ArtistList.
void mb5_work_delete(Mb5Work Work)
Delete an Mb5Work object.
void mb5_releasegroup_delete(Mb5ReleaseGroup ReleaseGroup)
Delete an Mb5ReleaseGroup object.
int mb5_tag_list_get_offset(Mb5TagList List)
Return the offset of entries in an Mb5TagList.
int mb5_relation_list_get_offset(Mb5RelationList List)
Return the offset of entries in an Mb5RelationList.
int mb5_track_list_get_offset(Mb5TrackList List)
Return the offset of entries in an Mb5TrackList.
void mb5_artistcredit_delete(Mb5ArtistCredit ArtistCredit)
Delete an Mb5ArtistCredit object.
Mb5Relation mb5_relation_clone(Mb5Relation Relation)
Clone an Mb5Relation object.
int mb5_relation_get_direction(Mb5Relation Relation, char *str, int len)
Mb5MediumList mb5_release_media_matching_discid(Mb5Release Release, const char *DiscID)
Mb5ReleaseGroup mb5_relation_get_releasegroup(Mb5Relation Relation)
Mb5Label mb5_label_list_item(Mb5LabelList List, int Item)
Returns an entry from a Mb5LabelList.
void * Mb5RelationListList
Definition: mb5_c.h:110
void * Mb5ReleaseGroupList
Definition: mb5_c.h:112
void * Mb5WorkList
Definition: mb5_c.h:117
int mb5_namecredit_get_joinphrase(Mb5NameCredit NameCredit, char *str, int len)
Mb5RelationListList mb5_recording_get_relationlistlist(Mb5Recording Recording)
Mb5Message mb5_message_clone(Mb5Message Message)
Clone an Mb5Message object.
Mb5RecordingList mb5_puid_get_recordinglist(Mb5PUID PUID)
unsigned char mb5_medium_contains_discid(Mb5Medium Medium, const char *DiscID)
int mb5_relationlist_list_size(Mb5RelationListList List)
Return the number of entries in a Mb5RelationListList.
Mb5Medium mb5_medium_list_item(Mb5MediumList List, int Item)
Returns an entry from a Mb5MediumList.
int mb5_offset_list_size(Mb5OffsetList List)
Return the number of entries in a Mb5OffsetList.
int mb5_collection_list_get_offset(Mb5CollectionList List)
Return the offset of entries in an Mb5CollectionList.
Mb5PUIDList mb5_puid_list_clone(Mb5PUIDList PUIDList)
Clone an Mb5PUIDList object.
Mb5PUID mb5_puid_clone(Mb5PUID PUID)
Clone an Mb5PUID object.
Mb5UserTagList mb5_usertag_list_clone(Mb5UserTagList UserTagList)
Clone an Mb5UserTagList object.
void mb5_attribute_delete(Mb5Attribute Attribute)
Delete an Mb5Attribute object.
Mb5Release mb5_release_list_item(Mb5ReleaseList List, int Item)
Returns an entry from a Mb5ReleaseList.
int mb5_attribute_list_get_offset(Mb5AttributeList List)
Return the offset of entries in an Mb5AttributeList.
void mb5_metadata_delete(Mb5Metadata Metadata)
Delete an Mb5Metadata object.
Mb5SecondaryTypeList mb5_releasegroup_get_secondarytypelist(Mb5ReleaseGroup ReleaseGroup)
Mb5NonMBTrack mb5_nonmbtrack_list_item(Mb5NonMBTrackList List, int Item)
Returns an entry from a Mb5NonMBTrackList.
int mb5_lifespan_get_ended(Mb5Lifespan Lifespan, char *str, int len)
int mb5_label_get_id(Mb5Label Label, char *str, int len)
Mb5DiscList mb5_disc_list_clone(Mb5DiscList DiscList)
Clone an Mb5DiscList object.
int mb5_medium_list_get_trackcount(Mb5MediumList List)
int mb5_release_get_country(Mb5Release Release, char *str, int len)
void * Mb5ReleaseGroup
Definition: mb5_c.h:82
int mb5_offset_get_position(Mb5Offset Offset)
Mb5ISWC mb5_iswc_clone(Mb5ISWC ISWC)
Clone an Mb5ISWC object.
int mb5_release_get_barcode(Mb5Release Release, char *str, int len)
void mb5_isrc_delete(Mb5ISRC ISRC)
Delete an Mb5ISRC object.
Mb5DiscList mb5_medium_get_disclist(Mb5Medium Medium)
Mb5ISRCList mb5_metadata_get_isrclist(Mb5Metadata Metadata)
int mb5_relation_list_get_count(Mb5RelationList List)
Return the count of entries in an Mb5RelationList.
Mb5Attribute mb5_attribute_list_item(Mb5AttributeList List, int Item)
Returns an entry from a Mb5AttributeList.
int mb5_medium_list_get_offset(Mb5MediumList List)
Return the offset of entries in an Mb5MediumList.
int mb5_artist_list_get_count(Mb5ArtistList List)
Return the count of entries in an Mb5ArtistList.
Mb5ArtistCredit mb5_release_get_artistcredit(Mb5Release Release)
int mb5_namecredit_get_name(Mb5NameCredit NameCredit, char *str, int len)
int mb5_release_list_get_count(Mb5ReleaseList List)
Return the count of entries in an Mb5ReleaseList.
Mb5NameCredit mb5_namecredit_list_item(Mb5NameCreditList List, int Item)
Returns an entry from a Mb5NameCreditList.
void mb5_secondarytype_delete(Mb5SecondaryType SecondaryType)
Delete an Mb5SecondaryType object.
void mb5_puid_list_delete(Mb5PUIDList List)
Delete a Mb5PUIDList.
Mb5ISRCList mb5_recording_get_isrclist(Mb5Recording Recording)
void * Mb5CDStubList
Definition: mb5_c.h:94
void * Mb5Track
Definition: mb5_c.h:86
Mb5TagList mb5_work_get_taglist(Mb5Work Work)
Mb5ReleaseList mb5_recording_get_releaselist(Mb5Recording Recording)
Mb5Relation mb5_relation_list_item(Mb5RelationList List, int Item)
Returns an entry from a Mb5RelationList.
Mb5ReleaseGroup mb5_metadata_get_releasegroup(Mb5Metadata Metadata)
Mb5UserRating mb5_work_get_userrating(Mb5Work Work)
void * Mb5Metadata
Definition: mb5_c.h:72
Mb5AttributeList mb5_relation_get_attributelist(Mb5Relation Relation)
Mb5FreeDBDisc mb5_freedbdisc_clone(Mb5FreeDBDisc FreeDBDisc)
Clone an Mb5FreeDBDisc object.
int mb5_entity_ext_elements_size(Mb5Entity Entity)
Returns the number of extension elements for the entity.
int mb5_freedbdisc_get_title(Mb5FreeDBDisc FreeDBDisc, char *str, int len)
Mb5Artist mb5_artist_list_item(Mb5ArtistList List, int Item)
Returns an entry from a Mb5ArtistList.
Mb5FreeDBDiscList mb5_freedbdisc_list_clone(Mb5FreeDBDiscList FreeDBDiscList)
Clone an Mb5FreeDBDiscList object.
int mb5_cdstub_get_artist(Mb5CDStub CDStub, char *str, int len)
int mb5_attribute_get_text(Mb5Attribute Attribute, char *str, int len)
int mb5_alias_get_begindate(Mb5Alias Alias, char *str, int len)
Mb5TagList mb5_releasegroup_get_taglist(Mb5ReleaseGroup ReleaseGroup)
int mb5_annotation_get_entity(Mb5Annotation Annotation, char *str, int len)
Mb5LabelList mb5_artist_get_labellist(Mb5Artist Artist)
Mb5AliasList mb5_work_get_aliaslist(Mb5Work Work)
Mb5RecordingList mb5_artist_get_recordinglist(Mb5Artist Artist)
int mb5_releasegroup_get_id(Mb5ReleaseGroup ReleaseGroup, char *str, int len)
int mb5_entity_ext_element_name(Mb5Entity Entity, int Item, char *str, int len)
Returns the name of the requested extension element.
void mb5_lifespan_delete(Mb5Lifespan Lifespan)
Delete an Mb5Lifespan object.
Mb5CDStub mb5_cdstub_clone(Mb5CDStub CDStub)
Clone an Mb5CDStub object.
int mb5_nonmbtrack_get_artist(Mb5NonMBTrack NonMBTrack, char *str, int len)
void * Mb5DiscList
Definition: mb5_c.h:96
Mb5OffsetList mb5_offset_list_clone(Mb5OffsetList OffsetList)
Clone an Mb5OffsetList object.
Mb5Query mb5_query_new(const char *UserAgent, const char *Server, int Port)
Create a new instance of Mb5Query.
int mb5_userrating_get_userrating(Mb5UserRating UserRating)
Mb5TextRepresentation mb5_textrepresentation_clone(Mb5TextRepresentation TextRepresentation)
Clone an Mb5TextRepresentation object.
int mb5_collection_list_get_count(Mb5CollectionList List)
Return the count of entries in an Mb5CollectionList.
Mb5Lifespan mb5_artist_get_lifespan(Mb5Artist Artist)
Mb5NameCredit mb5_namecredit_clone(Mb5NameCredit NameCredit)
Clone an Mb5NameCredit object.
int mb5_iswc_list_get_count(Mb5ISWCList List)
Return the count of entries in an Mb5ISWCList.
void * Mb5Rating
Definition: mb5_c.h:78
Mb5UserRating mb5_metadata_get_userrating(Mb5Metadata Metadata)
Mb5IPIList mb5_artist_get_ipilist(Mb5Artist Artist)
Mb5Artist mb5_relation_get_artist(Mb5Relation Relation)
Mb5Lifespan mb5_lifespan_clone(Mb5Lifespan Lifespan)
Clone an Mb5Lifespan object.
Mb5Rating mb5_artist_get_rating(Mb5Artist Artist)
void mb5_artist_delete(Mb5Artist Artist)
Delete an Mb5Artist object.
Mb5ArtistCredit mb5_recording_get_artistcredit(Mb5Recording Recording)
int mb5_artist_get_type(Mb5Artist Artist, char *str, int len)
void mb5_offset_list_delete(Mb5OffsetList List)
Delete a Mb5OffsetList.
void mb5_recording_list_delete(Mb5RecordingList List)
Delete a Mb5RecordingList.
void * Mb5Lifespan
Definition: mb5_c.h:69
int mb5_metadata_get_created(Mb5Metadata Metadata, char *str, int len)
Mb5NameCreditList mb5_namecredit_list_clone(Mb5NameCreditList NameCreditList)
Clone an Mb5NameCreditList object.
Mb5CDStub mb5_cdstub_list_item(Mb5CDStubList List, int Item)
Returns an entry from a Mb5CDStubList.
int mb5_work_get_type(Mb5Work Work, char *str, int len)
Mb5Label mb5_relation_get_label(Mb5Relation Relation)
int mb5_metadata_get_generator(Mb5Metadata Metadata, char *str, int len)
void * Mb5ArtistList
Definition: mb5_c.h:92
int mb5_release_get_asin(Mb5Release Release, char *str, int len)
void * Mb5SecondaryTypeList
Definition: mb5_c.h:113
void mb5_offset_delete(Mb5Offset Offset)
Delete an Mb5Offset object.
void mb5_isrc_list_delete(Mb5ISRCList List)
Delete a Mb5ISRCList.
Mb5ISRC mb5_isrc_clone(Mb5ISRC ISRC)
Clone an Mb5ISRC object.
void * Mb5ISWC
Definition: mb5_c.h:66
int mb5_offset_list_get_count(Mb5OffsetList List)
Return the count of entries in an Mb5OffsetList.
int mb5_cdstub_get_barcode(Mb5CDStub CDStub, char *str, int len)
int mb5_release_get_title(Mb5Release Release, char *str, int len)
Mb5RelationListList mb5_artist_get_relationlistlist(Mb5Artist Artist)
int mb5_cdstub_get_id(Mb5CDStub CDStub, char *str, int len)
int mb5_release_get_quality(Mb5Release Release, char *str, int len)
int mb5_nonmbtrack_get_title(Mb5NonMBTrack NonMBTrack, char *str, int len)