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
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 *Mb5PUID;
76 typedef void *Mb5Query;
77 typedef void *Mb5Rating;
78 typedef void *Mb5Recording;
79 typedef void *Mb5Relation;
80 typedef void *Mb5Release;
81 typedef void *Mb5ReleaseGroup;
82 typedef void *Mb5SecondaryType;
83 typedef void *Mb5Tag;
84 typedef void *Mb5TextRepresentation;
85 typedef void *Mb5Track;
86 typedef void *Mb5UserRating;
87 typedef void *Mb5UserTag;
88 typedef void *Mb5Work;
89 typedef void *Mb5AliasList;
90 typedef void *Mb5AnnotationList;
91 typedef void *Mb5ArtistList;
92 typedef void *Mb5AttributeList;
93 typedef void *Mb5CDStubList;
94 typedef void *Mb5CollectionList;
95 typedef void *Mb5DiscList;
96 typedef void *Mb5FreeDBDiscList;
97 typedef void *Mb5IPIList;
98 typedef void *Mb5ISRCList;
99 typedef void *Mb5ISWCList;
100 typedef void *Mb5LabelList;
101 typedef void *Mb5LabelInfoList;
102 typedef void *Mb5MediumList;
103 typedef void *Mb5NameCreditList;
104 typedef void *Mb5NonMBTrackList;
105 typedef void *Mb5PUIDList;
106 typedef void *Mb5RecordingList;
107 typedef void *Mb5RelationList;
108 typedef void *Mb5RelationListList;
109 typedef void *Mb5ReleaseList;
110 typedef void *Mb5ReleaseGroupList;
111 typedef void *Mb5SecondaryTypeList;
112 typedef void *Mb5TagList;
113 typedef void *Mb5TrackList;
114 typedef void *Mb5UserTagList;
115 typedef void *Mb5WorkList;
116
125
136 int mb5_entity_ext_attribute_name(Mb5Entity Entity, int Item, char *str, int len);
137
148 int mb5_entity_ext_attribute_value(Mb5Entity Entity, int Item, char *str, int len);
149
158
169 int mb5_entity_ext_element_name(Mb5Entity Entity, int Item, char *str, int len);
170
181 int mb5_entity_ext_element_value(Mb5Entity Entity, int Item, char *str, int len);
182
189
199
209 int mb5_alias_get_locale(Mb5Alias Alias, char *str, int len);
210
220 int mb5_alias_get_text(Mb5Alias Alias, char *str, int len);
221
231 int mb5_alias_get_sortname(Mb5Alias Alias, char *str, int len);
232
242 int mb5_alias_get_type(Mb5Alias Alias, char *str, int len);
243
253 int mb5_alias_get_primary(Mb5Alias Alias, char *str, int len);
254
264 int mb5_alias_get_begindate(Mb5Alias Alias, char *str, int len);
265
275 int mb5_alias_get_enddate(Mb5Alias Alias, char *str, int len);
276
283
293
303 int mb5_annotation_get_type(Mb5Annotation Annotation, char *str, int len);
304
314 int mb5_annotation_get_entity(Mb5Annotation Annotation, char *str, int len);
315
325 int mb5_annotation_get_name(Mb5Annotation Annotation, char *str, int len);
326
336 int mb5_annotation_get_text(Mb5Annotation Annotation, char *str, int len);
337
344
354
364 int mb5_artist_get_id(Mb5Artist Artist, char *str, int len);
365
375 int mb5_artist_get_type(Mb5Artist Artist, char *str, int len);
376
386 int mb5_artist_get_name(Mb5Artist Artist, char *str, int len);
387
397 int mb5_artist_get_sortname(Mb5Artist Artist, char *str, int len);
398
408 int mb5_artist_get_gender(Mb5Artist Artist, char *str, int len);
409
419 int mb5_artist_get_country(Mb5Artist Artist, char *str, int len);
420
430 int mb5_artist_get_disambiguation(Mb5Artist Artist, char *str, int len);
431
440
449
458
467
476
485
494
503
512
521
530
539
548
555
565
574
581
591
601 int mb5_attribute_get_text(Mb5Attribute Attribute, char *str, int len);
602
609
619
629 int mb5_cdstub_get_id(Mb5CDStub CDStub, char *str, int len);
630
640 int mb5_cdstub_get_title(Mb5CDStub CDStub, char *str, int len);
641
651 int mb5_cdstub_get_artist(Mb5CDStub CDStub, char *str, int len);
652
662 int mb5_cdstub_get_barcode(Mb5CDStub CDStub, char *str, int len);
663
673 int mb5_cdstub_get_comment(Mb5CDStub CDStub, char *str, int len);
674
683
690
700
710 int mb5_collection_get_id(Mb5Collection Collection, char *str, int len);
711
721 int mb5_collection_get_name(Mb5Collection Collection, char *str, int len);
722
732 int mb5_collection_get_editor(Mb5Collection Collection, char *str, int len);
733
742
749
759
769 int mb5_disc_get_id(Mb5Disc Disc, char *str, int len);
770
779
788
795
805
815 int mb5_freedbdisc_get_id(Mb5FreeDBDisc FreeDBDisc, char *str, int len);
816
826 int mb5_freedbdisc_get_title(Mb5FreeDBDisc FreeDBDisc, char *str, int len);
827
837 int mb5_freedbdisc_get_artist(Mb5FreeDBDisc FreeDBDisc, char *str, int len);
838
848 int mb5_freedbdisc_get_category(Mb5FreeDBDisc FreeDBDisc, char *str, int len);
849
859 int mb5_freedbdisc_get_year(Mb5FreeDBDisc FreeDBDisc, char *str, int len);
860
869
876
886
896 int mb5_ipi_get_ipi(Mb5IPI IPI, char *str, int len);
897
904
914
924 int mb5_isrc_get_id(Mb5ISRC ISRC, char *str, int len);
925
934
941
951
961 int mb5_iswc_get_iswc(Mb5ISWC ISWC, char *str, int len);
962
969
979
989 int mb5_label_get_id(Mb5Label Label, char *str, int len);
990
1000 int mb5_label_get_type(Mb5Label Label, char *str, int len);
1001
1011 int mb5_label_get_name(Mb5Label Label, char *str, int len);
1012
1022 int mb5_label_get_sortname(Mb5Label Label, char *str, int len);
1023
1032
1041
1051 int mb5_label_get_disambiguation(Mb5Label Label, char *str, int len);
1052
1062 int mb5_label_get_country(Mb5Label Label, char *str, int len);
1063
1072
1081
1090
1099
1108
1117
1126
1135
1142
1152
1162 int mb5_labelinfo_get_catalognumber(Mb5LabelInfo LabelInfo, char *str, int len);
1163
1172
1179
1189
1199 int mb5_lifespan_get_begin(Mb5Lifespan Lifespan, char *str, int len);
1200
1210 int mb5_lifespan_get_end(Mb5Lifespan Lifespan, char *str, int len);
1211
1221 int mb5_lifespan_get_ended(Mb5Lifespan Lifespan, char *str, int len);
1222
1229
1239
1249 int mb5_medium_get_title(Mb5Medium Medium, char *str, int len);
1250
1259
1269 int mb5_medium_get_format(Mb5Medium Medium, char *str, int len);
1270
1279
1288
1289/* --------------------------------------------------------------------------
1290
1291 libmusicbrainz5 - Client library to access MusicBrainz
1292
1293 Copyright (C) 2012 Andrew Hawkins
1294
1295 This file is part of libmusicbrainz5.
1296
1297 This library is free software; you can redistribute it and/or
1298 modify it under the terms of the GNU Lesser General Public
1299 License as published by the Free Software Foundation; either
1300 version 2.1 of the License, or (at your option) any later version.
1301
1302 libmusicbrainz5 is distributed in the hope that it will be useful,
1303 but WITHOUT ANY WARRANTY; without even the implied warranty of
1304 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1305 Lesser General Public License for more details.
1306
1307 You should have received a copy of the GNU General Public License
1308 along with this library. If not, see <http://www.gnu.org/licenses/>.
1309
1310 $Id$
1311
1312----------------------------------------------------------------------------*/
1313
1322 unsigned char mb5_medium_contains_discid(Mb5Medium Medium, const char *DiscID);
1323
1324
1331
1341
1351 int mb5_message_get_text(Mb5Message Message, char *str, int len);
1352
1359
1369
1379 int mb5_metadata_get_xmlns(Mb5Metadata Metadata, char *str, int len);
1380
1390 int mb5_metadata_get_xmlnsext(Mb5Metadata Metadata, char *str, int len);
1391
1401 int mb5_metadata_get_generator(Mb5Metadata Metadata, char *str, int len);
1402
1412 int mb5_metadata_get_created(Mb5Metadata Metadata, char *str, int len);
1413
1422
1431
1440
1449
1458
1467
1476
1485
1494
1503
1512
1521
1530
1539
1548
1557
1566
1575
1584
1593
1602
1611
1620
1629
1638
1647
1656
1665
1672
1682
1692 int mb5_namecredit_get_joinphrase(Mb5NameCredit NameCredit, char *str, int len);
1693
1703 int mb5_namecredit_get_name(Mb5NameCredit NameCredit, char *str, int len);
1704
1713
1720
1730
1740 int mb5_nonmbtrack_get_title(Mb5NonMBTrack NonMBTrack, char *str, int len);
1741
1751 int mb5_nonmbtrack_get_artist(Mb5NonMBTrack NonMBTrack, char *str, int len);
1752
1761
1768
1778
1788 int mb5_puid_get_id(Mb5PUID PUID, char *str, int len);
1789
1798
1805
1815
1824
1834 int mb5_query_get_lasterrormessage(Mb5Query Query, char *str, int len);
1835
1845 int mb5_query_get_version(Mb5Query Query, char *str, int len);
1846
1847/* --------------------------------------------------------------------------
1848
1849 libmusicbrainz5 - Client library to access MusicBrainz
1850
1851 Copyright (C) 2012 Andrew Hawkins
1852
1853 This file is part of libmusicbrainz5.
1854
1855 This library is free software; you can redistribute it and/or
1856 modify it under the terms of the GNU Lesser General Public
1857 License as published by the Free Software Foundation; either
1858 version 2.1 of the License, or (at your option) any later version.
1859
1860 libmusicbrainz5 is distributed in the hope that it will be useful,
1861 but WITHOUT ANY WARRANTY; without even the implied warranty of
1862 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1863 Lesser General Public License for more details.
1864
1865 You should have received a copy of the GNU General Public License
1866 along with this library. If not, see <http://www.gnu.org/licenses/>.
1867
1868 $Id$
1869
1870----------------------------------------------------------------------------*/
1871
1885 Mb5Query mb5_query_new(const char *UserAgent, const char *Server, int Port);
1886
1895 void mb5_query_set_username(Mb5Query Query, const char *UserName);
1896
1905 void mb5_query_set_password(Mb5Query Query, const char *Password);
1906
1915 void mb5_query_set_proxyhost(Mb5Query Query, const char *ProxyHost);
1916
1925 void mb5_query_set_proxyport(Mb5Query Query, int ProxyPort);
1926
1935 void mb5_query_set_proxyusername(Mb5Query Query, const char *ProxyUserName);
1936
1945 void mb5_query_set_proxypassword(Mb5Query Query, const char *ProxyPassword);
1946
1959
1971 Mb5Release mb5_query_lookup_release(Mb5Query Query, const char *Release);
1972
1989 Mb5Metadata mb5_query_query(Mb5Query Query, const char *Entity, const char *ID, const char *Resource, int NumParams, char **ParamNames, char **ParamValues);
1990
2003 unsigned char mb5_query_add_collection_entries(Mb5Query Query, const char *Collection, int NumEntries, const char **Entries);
2004
2017 unsigned char mb5_query_delete_collection_entries(Mb5Query Query, const char *Collection, int NumEntries, const char **Entries);
2018
2023 typedef enum
2024 {
2033
2042
2043
2044
2051
2061
2070
2079
2086
2096
2106 int mb5_recording_get_id(Mb5Recording Recording, char *str, int len);
2107
2117 int mb5_recording_get_title(Mb5Recording Recording, char *str, int len);
2118
2127
2137 int mb5_recording_get_disambiguation(Mb5Recording Recording, char *str, int len);
2138
2147
2156
2165
2174
2183
2192
2201
2210
2219
2226
2236
2246 int mb5_relation_get_type(Mb5Relation Relation, char *str, int len);
2247
2257 int mb5_relation_get_target(Mb5Relation Relation, char *str, int len);
2258
2268 int mb5_relation_get_direction(Mb5Relation Relation, char *str, int len);
2269
2278
2288 int mb5_relation_get_begin(Mb5Relation Relation, char *str, int len);
2289
2299 int mb5_relation_get_end(Mb5Relation Relation, char *str, int len);
2300
2310 int mb5_relation_get_ended(Mb5Relation Relation, char *str, int len);
2311
2320
2329
2338
2347
2356
2365
2372
2382
2392 int mb5_release_get_id(Mb5Release Release, char *str, int len);
2393
2403 int mb5_release_get_title(Mb5Release Release, char *str, int len);
2404
2414 int mb5_release_get_status(Mb5Release Release, char *str, int len);
2415
2425 int mb5_release_get_quality(Mb5Release Release, char *str, int len);
2426
2436 int mb5_release_get_disambiguation(Mb5Release Release, char *str, int len);
2437
2447 int mb5_release_get_packaging(Mb5Release Release, char *str, int len);
2448
2457
2466
2475
2485 int mb5_release_get_date(Mb5Release Release, char *str, int len);
2486
2496 int mb5_release_get_country(Mb5Release Release, char *str, int len);
2497
2507 int mb5_release_get_barcode(Mb5Release Release, char *str, int len);
2508
2518 int mb5_release_get_asin(Mb5Release Release, char *str, int len);
2519
2528
2537
2546
2555
2556/* --------------------------------------------------------------------------
2557
2558 libmusicbrainz5 - Client library to access MusicBrainz
2559
2560 Copyright (C) 2012 Andrew Hawkins
2561
2562 This file is part of libmusicbrainz5.
2563
2564 This library is free software; you can redistribute it and/or
2565 modify it under the terms of the GNU Lesser General Public
2566 License as published by the Free Software Foundation; either
2567 version 2.1 of the License, or (at your option) any later version.
2568
2569 libmusicbrainz5 is distributed in the hope that it will be useful,
2570 but WITHOUT ANY WARRANTY; without even the implied warranty of
2571 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
2572 Lesser General Public License for more details.
2573
2574 You should have received a copy of the GNU General Public License
2575 along with this library. If not, see <http://www.gnu.org/licenses/>.
2576
2577 $Id$
2578
2579----------------------------------------------------------------------------*/
2580
2591
2592
2593
2600
2610
2620 int mb5_releasegroup_get_id(Mb5ReleaseGroup ReleaseGroup, char *str, int len);
2621
2631 int mb5_releasegroup_get_primarytype(Mb5ReleaseGroup ReleaseGroup, char *str, int len);
2632
2642 int mb5_releasegroup_get_title(Mb5ReleaseGroup ReleaseGroup, char *str, int len);
2643
2653 int mb5_releasegroup_get_disambiguation(Mb5ReleaseGroup ReleaseGroup, char *str, int len);
2654
2664 int mb5_releasegroup_get_firstreleasedate(Mb5ReleaseGroup ReleaseGroup, char *str, int len);
2665
2674
2683
2692
2701
2710
2719
2728
2737
2744
2754
2764 int mb5_secondarytype_get_secondarytype(Mb5SecondaryType SecondaryType, char *str, int len);
2765
2772
2782
2791
2801 int mb5_tag_get_name(Mb5Tag Tag, char *str, int len);
2802
2809
2819
2829 int mb5_textrepresentation_get_language(Mb5TextRepresentation TextRepresentation, char *str, int len);
2830
2840 int mb5_textrepresentation_get_script(Mb5TextRepresentation TextRepresentation, char *str, int len);
2841
2848
2858
2867
2877 int mb5_track_get_title(Mb5Track Track, char *str, int len);
2878
2887
2896
2905
2915 int mb5_track_get_number(Mb5Track Track, char *str, int len);
2916
2923
2933
2942
2949
2959
2969 int mb5_usertag_get_name(Mb5UserTag UserTag, char *str, int len);
2970
2977
2987
2997 int mb5_work_get_id(Mb5Work Work, char *str, int len);
2998
3008 int mb5_work_get_type(Mb5Work Work, char *str, int len);
3009
3019 int mb5_work_get_title(Mb5Work Work, char *str, int len);
3020
3029
3038
3048 int mb5_work_get_disambiguation(Mb5Work Work, char *str, int len);
3049
3058
3067
3076
3085
3094
3103
3113 int mb5_work_get_language(Mb5Work Work, char *str, int len);
3114
3121
3128
3138
3145
3152
3162
3169
3176
3186
3193
3200
3210
3217
3224
3234
3241
3248
3258
3265
3272
3282
3289
3296
3306
3313
3320
3330
3337
3344
3354
3361
3368
3378
3385
3392
3402
3409
3416
3426
3433
3440
3450
3457
3464
3474
3481
3488
3498
3505
3512
3522
3529
3536
3546
3553
3560
3570
3577
3584
3594
3601
3608
3618
3625
3632
3642
3649
3656
3666
3673
3680
3690
3697
3704
3714
3721
3728
3738
3745
3752
3762
3769
3776
3786
3795
3802
3809
3819
3826
3833
3843
3850
3857
3867
3874
3881
3891
3898
3905
3915
3922
3929
3939
3946
3953
3963
3970
3977
3987
3994
4001
4011
4018
4025
4035
4046
4053
4060
4070
4077
4084
4094
4101
4108
4118
4125
4132
4142
4149
4156
4166
4173
4180
4190
4197
4204
4214
4221
4228
4238
4245
4252
4262
4269
4276
4286
4293
4300
4310
4317
4324
4334
4341
4348
4358
4365
4372
4382
4389
4396
4406
4413
4420
4430
4431
4432#ifdef __cplusplus
4433}
4434#endif
4435
4436#endif
4437
4438
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 * 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)
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:97
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)
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:104
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)
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:92
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:94
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:83
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:114
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:88
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:79
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:82
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:80
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:86
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:101
void * Mb5ReleaseList
Definition: mb5_c.h:109
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:102
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:106
tQueryResult
Definition: mb5_c.h:2024
@ eQuery_AuthenticationError
Definition: mb5_c.h:2028
@ eQuery_RequestError
Definition: mb5_c.h:2030
@ eQuery_FetchError
Definition: mb5_c.h:2029
@ eQuery_ResourceNotFound
Definition: mb5_c.h:2031
@ eQuery_ConnectionError
Definition: mb5_c.h:2026
@ eQuery_Success
Definition: mb5_c.h:2025
@ eQuery_Timeout
Definition: mb5_c.h:2027
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:103
void * Mb5NonMBTrack
Definition: mb5_c.h:74
void * Mb5Query
Definition: mb5_c.h:76
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:99
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:112
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:100
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:87
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:105
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:90
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.
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:89
void * Mb5ISRCList
Definition: mb5_c.h:98
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:96
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:84
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:113
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:107
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:75
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.
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:78
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:108
void * Mb5ReleaseGroupList
Definition: mb5_c.h:110
void * Mb5WorkList
Definition: mb5_c.h:115
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_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:81
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:93
void * Mb5Track
Definition: mb5_c.h:85
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:95
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:77
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_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:91
int mb5_release_get_asin(Mb5Release Release, char *str, int len)
void * Mb5SecondaryTypeList
Definition: mb5_c.h:111
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_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)