libmusicbrainz4
4.0.0
|
00001 /* -------------------------------------------------------------------------- 00002 00003 libmusicbrainz4 - Client library to access MusicBrainz 00004 00005 Copyright (C) 2011 Andrew Hawkins 00006 00007 This file is part of libmusicbrainz4. 00008 00009 This library is free software; you can redistribute it and/or 00010 modify it under the terms of v2 of the GNU Lesser General Public 00011 License as published by the Free Software Foundation. 00012 00013 libmusicbrainz4 is distributed in the hope that it will be useful, 00014 but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00016 Lesser General Public License for more details. 00017 00018 You should have received a copy of the GNU General Public License 00019 along with this library. If not, see <http://www.gnu.org/licenses/>. 00020 00021 THIS FILE IS AUTOMATICALLY GENERATED - DO NOT EDIT IT! 00022 00023 ----------------------------------------------------------------------------*/ 00024 00025 00026 /* 00027 Things you should delete using the appropriate mb4_xxx_delete() function: 00028 00029 * The query object you create to do the actual work 00030 * Any object or list returned from one of the mb4_query_xxx() functions 00031 * The return from mb4_release_media_matching_discid() function 00032 * The return from any mb4_xxx_clone() function 00033 00034 Everything else remains managed by the library, and should not be deleted 00035 00036 If in doubt, valgrind is a useful way to spot leaks or things being deleted 00037 when they shouldn't be. 00038 00039 */ 00040 00041 #ifndef _MUSICBRAINZ4_MB_C_H 00042 #define _MUSICBRAINZ4_MB_C_H 00043 00044 #ifdef __cplusplus 00045 extern "C" 00046 { 00047 #endif 00048 00049 typedef void *Mb4Entity; 00050 typedef void *Mb4Alias; 00051 typedef void *Mb4Annotation; 00052 typedef void *Mb4Artist; 00053 typedef void *Mb4ArtistCredit; 00054 typedef void *Mb4Attribute; 00055 typedef void *Mb4CDStub; 00056 typedef void *Mb4Collection; 00057 typedef void *Mb4Disc; 00058 typedef void *Mb4FreeDBDisc; 00059 typedef void *Mb4ISRC; 00060 typedef void *Mb4Label; 00061 typedef void *Mb4LabelInfo; 00062 typedef void *Mb4Lifespan; 00063 typedef void *Mb4Medium; 00064 typedef void *Mb4Message; 00065 typedef void *Mb4Metadata; 00066 typedef void *Mb4NameCredit; 00067 typedef void *Mb4NonMBTrack; 00068 typedef void *Mb4PUID; 00069 typedef void *Mb4Query; 00070 typedef void *Mb4Rating; 00071 typedef void *Mb4Recording; 00072 typedef void *Mb4Relation; 00073 typedef void *Mb4Release; 00074 typedef void *Mb4ReleaseGroup; 00075 typedef void *Mb4Tag; 00076 typedef void *Mb4TextRepresentation; 00077 typedef void *Mb4Track; 00078 typedef void *Mb4UserRating; 00079 typedef void *Mb4UserTag; 00080 typedef void *Mb4Work; 00081 typedef void *Mb4AliasList; 00082 typedef void *Mb4AnnotationList; 00083 typedef void *Mb4ArtistList; 00084 typedef void *Mb4AttributeList; 00085 typedef void *Mb4CDStubList; 00086 typedef void *Mb4CollectionList; 00087 typedef void *Mb4DiscList; 00088 typedef void *Mb4FreeDBDiscList; 00089 typedef void *Mb4ISRCList; 00090 typedef void *Mb4LabelList; 00091 typedef void *Mb4LabelInfoList; 00092 typedef void *Mb4MediumList; 00093 typedef void *Mb4NameCreditList; 00094 typedef void *Mb4NonMBTrackList; 00095 typedef void *Mb4PUIDList; 00096 typedef void *Mb4RecordingList; 00097 typedef void *Mb4RelationList; 00098 typedef void *Mb4ReleaseList; 00099 typedef void *Mb4ReleaseGroupList; 00100 typedef void *Mb4TagList; 00101 typedef void *Mb4TrackList; 00102 typedef void *Mb4UserTagList; 00103 typedef void *Mb4WorkList; 00104 00112 int mb4_entity_ext_attributes_size(Mb4Entity Entity); 00113 00124 int mb4_entity_ext_attribute_name(Mb4Entity Entity, int Item, char *str, int len); 00125 00136 int mb4_entity_ext_attribute_value(Mb4Entity Entity, int Item, char *str, int len); 00137 00145 int mb4_entity_ext_elements_size(Mb4Entity Entity); 00146 00157 int mb4_entity_ext_element_name(Mb4Entity Entity, int Item, char *str, int len); 00158 00169 int mb4_entity_ext_element_value(Mb4Entity Entity, int Item, char *str, int len); 00170 00176 void mb4_alias_delete(Mb4Alias Alias); 00177 00186 Mb4Alias mb4_alias_clone(Mb4Alias Alias); 00187 00197 int mb4_alias_get_locale(Mb4Alias Alias, char *str, int len); 00198 00208 int mb4_alias_get_text(Mb4Alias Alias, char *str, int len); 00209 00215 void mb4_annotation_delete(Mb4Annotation Annotation); 00216 00225 Mb4Annotation mb4_annotation_clone(Mb4Annotation Annotation); 00226 00236 int mb4_annotation_get_type(Mb4Annotation Annotation, char *str, int len); 00237 00247 int mb4_annotation_get_entity(Mb4Annotation Annotation, char *str, int len); 00248 00258 int mb4_annotation_get_name(Mb4Annotation Annotation, char *str, int len); 00259 00269 int mb4_annotation_get_text(Mb4Annotation Annotation, char *str, int len); 00270 00276 void mb4_artist_delete(Mb4Artist Artist); 00277 00286 Mb4Artist mb4_artist_clone(Mb4Artist Artist); 00287 00297 int mb4_artist_get_id(Mb4Artist Artist, char *str, int len); 00298 00308 int mb4_artist_get_type(Mb4Artist Artist, char *str, int len); 00309 00319 int mb4_artist_get_name(Mb4Artist Artist, char *str, int len); 00320 00330 int mb4_artist_get_sortname(Mb4Artist Artist, char *str, int len); 00331 00341 int mb4_artist_get_gender(Mb4Artist Artist, char *str, int len); 00342 00352 int mb4_artist_get_country(Mb4Artist Artist, char *str, int len); 00353 00363 int mb4_artist_get_disambiguation(Mb4Artist Artist, char *str, int len); 00364 00372 Mb4Lifespan mb4_artist_get_lifespan(Mb4Artist Artist); 00373 00381 Mb4AliasList mb4_artist_get_aliaslist(Mb4Artist Artist); 00382 00390 Mb4RecordingList mb4_artist_get_recordinglist(Mb4Artist Artist); 00391 00399 Mb4ReleaseList mb4_artist_get_releaselist(Mb4Artist Artist); 00400 00408 Mb4ReleaseGroupList mb4_artist_get_releasegrouplist(Mb4Artist Artist); 00409 00417 Mb4LabelList mb4_artist_get_labellist(Mb4Artist Artist); 00418 00426 Mb4WorkList mb4_artist_get_worklist(Mb4Artist Artist); 00427 00435 Mb4RelationList mb4_artist_get_relationlist(Mb4Artist Artist); 00436 00444 Mb4TagList mb4_artist_get_taglist(Mb4Artist Artist); 00445 00453 Mb4UserTagList mb4_artist_get_usertaglist(Mb4Artist Artist); 00454 00462 Mb4Rating mb4_artist_get_rating(Mb4Artist Artist); 00463 00471 Mb4UserRating mb4_artist_get_userrating(Mb4Artist Artist); 00472 00478 void mb4_artistcredit_delete(Mb4ArtistCredit ArtistCredit); 00479 00488 Mb4ArtistCredit mb4_artistcredit_clone(Mb4ArtistCredit ArtistCredit); 00489 00497 Mb4NameCreditList mb4_artistcredit_get_namecreditlist(Mb4ArtistCredit ArtistCredit); 00498 00504 void mb4_attribute_delete(Mb4Attribute Attribute); 00505 00514 Mb4Attribute mb4_attribute_clone(Mb4Attribute Attribute); 00515 00525 int mb4_attribute_get_text(Mb4Attribute Attribute, char *str, int len); 00526 00532 void mb4_cdstub_delete(Mb4CDStub CDStub); 00533 00542 Mb4CDStub mb4_cdstub_clone(Mb4CDStub CDStub); 00543 00553 int mb4_cdstub_get_id(Mb4CDStub CDStub, char *str, int len); 00554 00564 int mb4_cdstub_get_title(Mb4CDStub CDStub, char *str, int len); 00565 00575 int mb4_cdstub_get_artist(Mb4CDStub CDStub, char *str, int len); 00576 00586 int mb4_cdstub_get_barcode(Mb4CDStub CDStub, char *str, int len); 00587 00597 int mb4_cdstub_get_comment(Mb4CDStub CDStub, char *str, int len); 00598 00606 Mb4NonMBTrackList mb4_cdstub_get_nonmbtracklist(Mb4CDStub CDStub); 00607 00613 void mb4_collection_delete(Mb4Collection Collection); 00614 00623 Mb4Collection mb4_collection_clone(Mb4Collection Collection); 00624 00634 int mb4_collection_get_id(Mb4Collection Collection, char *str, int len); 00635 00645 int mb4_collection_get_name(Mb4Collection Collection, char *str, int len); 00646 00656 int mb4_collection_get_editor(Mb4Collection Collection, char *str, int len); 00657 00665 Mb4ReleaseList mb4_collection_get_releaselist(Mb4Collection Collection); 00666 00672 void mb4_disc_delete(Mb4Disc Disc); 00673 00682 Mb4Disc mb4_disc_clone(Mb4Disc Disc); 00683 00693 int mb4_disc_get_id(Mb4Disc Disc, char *str, int len); 00694 00702 int mb4_disc_get_sectors(Mb4Disc Disc); 00703 00711 Mb4ReleaseList mb4_disc_get_releaselist(Mb4Disc Disc); 00712 00718 void mb4_freedbdisc_delete(Mb4FreeDBDisc FreeDBDisc); 00719 00728 Mb4FreeDBDisc mb4_freedbdisc_clone(Mb4FreeDBDisc FreeDBDisc); 00729 00739 int mb4_freedbdisc_get_id(Mb4FreeDBDisc FreeDBDisc, char *str, int len); 00740 00750 int mb4_freedbdisc_get_title(Mb4FreeDBDisc FreeDBDisc, char *str, int len); 00751 00761 int mb4_freedbdisc_get_artist(Mb4FreeDBDisc FreeDBDisc, char *str, int len); 00762 00772 int mb4_freedbdisc_get_category(Mb4FreeDBDisc FreeDBDisc, char *str, int len); 00773 00783 int mb4_freedbdisc_get_year(Mb4FreeDBDisc FreeDBDisc, char *str, int len); 00784 00792 Mb4NonMBTrackList mb4_freedbdisc_get_nonmbtracklist(Mb4FreeDBDisc FreeDBDisc); 00793 00799 void mb4_isrc_delete(Mb4ISRC ISRC); 00800 00809 Mb4ISRC mb4_isrc_clone(Mb4ISRC ISRC); 00810 00820 int mb4_isrc_get_id(Mb4ISRC ISRC, char *str, int len); 00821 00829 Mb4RecordingList mb4_isrc_get_recordinglist(Mb4ISRC ISRC); 00830 00836 void mb4_label_delete(Mb4Label Label); 00837 00846 Mb4Label mb4_label_clone(Mb4Label Label); 00847 00857 int mb4_label_get_id(Mb4Label Label, char *str, int len); 00858 00868 int mb4_label_get_type(Mb4Label Label, char *str, int len); 00869 00879 int mb4_label_get_name(Mb4Label Label, char *str, int len); 00880 00890 int mb4_label_get_sortname(Mb4Label Label, char *str, int len); 00891 00899 int mb4_label_get_labelcode(Mb4Label Label); 00900 00910 int mb4_label_get_disambiguation(Mb4Label Label, char *str, int len); 00911 00921 int mb4_label_get_country(Mb4Label Label, char *str, int len); 00922 00930 Mb4Lifespan mb4_label_get_lifespan(Mb4Label Label); 00931 00939 Mb4AliasList mb4_label_get_aliaslist(Mb4Label Label); 00940 00948 Mb4ReleaseList mb4_label_get_releaselist(Mb4Label Label); 00949 00957 Mb4RelationList mb4_label_get_relationlist(Mb4Label Label); 00958 00966 Mb4TagList mb4_label_get_taglist(Mb4Label Label); 00967 00975 Mb4UserTagList mb4_label_get_usertaglist(Mb4Label Label); 00976 00984 Mb4Rating mb4_label_get_rating(Mb4Label Label); 00985 00993 Mb4UserRating mb4_label_get_userrating(Mb4Label Label); 00994 01000 void mb4_labelinfo_delete(Mb4LabelInfo LabelInfo); 01001 01010 Mb4LabelInfo mb4_labelinfo_clone(Mb4LabelInfo LabelInfo); 01011 01021 int mb4_labelinfo_get_catalognumber(Mb4LabelInfo LabelInfo, char *str, int len); 01022 01030 Mb4Label mb4_labelinfo_get_label(Mb4LabelInfo LabelInfo); 01031 01037 void mb4_lifespan_delete(Mb4Lifespan Lifespan); 01038 01047 Mb4Lifespan mb4_lifespan_clone(Mb4Lifespan Lifespan); 01048 01058 int mb4_lifespan_get_begin(Mb4Lifespan Lifespan, char *str, int len); 01059 01069 int mb4_lifespan_get_end(Mb4Lifespan Lifespan, char *str, int len); 01070 01076 void mb4_medium_delete(Mb4Medium Medium); 01077 01086 Mb4Medium mb4_medium_clone(Mb4Medium Medium); 01087 01097 int mb4_medium_get_title(Mb4Medium Medium, char *str, int len); 01098 01106 int mb4_medium_get_position(Mb4Medium Medium); 01107 01117 int mb4_medium_get_format(Mb4Medium Medium, char *str, int len); 01118 01126 Mb4DiscList mb4_medium_get_disclist(Mb4Medium Medium); 01127 01135 Mb4TrackList mb4_medium_get_tracklist(Mb4Medium Medium); 01136 01137 /* -------------------------------------------------------------------------- 01138 01139 libmusicbrainz4 - Client library to access MusicBrainz 01140 01141 Copyright (C) 2011 Andrew Hawkins 01142 01143 This file is part of libmusicbrainz4. 01144 01145 This library is free software; you can redistribute it and/or 01146 modify it under the terms of v2 of the GNU Lesser General Public 01147 License as published by the Free Software Foundation. 01148 01149 Flactag is distributed in the hope that it will be useful, 01150 but WITHOUT ANY WARRANTY; without even the implied warranty of 01151 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 01152 Lesser General Public License for more details. 01153 01154 You should have received a copy of the GNU General Public License 01155 along with this library. If not, see <http://www.gnu.org/licenses/>. 01156 01157 $Id: c-int-medium-defines.inc 13259 2011-08-10 12:02:50Z adhawkins $ 01158 01159 ----------------------------------------------------------------------------*/ 01160 01169 unsigned char mb4_medium_contains_discid(Mb4Medium Medium, const char *DiscID); 01170 01171 01177 void mb4_message_delete(Mb4Message Message); 01178 01187 Mb4Message mb4_message_clone(Mb4Message Message); 01188 01198 int mb4_message_get_text(Mb4Message Message, char *str, int len); 01199 01205 void mb4_metadata_delete(Mb4Metadata Metadata); 01206 01215 Mb4Metadata mb4_metadata_clone(Mb4Metadata Metadata); 01216 01226 int mb4_metadata_get_xmlns(Mb4Metadata Metadata, char *str, int len); 01227 01237 int mb4_metadata_get_xmlnsext(Mb4Metadata Metadata, char *str, int len); 01238 01248 int mb4_metadata_get_generator(Mb4Metadata Metadata, char *str, int len); 01249 01259 int mb4_metadata_get_created(Mb4Metadata Metadata, char *str, int len); 01260 01268 Mb4Artist mb4_metadata_get_artist(Mb4Metadata Metadata); 01269 01277 Mb4Release mb4_metadata_get_release(Mb4Metadata Metadata); 01278 01286 Mb4ReleaseGroup mb4_metadata_get_releasegroup(Mb4Metadata Metadata); 01287 01295 Mb4Recording mb4_metadata_get_recording(Mb4Metadata Metadata); 01296 01304 Mb4Label mb4_metadata_get_label(Mb4Metadata Metadata); 01305 01313 Mb4Work mb4_metadata_get_work(Mb4Metadata Metadata); 01314 01322 Mb4PUID mb4_metadata_get_puid(Mb4Metadata Metadata); 01323 01331 Mb4ISRC mb4_metadata_get_isrc(Mb4Metadata Metadata); 01332 01340 Mb4Disc mb4_metadata_get_disc(Mb4Metadata Metadata); 01341 01349 Mb4LabelInfoList mb4_metadata_get_labelinfolist(Mb4Metadata Metadata); 01350 01358 Mb4Rating mb4_metadata_get_rating(Mb4Metadata Metadata); 01359 01367 Mb4UserRating mb4_metadata_get_userrating(Mb4Metadata Metadata); 01368 01376 Mb4Collection mb4_metadata_get_collection(Mb4Metadata Metadata); 01377 01385 Mb4ArtistList mb4_metadata_get_artistlist(Mb4Metadata Metadata); 01386 01394 Mb4ReleaseList mb4_metadata_get_releaselist(Mb4Metadata Metadata); 01395 01403 Mb4ReleaseGroupList mb4_metadata_get_releasegrouplist(Mb4Metadata Metadata); 01404 01412 Mb4RecordingList mb4_metadata_get_recordinglist(Mb4Metadata Metadata); 01413 01421 Mb4LabelList mb4_metadata_get_labellist(Mb4Metadata Metadata); 01422 01430 Mb4WorkList mb4_metadata_get_worklist(Mb4Metadata Metadata); 01431 01439 Mb4ISRCList mb4_metadata_get_isrclist(Mb4Metadata Metadata); 01440 01448 Mb4AnnotationList mb4_metadata_get_annotationlist(Mb4Metadata Metadata); 01449 01457 Mb4CDStubList mb4_metadata_get_cdstublist(Mb4Metadata Metadata); 01458 01466 Mb4FreeDBDiscList mb4_metadata_get_freedbdisclist(Mb4Metadata Metadata); 01467 01475 Mb4TagList mb4_metadata_get_taglist(Mb4Metadata Metadata); 01476 01484 Mb4UserTagList mb4_metadata_get_usertaglist(Mb4Metadata Metadata); 01485 01493 Mb4CollectionList mb4_metadata_get_collectionlist(Mb4Metadata Metadata); 01494 01502 Mb4CDStub mb4_metadata_get_cdstub(Mb4Metadata Metadata); 01503 01511 Mb4Message mb4_metadata_get_message(Mb4Metadata Metadata); 01512 01518 void mb4_namecredit_delete(Mb4NameCredit NameCredit); 01519 01528 Mb4NameCredit mb4_namecredit_clone(Mb4NameCredit NameCredit); 01529 01539 int mb4_namecredit_get_joinphrase(Mb4NameCredit NameCredit, char *str, int len); 01540 01550 int mb4_namecredit_get_name(Mb4NameCredit NameCredit, char *str, int len); 01551 01559 Mb4Artist mb4_namecredit_get_artist(Mb4NameCredit NameCredit); 01560 01566 void mb4_nonmbtrack_delete(Mb4NonMBTrack NonMBTrack); 01567 01576 Mb4NonMBTrack mb4_nonmbtrack_clone(Mb4NonMBTrack NonMBTrack); 01577 01587 int mb4_nonmbtrack_get_title(Mb4NonMBTrack NonMBTrack, char *str, int len); 01588 01598 int mb4_nonmbtrack_get_artist(Mb4NonMBTrack NonMBTrack, char *str, int len); 01599 01607 int mb4_nonmbtrack_get_length(Mb4NonMBTrack NonMBTrack); 01608 01614 void mb4_puid_delete(Mb4PUID PUID); 01615 01624 Mb4PUID mb4_puid_clone(Mb4PUID PUID); 01625 01635 int mb4_puid_get_id(Mb4PUID PUID, char *str, int len); 01636 01644 Mb4RecordingList mb4_puid_get_recordinglist(Mb4PUID PUID); 01645 01651 void mb4_query_delete(Mb4Query Query); 01652 01661 Mb4Query mb4_query_clone(Mb4Query Query); 01662 01670 int mb4_query_get_lasthttpcode(Mb4Query Query); 01671 01681 int mb4_query_get_lasterrormessage(Mb4Query Query, char *str, int len); 01682 01683 /* -------------------------------------------------------------------------- 01684 01685 libmusicbrainz4 - Client library to access MusicBrainz 01686 01687 Copyright (C) 2011 Andrew Hawkins 01688 01689 This file is part of libmusicbrainz4. 01690 01691 This library is free software; you can redistribute it and/or 01692 modify it under the terms of v2 of the GNU Lesser General Public 01693 License as published by the Free Software Foundation. 01694 01695 Flactag is distributed in the hope that it will be useful, 01696 but WITHOUT ANY WARRANTY; without even the implied warranty of 01697 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 01698 Lesser General Public License for more details. 01699 01700 You should have received a copy of the GNU General Public License 01701 along with this library. If not, see <http://www.gnu.org/licenses/>. 01702 01703 $Id: c-int-query-defines.inc 13259 2011-08-10 12:02:50Z adhawkins $ 01704 01705 ----------------------------------------------------------------------------*/ 01706 01720 Mb4Query mb4_query_new(const char *UserAgent, const char *Server, int Port); 01721 01730 void mb4_query_set_username(Mb4Query Query, const char *UserName); 01731 01740 void mb4_query_set_password(Mb4Query Query, const char *Password); 01741 01750 void mb4_query_set_proxyhost(Mb4Query Query, const char *ProxyHost); 01751 01760 void mb4_query_set_proxyport(Mb4Query Query, int ProxyPort); 01761 01770 void mb4_query_set_proxyusername(Mb4Query Query, const char *ProxyUserName); 01771 01780 void mb4_query_set_proxypassword(Mb4Query Query, const char *ProxyPassword); 01781 01793 Mb4ReleaseList mb4_query_lookup_discid(Mb4Query Query, const char *DiscID); 01794 01806 Mb4Release mb4_query_lookup_release(Mb4Query Query, const char *Release); 01807 01824 Mb4Metadata mb4_query_query(Mb4Query Query, const char *Entity, const char *ID, const char *Resource, int NumParams, char **ParamNames, char **ParamValues); 01825 01838 unsigned char mb4_query_add_collection_entries(Mb4Query Query, const char *Collection, int NumEntries, const char **Entries); 01839 01852 unsigned char mb4_query_delete_collection_entries(Mb4Query Query, const char *Collection, int NumEntries, const char **Entries); 01853 01858 typedef enum 01859 { 01860 eQuery_Success=0, 01861 eQuery_ConnectionError, 01862 eQuery_Timeout, 01863 eQuery_AuthenticationError, 01864 eQuery_FetchError, 01865 eQuery_RequestError, 01866 eQuery_ResourceNotFound 01867 } tQueryResult; 01868 01876 tQueryResult mb4_query_get_lastresult(Mb4Query Query); 01877 01878 01879 01885 void mb4_rating_delete(Mb4Rating Rating); 01886 01895 Mb4Rating mb4_rating_clone(Mb4Rating Rating); 01896 01904 int mb4_rating_get_votescount(Mb4Rating Rating); 01905 01913 double mb4_rating_get_rating(Mb4Rating Rating); 01914 01920 void mb4_recording_delete(Mb4Recording Recording); 01921 01930 Mb4Recording mb4_recording_clone(Mb4Recording Recording); 01931 01941 int mb4_recording_get_id(Mb4Recording Recording, char *str, int len); 01942 01952 int mb4_recording_get_title(Mb4Recording Recording, char *str, int len); 01953 01961 int mb4_recording_get_length(Mb4Recording Recording); 01962 01972 int mb4_recording_get_disambiguation(Mb4Recording Recording, char *str, int len); 01973 01981 Mb4ArtistCredit mb4_recording_get_artistcredit(Mb4Recording Recording); 01982 01990 Mb4ReleaseList mb4_recording_get_releaselist(Mb4Recording Recording); 01991 01999 Mb4PUIDList mb4_recording_get_puidlist(Mb4Recording Recording); 02000 02008 Mb4ISRCList mb4_recording_get_isrclist(Mb4Recording Recording); 02009 02017 Mb4RelationList mb4_recording_get_relationlist(Mb4Recording Recording); 02018 02026 Mb4TagList mb4_recording_get_taglist(Mb4Recording Recording); 02027 02035 Mb4UserTagList mb4_recording_get_usertaglist(Mb4Recording Recording); 02036 02044 Mb4Rating mb4_recording_get_rating(Mb4Recording Recording); 02045 02053 Mb4UserRating mb4_recording_get_userrating(Mb4Recording Recording); 02054 02060 void mb4_relation_delete(Mb4Relation Relation); 02061 02070 Mb4Relation mb4_relation_clone(Mb4Relation Relation); 02071 02081 int mb4_relation_get_type(Mb4Relation Relation, char *str, int len); 02082 02092 int mb4_relation_get_target(Mb4Relation Relation, char *str, int len); 02093 02103 int mb4_relation_get_direction(Mb4Relation Relation, char *str, int len); 02104 02112 Mb4AttributeList mb4_relation_get_attributelist(Mb4Relation Relation); 02113 02123 int mb4_relation_get_begin(Mb4Relation Relation, char *str, int len); 02124 02134 int mb4_relation_get_end(Mb4Relation Relation, char *str, int len); 02135 02143 Mb4Artist mb4_relation_get_artist(Mb4Relation Relation); 02144 02152 Mb4Release mb4_relation_get_release(Mb4Relation Relation); 02153 02161 Mb4ReleaseGroup mb4_relation_get_releasegroup(Mb4Relation Relation); 02162 02170 Mb4Recording mb4_relation_get_recording(Mb4Relation Relation); 02171 02179 Mb4Label mb4_relation_get_label(Mb4Relation Relation); 02180 02188 Mb4Work mb4_relation_get_work(Mb4Relation Relation); 02189 02195 void mb4_release_delete(Mb4Release Release); 02196 02205 Mb4Release mb4_release_clone(Mb4Release Release); 02206 02216 int mb4_release_get_id(Mb4Release Release, char *str, int len); 02217 02227 int mb4_release_get_title(Mb4Release Release, char *str, int len); 02228 02238 int mb4_release_get_status(Mb4Release Release, char *str, int len); 02239 02249 int mb4_release_get_quality(Mb4Release Release, char *str, int len); 02250 02260 int mb4_release_get_disambiguation(Mb4Release Release, char *str, int len); 02261 02271 int mb4_release_get_packaging(Mb4Release Release, char *str, int len); 02272 02280 Mb4TextRepresentation mb4_release_get_textrepresentation(Mb4Release Release); 02281 02289 Mb4ArtistCredit mb4_release_get_artistcredit(Mb4Release Release); 02290 02298 Mb4ReleaseGroup mb4_release_get_releasegroup(Mb4Release Release); 02299 02309 int mb4_release_get_date(Mb4Release Release, char *str, int len); 02310 02320 int mb4_release_get_country(Mb4Release Release, char *str, int len); 02321 02331 int mb4_release_get_barcode(Mb4Release Release, char *str, int len); 02332 02342 int mb4_release_get_asin(Mb4Release Release, char *str, int len); 02343 02351 Mb4LabelInfoList mb4_release_get_labelinfolist(Mb4Release Release); 02352 02360 Mb4MediumList mb4_release_get_mediumlist(Mb4Release Release); 02361 02369 Mb4RelationList mb4_release_get_relationlist(Mb4Release Release); 02370 02378 Mb4CollectionList mb4_release_get_collectionlist(Mb4Release Release); 02379 02380 /* -------------------------------------------------------------------------- 02381 02382 libmusicbrainz4 - Client library to access MusicBrainz 02383 02384 Copyright (C) 2011 Andrew Hawkins 02385 02386 This file is part of libmusicbrainz4. 02387 02388 This library is free software; you can redistribute it and/or 02389 modify it under the terms of v2 of the GNU Lesser General Public 02390 License as published by the Free Software Foundation. 02391 02392 Flactag is distributed in the hope that it will be useful, 02393 but WITHOUT ANY WARRANTY; without even the implied warranty of 02394 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 02395 Lesser General Public License for more details. 02396 02397 You should have received a copy of the GNU General Public License 02398 along with this library. If not, see <http://www.gnu.org/licenses/>. 02399 02400 $Id: c-int-release-defines.inc 13259 2011-08-10 12:02:50Z adhawkins $ 02401 02402 ----------------------------------------------------------------------------*/ 02403 02413 Mb4MediumList mb4_release_media_matching_discid(Mb4Release Release, const char *DiscID); 02414 02415 02416 02422 void mb4_releasegroup_delete(Mb4ReleaseGroup ReleaseGroup); 02423 02432 Mb4ReleaseGroup mb4_releasegroup_clone(Mb4ReleaseGroup ReleaseGroup); 02433 02443 int mb4_releasegroup_get_id(Mb4ReleaseGroup ReleaseGroup, char *str, int len); 02444 02454 int mb4_releasegroup_get_type(Mb4ReleaseGroup ReleaseGroup, char *str, int len); 02455 02465 int mb4_releasegroup_get_title(Mb4ReleaseGroup ReleaseGroup, char *str, int len); 02466 02476 int mb4_releasegroup_get_disambiguation(Mb4ReleaseGroup ReleaseGroup, char *str, int len); 02477 02487 int mb4_releasegroup_get_firstreleasedate(Mb4ReleaseGroup ReleaseGroup, char *str, int len); 02488 02496 Mb4ArtistCredit mb4_releasegroup_get_artistcredit(Mb4ReleaseGroup ReleaseGroup); 02497 02505 Mb4ReleaseList mb4_releasegroup_get_releaselist(Mb4ReleaseGroup ReleaseGroup); 02506 02514 Mb4RelationList mb4_releasegroup_get_relationlist(Mb4ReleaseGroup ReleaseGroup); 02515 02523 Mb4TagList mb4_releasegroup_get_taglist(Mb4ReleaseGroup ReleaseGroup); 02524 02532 Mb4UserTagList mb4_releasegroup_get_usertaglist(Mb4ReleaseGroup ReleaseGroup); 02533 02541 Mb4Rating mb4_releasegroup_get_rating(Mb4ReleaseGroup ReleaseGroup); 02542 02550 Mb4UserRating mb4_releasegroup_get_userrating(Mb4ReleaseGroup ReleaseGroup); 02551 02557 void mb4_tag_delete(Mb4Tag Tag); 02558 02567 Mb4Tag mb4_tag_clone(Mb4Tag Tag); 02568 02576 int mb4_tag_get_count(Mb4Tag Tag); 02577 02587 int mb4_tag_get_name(Mb4Tag Tag, char *str, int len); 02588 02594 void mb4_textrepresentation_delete(Mb4TextRepresentation TextRepresentation); 02595 02604 Mb4TextRepresentation mb4_textrepresentation_clone(Mb4TextRepresentation TextRepresentation); 02605 02615 int mb4_textrepresentation_get_language(Mb4TextRepresentation TextRepresentation, char *str, int len); 02616 02626 int mb4_textrepresentation_get_script(Mb4TextRepresentation TextRepresentation, char *str, int len); 02627 02633 void mb4_track_delete(Mb4Track Track); 02634 02643 Mb4Track mb4_track_clone(Mb4Track Track); 02644 02652 int mb4_track_get_position(Mb4Track Track); 02653 02663 int mb4_track_get_title(Mb4Track Track, char *str, int len); 02664 02672 Mb4Recording mb4_track_get_recording(Mb4Track Track); 02673 02681 int mb4_track_get_length(Mb4Track Track); 02682 02690 Mb4ArtistCredit mb4_track_get_artistcredit(Mb4Track Track); 02691 02697 void mb4_userrating_delete(Mb4UserRating UserRating); 02698 02707 Mb4UserRating mb4_userrating_clone(Mb4UserRating UserRating); 02708 02716 int mb4_userrating_get_userrating(Mb4UserRating UserRating); 02717 02723 void mb4_usertag_delete(Mb4UserTag UserTag); 02724 02733 Mb4UserTag mb4_usertag_clone(Mb4UserTag UserTag); 02734 02744 int mb4_usertag_get_name(Mb4UserTag UserTag, char *str, int len); 02745 02751 void mb4_work_delete(Mb4Work Work); 02752 02761 Mb4Work mb4_work_clone(Mb4Work Work); 02762 02772 int mb4_work_get_id(Mb4Work Work, char *str, int len); 02773 02783 int mb4_work_get_type(Mb4Work Work, char *str, int len); 02784 02794 int mb4_work_get_title(Mb4Work Work, char *str, int len); 02795 02803 Mb4ArtistCredit mb4_work_get_artistcredit(Mb4Work Work); 02804 02814 int mb4_work_get_iswc(Mb4Work Work, char *str, int len); 02815 02825 int mb4_work_get_disambiguation(Mb4Work Work, char *str, int len); 02826 02834 Mb4AliasList mb4_work_get_aliaslist(Mb4Work Work); 02835 02843 Mb4RelationList mb4_work_get_relationlist(Mb4Work Work); 02844 02852 Mb4TagList mb4_work_get_taglist(Mb4Work Work); 02853 02861 Mb4UserTagList mb4_work_get_usertaglist(Mb4Work Work); 02862 02870 Mb4Rating mb4_work_get_rating(Mb4Work Work); 02871 02879 Mb4UserRating mb4_work_get_userrating(Mb4Work Work); 02880 02886 void mb4_alias_list_delete(Mb4AliasList List); 02887 02893 int mb4_alias_list_size(Mb4AliasList List); 02894 02903 Mb4Alias mb4_alias_list_item(Mb4AliasList List, int Item); 02904 02910 int mb4_alias_list_get_count(Mb4AliasList List); 02911 02917 int mb4_alias_list_get_offset(Mb4AliasList List); 02918 02927 Mb4AliasList mb4_alias_list_clone(Mb4AliasList AliasList); 02928 02934 void mb4_annotation_list_delete(Mb4AnnotationList List); 02935 02941 int mb4_annotation_list_size(Mb4AnnotationList List); 02942 02951 Mb4Annotation mb4_annotation_list_item(Mb4AnnotationList List, int Item); 02952 02958 int mb4_annotation_list_get_count(Mb4AnnotationList List); 02959 02965 int mb4_annotation_list_get_offset(Mb4AnnotationList List); 02966 02975 Mb4AnnotationList mb4_annotation_list_clone(Mb4AnnotationList AnnotationList); 02976 02982 void mb4_artist_list_delete(Mb4ArtistList List); 02983 02989 int mb4_artist_list_size(Mb4ArtistList List); 02990 02999 Mb4Artist mb4_artist_list_item(Mb4ArtistList List, int Item); 03000 03006 int mb4_artist_list_get_count(Mb4ArtistList List); 03007 03013 int mb4_artist_list_get_offset(Mb4ArtistList List); 03014 03023 Mb4ArtistList mb4_artist_list_clone(Mb4ArtistList ArtistList); 03024 03030 void mb4_attribute_list_delete(Mb4AttributeList List); 03031 03037 int mb4_attribute_list_size(Mb4AttributeList List); 03038 03047 Mb4Attribute mb4_attribute_list_item(Mb4AttributeList List, int Item); 03048 03054 int mb4_attribute_list_get_count(Mb4AttributeList List); 03055 03061 int mb4_attribute_list_get_offset(Mb4AttributeList List); 03062 03071 Mb4AttributeList mb4_attribute_list_clone(Mb4AttributeList AttributeList); 03072 03078 void mb4_cdstub_list_delete(Mb4CDStubList List); 03079 03085 int mb4_cdstub_list_size(Mb4CDStubList List); 03086 03095 Mb4CDStub mb4_cdstub_list_item(Mb4CDStubList List, int Item); 03096 03102 int mb4_cdstub_list_get_count(Mb4CDStubList List); 03103 03109 int mb4_cdstub_list_get_offset(Mb4CDStubList List); 03110 03119 Mb4CDStubList mb4_cdstub_list_clone(Mb4CDStubList CDStubList); 03120 03126 void mb4_collection_list_delete(Mb4CollectionList List); 03127 03133 int mb4_collection_list_size(Mb4CollectionList List); 03134 03143 Mb4Collection mb4_collection_list_item(Mb4CollectionList List, int Item); 03144 03150 int mb4_collection_list_get_count(Mb4CollectionList List); 03151 03157 int mb4_collection_list_get_offset(Mb4CollectionList List); 03158 03167 Mb4CollectionList mb4_collection_list_clone(Mb4CollectionList CollectionList); 03168 03174 void mb4_disc_list_delete(Mb4DiscList List); 03175 03181 int mb4_disc_list_size(Mb4DiscList List); 03182 03191 Mb4Disc mb4_disc_list_item(Mb4DiscList List, int Item); 03192 03198 int mb4_disc_list_get_count(Mb4DiscList List); 03199 03205 int mb4_disc_list_get_offset(Mb4DiscList List); 03206 03215 Mb4DiscList mb4_disc_list_clone(Mb4DiscList DiscList); 03216 03222 void mb4_freedbdisc_list_delete(Mb4FreeDBDiscList List); 03223 03229 int mb4_freedbdisc_list_size(Mb4FreeDBDiscList List); 03230 03239 Mb4FreeDBDisc mb4_freedbdisc_list_item(Mb4FreeDBDiscList List, int Item); 03240 03246 int mb4_freedbdisc_list_get_count(Mb4FreeDBDiscList List); 03247 03253 int mb4_freedbdisc_list_get_offset(Mb4FreeDBDiscList List); 03254 03263 Mb4FreeDBDiscList mb4_freedbdisc_list_clone(Mb4FreeDBDiscList FreeDBDiscList); 03264 03270 void mb4_isrc_list_delete(Mb4ISRCList List); 03271 03277 int mb4_isrc_list_size(Mb4ISRCList List); 03278 03287 Mb4ISRC mb4_isrc_list_item(Mb4ISRCList List, int Item); 03288 03294 int mb4_isrc_list_get_count(Mb4ISRCList List); 03295 03301 int mb4_isrc_list_get_offset(Mb4ISRCList List); 03302 03311 Mb4ISRCList mb4_isrc_list_clone(Mb4ISRCList ISRCList); 03312 03318 void mb4_label_list_delete(Mb4LabelList List); 03319 03325 int mb4_label_list_size(Mb4LabelList List); 03326 03335 Mb4Label mb4_label_list_item(Mb4LabelList List, int Item); 03336 03342 int mb4_label_list_get_count(Mb4LabelList List); 03343 03349 int mb4_label_list_get_offset(Mb4LabelList List); 03350 03359 Mb4LabelList mb4_label_list_clone(Mb4LabelList LabelList); 03360 03366 void mb4_labelinfo_list_delete(Mb4LabelInfoList List); 03367 03373 int mb4_labelinfo_list_size(Mb4LabelInfoList List); 03374 03383 Mb4LabelInfo mb4_labelinfo_list_item(Mb4LabelInfoList List, int Item); 03384 03390 int mb4_labelinfo_list_get_count(Mb4LabelInfoList List); 03391 03397 int mb4_labelinfo_list_get_offset(Mb4LabelInfoList List); 03398 03407 Mb4LabelInfoList mb4_labelinfo_list_clone(Mb4LabelInfoList LabelInfoList); 03408 03414 void mb4_medium_list_delete(Mb4MediumList List); 03415 03421 int mb4_medium_list_size(Mb4MediumList List); 03422 03431 Mb4Medium mb4_medium_list_item(Mb4MediumList List, int Item); 03432 03438 int mb4_medium_list_get_count(Mb4MediumList List); 03439 03445 int mb4_medium_list_get_offset(Mb4MediumList List); 03446 03455 Mb4MediumList mb4_medium_list_clone(Mb4MediumList MediumList); 03456 03464 int mb4_medium_list_get_trackcount(Mb4MediumList List); 03465 03471 void mb4_namecredit_list_delete(Mb4NameCreditList List); 03472 03478 int mb4_namecredit_list_size(Mb4NameCreditList List); 03479 03488 Mb4NameCredit mb4_namecredit_list_item(Mb4NameCreditList List, int Item); 03489 03495 int mb4_namecredit_list_get_count(Mb4NameCreditList List); 03496 03502 int mb4_namecredit_list_get_offset(Mb4NameCreditList List); 03503 03512 Mb4NameCreditList mb4_namecredit_list_clone(Mb4NameCreditList NameCreditList); 03513 03519 void mb4_nonmbtrack_list_delete(Mb4NonMBTrackList List); 03520 03526 int mb4_nonmbtrack_list_size(Mb4NonMBTrackList List); 03527 03536 Mb4NonMBTrack mb4_nonmbtrack_list_item(Mb4NonMBTrackList List, int Item); 03537 03543 int mb4_nonmbtrack_list_get_count(Mb4NonMBTrackList List); 03544 03550 int mb4_nonmbtrack_list_get_offset(Mb4NonMBTrackList List); 03551 03560 Mb4NonMBTrackList mb4_nonmbtrack_list_clone(Mb4NonMBTrackList NonMBTrackList); 03561 03567 void mb4_puid_list_delete(Mb4PUIDList List); 03568 03574 int mb4_puid_list_size(Mb4PUIDList List); 03575 03584 Mb4PUID mb4_puid_list_item(Mb4PUIDList List, int Item); 03585 03591 int mb4_puid_list_get_count(Mb4PUIDList List); 03592 03598 int mb4_puid_list_get_offset(Mb4PUIDList List); 03599 03608 Mb4PUIDList mb4_puid_list_clone(Mb4PUIDList PUIDList); 03609 03615 void mb4_recording_list_delete(Mb4RecordingList List); 03616 03622 int mb4_recording_list_size(Mb4RecordingList List); 03623 03632 Mb4Recording mb4_recording_list_item(Mb4RecordingList List, int Item); 03633 03639 int mb4_recording_list_get_count(Mb4RecordingList List); 03640 03646 int mb4_recording_list_get_offset(Mb4RecordingList List); 03647 03656 Mb4RecordingList mb4_recording_list_clone(Mb4RecordingList RecordingList); 03657 03663 void mb4_relation_list_delete(Mb4RelationList List); 03664 03670 int mb4_relation_list_size(Mb4RelationList List); 03671 03680 Mb4Relation mb4_relation_list_item(Mb4RelationList List, int Item); 03681 03687 int mb4_relation_list_get_count(Mb4RelationList List); 03688 03694 int mb4_relation_list_get_offset(Mb4RelationList List); 03695 03704 Mb4RelationList mb4_relation_list_clone(Mb4RelationList RelationList); 03705 03715 int mb4_relation_list_get_targettype(Mb4RelationList List, char *str, int len); 03716 03722 void mb4_release_list_delete(Mb4ReleaseList List); 03723 03729 int mb4_release_list_size(Mb4ReleaseList List); 03730 03739 Mb4Release mb4_release_list_item(Mb4ReleaseList List, int Item); 03740 03746 int mb4_release_list_get_count(Mb4ReleaseList List); 03747 03753 int mb4_release_list_get_offset(Mb4ReleaseList List); 03754 03763 Mb4ReleaseList mb4_release_list_clone(Mb4ReleaseList ReleaseList); 03764 03770 void mb4_releasegroup_list_delete(Mb4ReleaseGroupList List); 03771 03777 int mb4_releasegroup_list_size(Mb4ReleaseGroupList List); 03778 03787 Mb4ReleaseGroup mb4_releasegroup_list_item(Mb4ReleaseGroupList List, int Item); 03788 03794 int mb4_releasegroup_list_get_count(Mb4ReleaseGroupList List); 03795 03801 int mb4_releasegroup_list_get_offset(Mb4ReleaseGroupList List); 03802 03811 Mb4ReleaseGroupList mb4_releasegroup_list_clone(Mb4ReleaseGroupList ReleaseGroupList); 03812 03818 void mb4_tag_list_delete(Mb4TagList List); 03819 03825 int mb4_tag_list_size(Mb4TagList List); 03826 03835 Mb4Tag mb4_tag_list_item(Mb4TagList List, int Item); 03836 03842 int mb4_tag_list_get_count(Mb4TagList List); 03843 03849 int mb4_tag_list_get_offset(Mb4TagList List); 03850 03859 Mb4TagList mb4_tag_list_clone(Mb4TagList TagList); 03860 03866 void mb4_track_list_delete(Mb4TrackList List); 03867 03873 int mb4_track_list_size(Mb4TrackList List); 03874 03883 Mb4Track mb4_track_list_item(Mb4TrackList List, int Item); 03884 03890 int mb4_track_list_get_count(Mb4TrackList List); 03891 03897 int mb4_track_list_get_offset(Mb4TrackList List); 03898 03907 Mb4TrackList mb4_track_list_clone(Mb4TrackList TrackList); 03908 03914 void mb4_usertag_list_delete(Mb4UserTagList List); 03915 03921 int mb4_usertag_list_size(Mb4UserTagList List); 03922 03931 Mb4UserTag mb4_usertag_list_item(Mb4UserTagList List, int Item); 03932 03938 int mb4_usertag_list_get_count(Mb4UserTagList List); 03939 03945 int mb4_usertag_list_get_offset(Mb4UserTagList List); 03946 03955 Mb4UserTagList mb4_usertag_list_clone(Mb4UserTagList UserTagList); 03956 03962 void mb4_work_list_delete(Mb4WorkList List); 03963 03969 int mb4_work_list_size(Mb4WorkList List); 03970 03979 Mb4Work mb4_work_list_item(Mb4WorkList List, int Item); 03980 03986 int mb4_work_list_get_count(Mb4WorkList List); 03987 03993 int mb4_work_list_get_offset(Mb4WorkList List); 03994 04003 Mb4WorkList mb4_work_list_clone(Mb4WorkList WorkList); 04004 04005 #ifdef __cplusplus 04006 } 04007 #endif 04008 04009 #endif 04010