libmusicbrainz5
5.0.1
|
00001 /* -------------------------------------------------------------------------- 00002 00003 libmusicbrainz5 - Client library to access MusicBrainz 00004 00005 Copyright (C) 2012 Andrew Hawkins 00006 00007 This file is part of libmusicbrainz5. 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 libmusicbrainz5 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 mb5_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 mb5_query_xxx() functions 00031 * The return from mb5_release_media_matching_discid() function 00032 * The return from any mb5_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 _MUSICBRAINZ5_MB_C_H 00042 #define _MUSICBRAINZ5_MB_C_H 00043 00044 #include "musicbrainz5/defines.h" 00045 00046 #ifdef __cplusplus 00047 extern "C" 00048 { 00049 #endif 00050 00051 typedef void *Mb5Entity; 00052 typedef void *Mb5Alias; 00053 typedef void *Mb5Annotation; 00054 typedef void *Mb5Artist; 00055 typedef void *Mb5ArtistCredit; 00056 typedef void *Mb5Attribute; 00057 typedef void *Mb5CDStub; 00058 typedef void *Mb5Collection; 00059 typedef void *Mb5Disc; 00060 typedef void *Mb5FreeDBDisc; 00061 typedef void *Mb5IPI; 00062 typedef void *Mb5ISRC; 00063 typedef void *Mb5ISWC; 00064 typedef void *Mb5Label; 00065 typedef void *Mb5LabelInfo; 00066 typedef void *Mb5Lifespan; 00067 typedef void *Mb5Medium; 00068 typedef void *Mb5Message; 00069 typedef void *Mb5Metadata; 00070 typedef void *Mb5NameCredit; 00071 typedef void *Mb5NonMBTrack; 00072 typedef void *Mb5PUID; 00073 typedef void *Mb5Query; 00074 typedef void *Mb5Rating; 00075 typedef void *Mb5Recording; 00076 typedef void *Mb5Relation; 00077 typedef void *Mb5Release; 00078 typedef void *Mb5ReleaseGroup; 00079 typedef void *Mb5SecondaryType; 00080 typedef void *Mb5Tag; 00081 typedef void *Mb5TextRepresentation; 00082 typedef void *Mb5Track; 00083 typedef void *Mb5UserRating; 00084 typedef void *Mb5UserTag; 00085 typedef void *Mb5Work; 00086 typedef void *Mb5AliasList; 00087 typedef void *Mb5AnnotationList; 00088 typedef void *Mb5ArtistList; 00089 typedef void *Mb5AttributeList; 00090 typedef void *Mb5CDStubList; 00091 typedef void *Mb5CollectionList; 00092 typedef void *Mb5DiscList; 00093 typedef void *Mb5FreeDBDiscList; 00094 typedef void *Mb5IPIList; 00095 typedef void *Mb5ISRCList; 00096 typedef void *Mb5ISWCList; 00097 typedef void *Mb5LabelList; 00098 typedef void *Mb5LabelInfoList; 00099 typedef void *Mb5MediumList; 00100 typedef void *Mb5NameCreditList; 00101 typedef void *Mb5NonMBTrackList; 00102 typedef void *Mb5PUIDList; 00103 typedef void *Mb5RecordingList; 00104 typedef void *Mb5RelationList; 00105 typedef void *Mb5RelationListList; 00106 typedef void *Mb5ReleaseList; 00107 typedef void *Mb5ReleaseGroupList; 00108 typedef void *Mb5SecondaryTypeList; 00109 typedef void *Mb5TagList; 00110 typedef void *Mb5TrackList; 00111 typedef void *Mb5UserTagList; 00112 typedef void *Mb5WorkList; 00113 00121 int mb5_entity_ext_attributes_size(Mb5Entity Entity); 00122 00133 int mb5_entity_ext_attribute_name(Mb5Entity Entity, int Item, char *str, int len); 00134 00145 int mb5_entity_ext_attribute_value(Mb5Entity Entity, int Item, char *str, int len); 00146 00154 int mb5_entity_ext_elements_size(Mb5Entity Entity); 00155 00166 int mb5_entity_ext_element_name(Mb5Entity Entity, int Item, char *str, int len); 00167 00178 int mb5_entity_ext_element_value(Mb5Entity Entity, int Item, char *str, int len); 00179 00185 void mb5_alias_delete(Mb5Alias Alias); 00186 00195 Mb5Alias mb5_alias_clone(Mb5Alias Alias); 00196 00206 int mb5_alias_get_locale(Mb5Alias Alias, char *str, int len); 00207 00217 int mb5_alias_get_text(Mb5Alias Alias, char *str, int len); 00218 00228 int mb5_alias_get_sortname(Mb5Alias Alias, char *str, int len); 00229 00239 int mb5_alias_get_type(Mb5Alias Alias, char *str, int len); 00240 00250 int mb5_alias_get_primary(Mb5Alias Alias, char *str, int len); 00251 00261 int mb5_alias_get_begindate(Mb5Alias Alias, char *str, int len); 00262 00272 int mb5_alias_get_enddate(Mb5Alias Alias, char *str, int len); 00273 00279 void mb5_annotation_delete(Mb5Annotation Annotation); 00280 00289 Mb5Annotation mb5_annotation_clone(Mb5Annotation Annotation); 00290 00300 int mb5_annotation_get_type(Mb5Annotation Annotation, char *str, int len); 00301 00311 int mb5_annotation_get_entity(Mb5Annotation Annotation, char *str, int len); 00312 00322 int mb5_annotation_get_name(Mb5Annotation Annotation, char *str, int len); 00323 00333 int mb5_annotation_get_text(Mb5Annotation Annotation, char *str, int len); 00334 00340 void mb5_artist_delete(Mb5Artist Artist); 00341 00350 Mb5Artist mb5_artist_clone(Mb5Artist Artist); 00351 00361 int mb5_artist_get_id(Mb5Artist Artist, char *str, int len); 00362 00372 int mb5_artist_get_type(Mb5Artist Artist, char *str, int len); 00373 00383 int mb5_artist_get_name(Mb5Artist Artist, char *str, int len); 00384 00394 int mb5_artist_get_sortname(Mb5Artist Artist, char *str, int len); 00395 00405 int mb5_artist_get_gender(Mb5Artist Artist, char *str, int len); 00406 00416 int mb5_artist_get_country(Mb5Artist Artist, char *str, int len); 00417 00427 int mb5_artist_get_disambiguation(Mb5Artist Artist, char *str, int len); 00428 00436 Mb5IPIList mb5_artist_get_ipilist(Mb5Artist Artist); 00437 00445 Mb5Lifespan mb5_artist_get_lifespan(Mb5Artist Artist); 00446 00454 Mb5AliasList mb5_artist_get_aliaslist(Mb5Artist Artist); 00455 00463 Mb5RecordingList mb5_artist_get_recordinglist(Mb5Artist Artist); 00464 00472 Mb5ReleaseList mb5_artist_get_releaselist(Mb5Artist Artist); 00473 00481 Mb5ReleaseGroupList mb5_artist_get_releasegrouplist(Mb5Artist Artist); 00482 00490 Mb5LabelList mb5_artist_get_labellist(Mb5Artist Artist); 00491 00499 Mb5WorkList mb5_artist_get_worklist(Mb5Artist Artist); 00500 00508 Mb5RelationListList mb5_artist_get_relationlistlist(Mb5Artist Artist); 00509 00517 Mb5TagList mb5_artist_get_taglist(Mb5Artist Artist); 00518 00526 Mb5UserTagList mb5_artist_get_usertaglist(Mb5Artist Artist); 00527 00535 Mb5Rating mb5_artist_get_rating(Mb5Artist Artist); 00536 00544 Mb5UserRating mb5_artist_get_userrating(Mb5Artist Artist); 00545 00551 void mb5_artistcredit_delete(Mb5ArtistCredit ArtistCredit); 00552 00561 Mb5ArtistCredit mb5_artistcredit_clone(Mb5ArtistCredit ArtistCredit); 00562 00570 Mb5NameCreditList mb5_artistcredit_get_namecreditlist(Mb5ArtistCredit ArtistCredit); 00571 00577 void mb5_attribute_delete(Mb5Attribute Attribute); 00578 00587 Mb5Attribute mb5_attribute_clone(Mb5Attribute Attribute); 00588 00598 int mb5_attribute_get_text(Mb5Attribute Attribute, char *str, int len); 00599 00605 void mb5_cdstub_delete(Mb5CDStub CDStub); 00606 00615 Mb5CDStub mb5_cdstub_clone(Mb5CDStub CDStub); 00616 00626 int mb5_cdstub_get_id(Mb5CDStub CDStub, char *str, int len); 00627 00637 int mb5_cdstub_get_title(Mb5CDStub CDStub, char *str, int len); 00638 00648 int mb5_cdstub_get_artist(Mb5CDStub CDStub, char *str, int len); 00649 00659 int mb5_cdstub_get_barcode(Mb5CDStub CDStub, char *str, int len); 00660 00670 int mb5_cdstub_get_comment(Mb5CDStub CDStub, char *str, int len); 00671 00679 Mb5NonMBTrackList mb5_cdstub_get_nonmbtracklist(Mb5CDStub CDStub); 00680 00686 void mb5_collection_delete(Mb5Collection Collection); 00687 00696 Mb5Collection mb5_collection_clone(Mb5Collection Collection); 00697 00707 int mb5_collection_get_id(Mb5Collection Collection, char *str, int len); 00708 00718 int mb5_collection_get_name(Mb5Collection Collection, char *str, int len); 00719 00729 int mb5_collection_get_editor(Mb5Collection Collection, char *str, int len); 00730 00738 Mb5ReleaseList mb5_collection_get_releaselist(Mb5Collection Collection); 00739 00745 void mb5_disc_delete(Mb5Disc Disc); 00746 00755 Mb5Disc mb5_disc_clone(Mb5Disc Disc); 00756 00766 int mb5_disc_get_id(Mb5Disc Disc, char *str, int len); 00767 00775 int mb5_disc_get_sectors(Mb5Disc Disc); 00776 00784 Mb5ReleaseList mb5_disc_get_releaselist(Mb5Disc Disc); 00785 00791 void mb5_freedbdisc_delete(Mb5FreeDBDisc FreeDBDisc); 00792 00801 Mb5FreeDBDisc mb5_freedbdisc_clone(Mb5FreeDBDisc FreeDBDisc); 00802 00812 int mb5_freedbdisc_get_id(Mb5FreeDBDisc FreeDBDisc, char *str, int len); 00813 00823 int mb5_freedbdisc_get_title(Mb5FreeDBDisc FreeDBDisc, char *str, int len); 00824 00834 int mb5_freedbdisc_get_artist(Mb5FreeDBDisc FreeDBDisc, char *str, int len); 00835 00845 int mb5_freedbdisc_get_category(Mb5FreeDBDisc FreeDBDisc, char *str, int len); 00846 00856 int mb5_freedbdisc_get_year(Mb5FreeDBDisc FreeDBDisc, char *str, int len); 00857 00865 Mb5NonMBTrackList mb5_freedbdisc_get_nonmbtracklist(Mb5FreeDBDisc FreeDBDisc); 00866 00872 void mb5_ipi_delete(Mb5IPI IPI); 00873 00882 Mb5IPI mb5_ipi_clone(Mb5IPI IPI); 00883 00893 int mb5_ipi_get_ipi(Mb5IPI IPI, char *str, int len); 00894 00900 void mb5_isrc_delete(Mb5ISRC ISRC); 00901 00910 Mb5ISRC mb5_isrc_clone(Mb5ISRC ISRC); 00911 00921 int mb5_isrc_get_id(Mb5ISRC ISRC, char *str, int len); 00922 00930 Mb5RecordingList mb5_isrc_get_recordinglist(Mb5ISRC ISRC); 00931 00937 void mb5_iswc_delete(Mb5ISWC ISWC); 00938 00947 Mb5ISWC mb5_iswc_clone(Mb5ISWC ISWC); 00948 00958 int mb5_iswc_get_iswc(Mb5ISWC ISWC, char *str, int len); 00959 00965 void mb5_label_delete(Mb5Label Label); 00966 00975 Mb5Label mb5_label_clone(Mb5Label Label); 00976 00986 int mb5_label_get_id(Mb5Label Label, char *str, int len); 00987 00997 int mb5_label_get_type(Mb5Label Label, char *str, int len); 00998 01008 int mb5_label_get_name(Mb5Label Label, char *str, int len); 01009 01019 int mb5_label_get_sortname(Mb5Label Label, char *str, int len); 01020 01028 int mb5_label_get_labelcode(Mb5Label Label); 01029 01037 Mb5IPIList mb5_label_get_ipilist(Mb5Label Label); 01038 01048 int mb5_label_get_disambiguation(Mb5Label Label, char *str, int len); 01049 01059 int mb5_label_get_country(Mb5Label Label, char *str, int len); 01060 01068 Mb5Lifespan mb5_label_get_lifespan(Mb5Label Label); 01069 01077 Mb5AliasList mb5_label_get_aliaslist(Mb5Label Label); 01078 01086 Mb5ReleaseList mb5_label_get_releaselist(Mb5Label Label); 01087 01095 Mb5RelationListList mb5_label_get_relationlistlist(Mb5Label Label); 01096 01104 Mb5TagList mb5_label_get_taglist(Mb5Label Label); 01105 01113 Mb5UserTagList mb5_label_get_usertaglist(Mb5Label Label); 01114 01122 Mb5Rating mb5_label_get_rating(Mb5Label Label); 01123 01131 Mb5UserRating mb5_label_get_userrating(Mb5Label Label); 01132 01138 void mb5_labelinfo_delete(Mb5LabelInfo LabelInfo); 01139 01148 Mb5LabelInfo mb5_labelinfo_clone(Mb5LabelInfo LabelInfo); 01149 01159 int mb5_labelinfo_get_catalognumber(Mb5LabelInfo LabelInfo, char *str, int len); 01160 01168 Mb5Label mb5_labelinfo_get_label(Mb5LabelInfo LabelInfo); 01169 01175 void mb5_lifespan_delete(Mb5Lifespan Lifespan); 01176 01185 Mb5Lifespan mb5_lifespan_clone(Mb5Lifespan Lifespan); 01186 01196 int mb5_lifespan_get_begin(Mb5Lifespan Lifespan, char *str, int len); 01197 01207 int mb5_lifespan_get_end(Mb5Lifespan Lifespan, char *str, int len); 01208 01218 int mb5_lifespan_get_ended(Mb5Lifespan Lifespan, char *str, int len); 01219 01225 void mb5_medium_delete(Mb5Medium Medium); 01226 01235 Mb5Medium mb5_medium_clone(Mb5Medium Medium); 01236 01246 int mb5_medium_get_title(Mb5Medium Medium, char *str, int len); 01247 01255 int mb5_medium_get_position(Mb5Medium Medium); 01256 01266 int mb5_medium_get_format(Mb5Medium Medium, char *str, int len); 01267 01275 Mb5DiscList mb5_medium_get_disclist(Mb5Medium Medium); 01276 01284 Mb5TrackList mb5_medium_get_tracklist(Mb5Medium Medium); 01285 01286 /* -------------------------------------------------------------------------- 01287 01288 libmusicbrainz5 - Client library to access MusicBrainz 01289 01290 Copyright (C) 2012 Andrew Hawkins 01291 01292 This file is part of libmusicbrainz5. 01293 01294 This library is free software; you can redistribute it and/or 01295 modify it under the terms of v2 of the GNU Lesser General Public 01296 License as published by the Free Software Foundation. 01297 01298 libmusicbrainz5 is distributed in the hope that it will be useful, 01299 but WITHOUT ANY WARRANTY; without even the implied warranty of 01300 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 01301 Lesser General Public License for more details. 01302 01303 You should have received a copy of the GNU General Public License 01304 along with this library. If not, see <http://www.gnu.org/licenses/>. 01305 01306 $Id$ 01307 01308 ----------------------------------------------------------------------------*/ 01309 01318 unsigned char mb5_medium_contains_discid(Mb5Medium Medium, const char *DiscID); 01319 01320 01326 void mb5_message_delete(Mb5Message Message); 01327 01336 Mb5Message mb5_message_clone(Mb5Message Message); 01337 01347 int mb5_message_get_text(Mb5Message Message, char *str, int len); 01348 01354 void mb5_metadata_delete(Mb5Metadata Metadata); 01355 01364 Mb5Metadata mb5_metadata_clone(Mb5Metadata Metadata); 01365 01375 int mb5_metadata_get_xmlns(Mb5Metadata Metadata, char *str, int len); 01376 01386 int mb5_metadata_get_xmlnsext(Mb5Metadata Metadata, char *str, int len); 01387 01397 int mb5_metadata_get_generator(Mb5Metadata Metadata, char *str, int len); 01398 01408 int mb5_metadata_get_created(Mb5Metadata Metadata, char *str, int len); 01409 01417 Mb5Artist mb5_metadata_get_artist(Mb5Metadata Metadata); 01418 01426 Mb5Release mb5_metadata_get_release(Mb5Metadata Metadata); 01427 01435 Mb5ReleaseGroup mb5_metadata_get_releasegroup(Mb5Metadata Metadata); 01436 01444 Mb5Recording mb5_metadata_get_recording(Mb5Metadata Metadata); 01445 01453 Mb5Label mb5_metadata_get_label(Mb5Metadata Metadata); 01454 01462 Mb5Work mb5_metadata_get_work(Mb5Metadata Metadata); 01463 01471 Mb5PUID mb5_metadata_get_puid(Mb5Metadata Metadata); 01472 01480 Mb5ISRC mb5_metadata_get_isrc(Mb5Metadata Metadata); 01481 01489 Mb5Disc mb5_metadata_get_disc(Mb5Metadata Metadata); 01490 01498 Mb5LabelInfoList mb5_metadata_get_labelinfolist(Mb5Metadata Metadata); 01499 01507 Mb5Rating mb5_metadata_get_rating(Mb5Metadata Metadata); 01508 01516 Mb5UserRating mb5_metadata_get_userrating(Mb5Metadata Metadata); 01517 01525 Mb5Collection mb5_metadata_get_collection(Mb5Metadata Metadata); 01526 01534 Mb5ArtistList mb5_metadata_get_artistlist(Mb5Metadata Metadata); 01535 01543 Mb5ReleaseList mb5_metadata_get_releaselist(Mb5Metadata Metadata); 01544 01552 Mb5ReleaseGroupList mb5_metadata_get_releasegrouplist(Mb5Metadata Metadata); 01553 01561 Mb5RecordingList mb5_metadata_get_recordinglist(Mb5Metadata Metadata); 01562 01570 Mb5LabelList mb5_metadata_get_labellist(Mb5Metadata Metadata); 01571 01579 Mb5WorkList mb5_metadata_get_worklist(Mb5Metadata Metadata); 01580 01588 Mb5ISRCList mb5_metadata_get_isrclist(Mb5Metadata Metadata); 01589 01597 Mb5AnnotationList mb5_metadata_get_annotationlist(Mb5Metadata Metadata); 01598 01606 Mb5CDStubList mb5_metadata_get_cdstublist(Mb5Metadata Metadata); 01607 01615 Mb5FreeDBDiscList mb5_metadata_get_freedbdisclist(Mb5Metadata Metadata); 01616 01624 Mb5TagList mb5_metadata_get_taglist(Mb5Metadata Metadata); 01625 01633 Mb5UserTagList mb5_metadata_get_usertaglist(Mb5Metadata Metadata); 01634 01642 Mb5CollectionList mb5_metadata_get_collectionlist(Mb5Metadata Metadata); 01643 01651 Mb5CDStub mb5_metadata_get_cdstub(Mb5Metadata Metadata); 01652 01660 Mb5Message mb5_metadata_get_message(Mb5Metadata Metadata); 01661 01667 void mb5_namecredit_delete(Mb5NameCredit NameCredit); 01668 01677 Mb5NameCredit mb5_namecredit_clone(Mb5NameCredit NameCredit); 01678 01688 int mb5_namecredit_get_joinphrase(Mb5NameCredit NameCredit, char *str, int len); 01689 01699 int mb5_namecredit_get_name(Mb5NameCredit NameCredit, char *str, int len); 01700 01708 Mb5Artist mb5_namecredit_get_artist(Mb5NameCredit NameCredit); 01709 01715 void mb5_nonmbtrack_delete(Mb5NonMBTrack NonMBTrack); 01716 01725 Mb5NonMBTrack mb5_nonmbtrack_clone(Mb5NonMBTrack NonMBTrack); 01726 01736 int mb5_nonmbtrack_get_title(Mb5NonMBTrack NonMBTrack, char *str, int len); 01737 01747 int mb5_nonmbtrack_get_artist(Mb5NonMBTrack NonMBTrack, char *str, int len); 01748 01756 int mb5_nonmbtrack_get_length(Mb5NonMBTrack NonMBTrack); 01757 01763 void mb5_puid_delete(Mb5PUID PUID); 01764 01773 Mb5PUID mb5_puid_clone(Mb5PUID PUID); 01774 01784 int mb5_puid_get_id(Mb5PUID PUID, char *str, int len); 01785 01793 Mb5RecordingList mb5_puid_get_recordinglist(Mb5PUID PUID); 01794 01800 void mb5_query_delete(Mb5Query Query); 01801 01810 Mb5Query mb5_query_clone(Mb5Query Query); 01811 01819 int mb5_query_get_lasthttpcode(Mb5Query Query); 01820 01830 int mb5_query_get_lasterrormessage(Mb5Query Query, char *str, int len); 01831 01841 int mb5_query_get_version(Mb5Query Query, char *str, int len); 01842 01843 /* -------------------------------------------------------------------------- 01844 01845 libmusicbrainz5 - Client library to access MusicBrainz 01846 01847 Copyright (C) 2012 Andrew Hawkins 01848 01849 This file is part of libmusicbrainz5. 01850 01851 This library is free software; you can redistribute it and/or 01852 modify it under the terms of v2 of the GNU Lesser General Public 01853 License as published by the Free Software Foundation. 01854 01855 libmusicbrainz5 is distributed in the hope that it will be useful, 01856 but WITHOUT ANY WARRANTY; without even the implied warranty of 01857 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 01858 Lesser General Public License for more details. 01859 01860 You should have received a copy of the GNU General Public License 01861 along with this library. If not, see <http://www.gnu.org/licenses/>. 01862 01863 $Id$ 01864 01865 ----------------------------------------------------------------------------*/ 01866 01880 Mb5Query mb5_query_new(const char *UserAgent, const char *Server, int Port); 01881 01890 void mb5_query_set_username(Mb5Query Query, const char *UserName); 01891 01900 void mb5_query_set_password(Mb5Query Query, const char *Password); 01901 01910 void mb5_query_set_proxyhost(Mb5Query Query, const char *ProxyHost); 01911 01920 void mb5_query_set_proxyport(Mb5Query Query, int ProxyPort); 01921 01930 void mb5_query_set_proxyusername(Mb5Query Query, const char *ProxyUserName); 01931 01940 void mb5_query_set_proxypassword(Mb5Query Query, const char *ProxyPassword); 01941 01953 Mb5ReleaseList mb5_query_lookup_discid(Mb5Query Query, const char *DiscID); 01954 01966 Mb5Release mb5_query_lookup_release(Mb5Query Query, const char *Release); 01967 01984 Mb5Metadata mb5_query_query(Mb5Query Query, const char *Entity, const char *ID, const char *Resource, int NumParams, char **ParamNames, char **ParamValues); 01985 01998 unsigned char mb5_query_add_collection_entries(Mb5Query Query, const char *Collection, int NumEntries, const char **Entries); 01999 02012 unsigned char mb5_query_delete_collection_entries(Mb5Query Query, const char *Collection, int NumEntries, const char **Entries); 02013 02018 typedef enum 02019 { 02020 eQuery_Success=0, 02021 eQuery_ConnectionError, 02022 eQuery_Timeout, 02023 eQuery_AuthenticationError, 02024 eQuery_FetchError, 02025 eQuery_RequestError, 02026 eQuery_ResourceNotFound 02027 } tQueryResult; 02028 02036 tQueryResult mb5_query_get_lastresult(Mb5Query Query); 02037 02038 02039 02045 void mb5_rating_delete(Mb5Rating Rating); 02046 02055 Mb5Rating mb5_rating_clone(Mb5Rating Rating); 02056 02064 int mb5_rating_get_votescount(Mb5Rating Rating); 02065 02073 double mb5_rating_get_rating(Mb5Rating Rating); 02074 02080 void mb5_recording_delete(Mb5Recording Recording); 02081 02090 Mb5Recording mb5_recording_clone(Mb5Recording Recording); 02091 02101 int mb5_recording_get_id(Mb5Recording Recording, char *str, int len); 02102 02112 int mb5_recording_get_title(Mb5Recording Recording, char *str, int len); 02113 02121 int mb5_recording_get_length(Mb5Recording Recording); 02122 02132 int mb5_recording_get_disambiguation(Mb5Recording Recording, char *str, int len); 02133 02141 Mb5ArtistCredit mb5_recording_get_artistcredit(Mb5Recording Recording); 02142 02150 Mb5ReleaseList mb5_recording_get_releaselist(Mb5Recording Recording); 02151 02159 Mb5PUIDList mb5_recording_get_puidlist(Mb5Recording Recording); 02160 02168 Mb5ISRCList mb5_recording_get_isrclist(Mb5Recording Recording); 02169 02177 Mb5RelationListList mb5_recording_get_relationlistlist(Mb5Recording Recording); 02178 02186 Mb5TagList mb5_recording_get_taglist(Mb5Recording Recording); 02187 02195 Mb5UserTagList mb5_recording_get_usertaglist(Mb5Recording Recording); 02196 02204 Mb5Rating mb5_recording_get_rating(Mb5Recording Recording); 02205 02213 Mb5UserRating mb5_recording_get_userrating(Mb5Recording Recording); 02214 02220 void mb5_relation_delete(Mb5Relation Relation); 02221 02230 Mb5Relation mb5_relation_clone(Mb5Relation Relation); 02231 02241 int mb5_relation_get_type(Mb5Relation Relation, char *str, int len); 02242 02252 int mb5_relation_get_target(Mb5Relation Relation, char *str, int len); 02253 02263 int mb5_relation_get_direction(Mb5Relation Relation, char *str, int len); 02264 02272 Mb5AttributeList mb5_relation_get_attributelist(Mb5Relation Relation); 02273 02283 int mb5_relation_get_begin(Mb5Relation Relation, char *str, int len); 02284 02294 int mb5_relation_get_end(Mb5Relation Relation, char *str, int len); 02295 02303 Mb5Artist mb5_relation_get_artist(Mb5Relation Relation); 02304 02312 Mb5Release mb5_relation_get_release(Mb5Relation Relation); 02313 02321 Mb5ReleaseGroup mb5_relation_get_releasegroup(Mb5Relation Relation); 02322 02330 Mb5Recording mb5_relation_get_recording(Mb5Relation Relation); 02331 02339 Mb5Label mb5_relation_get_label(Mb5Relation Relation); 02340 02348 Mb5Work mb5_relation_get_work(Mb5Relation Relation); 02349 02355 void mb5_release_delete(Mb5Release Release); 02356 02365 Mb5Release mb5_release_clone(Mb5Release Release); 02366 02376 int mb5_release_get_id(Mb5Release Release, char *str, int len); 02377 02387 int mb5_release_get_title(Mb5Release Release, char *str, int len); 02388 02398 int mb5_release_get_status(Mb5Release Release, char *str, int len); 02399 02409 int mb5_release_get_quality(Mb5Release Release, char *str, int len); 02410 02420 int mb5_release_get_disambiguation(Mb5Release Release, char *str, int len); 02421 02431 int mb5_release_get_packaging(Mb5Release Release, char *str, int len); 02432 02440 Mb5TextRepresentation mb5_release_get_textrepresentation(Mb5Release Release); 02441 02449 Mb5ArtistCredit mb5_release_get_artistcredit(Mb5Release Release); 02450 02458 Mb5ReleaseGroup mb5_release_get_releasegroup(Mb5Release Release); 02459 02469 int mb5_release_get_date(Mb5Release Release, char *str, int len); 02470 02480 int mb5_release_get_country(Mb5Release Release, char *str, int len); 02481 02491 int mb5_release_get_barcode(Mb5Release Release, char *str, int len); 02492 02502 int mb5_release_get_asin(Mb5Release Release, char *str, int len); 02503 02511 Mb5LabelInfoList mb5_release_get_labelinfolist(Mb5Release Release); 02512 02520 Mb5MediumList mb5_release_get_mediumlist(Mb5Release Release); 02521 02529 Mb5RelationListList mb5_release_get_relationlistlist(Mb5Release Release); 02530 02538 Mb5CollectionList mb5_release_get_collectionlist(Mb5Release Release); 02539 02540 /* -------------------------------------------------------------------------- 02541 02542 libmusicbrainz5 - Client library to access MusicBrainz 02543 02544 Copyright (C) 2012 Andrew Hawkins 02545 02546 This file is part of libmusicbrainz5. 02547 02548 This library is free software; you can redistribute it and/or 02549 modify it under the terms of v2 of the GNU Lesser General Public 02550 License as published by the Free Software Foundation. 02551 02552 libmusicbrainz5 is distributed in the hope that it will be useful, 02553 but WITHOUT ANY WARRANTY; without even the implied warranty of 02554 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 02555 Lesser General Public License for more details. 02556 02557 You should have received a copy of the GNU General Public License 02558 along with this library. If not, see <http://www.gnu.org/licenses/>. 02559 02560 $Id$ 02561 02562 ----------------------------------------------------------------------------*/ 02563 02573 Mb5MediumList mb5_release_media_matching_discid(Mb5Release Release, const char *DiscID); 02574 02575 02576 02582 void mb5_releasegroup_delete(Mb5ReleaseGroup ReleaseGroup); 02583 02592 Mb5ReleaseGroup mb5_releasegroup_clone(Mb5ReleaseGroup ReleaseGroup); 02593 02603 int mb5_releasegroup_get_id(Mb5ReleaseGroup ReleaseGroup, char *str, int len); 02604 02614 int mb5_releasegroup_get_primarytype(Mb5ReleaseGroup ReleaseGroup, char *str, int len); 02615 02625 int mb5_releasegroup_get_title(Mb5ReleaseGroup ReleaseGroup, char *str, int len); 02626 02636 int mb5_releasegroup_get_disambiguation(Mb5ReleaseGroup ReleaseGroup, char *str, int len); 02637 02647 int mb5_releasegroup_get_firstreleasedate(Mb5ReleaseGroup ReleaseGroup, char *str, int len); 02648 02656 Mb5ArtistCredit mb5_releasegroup_get_artistcredit(Mb5ReleaseGroup ReleaseGroup); 02657 02665 Mb5ReleaseList mb5_releasegroup_get_releaselist(Mb5ReleaseGroup ReleaseGroup); 02666 02674 Mb5RelationListList mb5_releasegroup_get_relationlistlist(Mb5ReleaseGroup ReleaseGroup); 02675 02683 Mb5TagList mb5_releasegroup_get_taglist(Mb5ReleaseGroup ReleaseGroup); 02684 02692 Mb5UserTagList mb5_releasegroup_get_usertaglist(Mb5ReleaseGroup ReleaseGroup); 02693 02701 Mb5Rating mb5_releasegroup_get_rating(Mb5ReleaseGroup ReleaseGroup); 02702 02710 Mb5UserRating mb5_releasegroup_get_userrating(Mb5ReleaseGroup ReleaseGroup); 02711 02719 Mb5SecondaryTypeList mb5_releasegroup_get_secondarytypelist(Mb5ReleaseGroup ReleaseGroup); 02720 02726 void mb5_secondarytype_delete(Mb5SecondaryType SecondaryType); 02727 02736 Mb5SecondaryType mb5_secondarytype_clone(Mb5SecondaryType SecondaryType); 02737 02747 int mb5_secondarytype_get_secondarytype(Mb5SecondaryType SecondaryType, char *str, int len); 02748 02754 void mb5_tag_delete(Mb5Tag Tag); 02755 02764 Mb5Tag mb5_tag_clone(Mb5Tag Tag); 02765 02773 int mb5_tag_get_count(Mb5Tag Tag); 02774 02784 int mb5_tag_get_name(Mb5Tag Tag, char *str, int len); 02785 02791 void mb5_textrepresentation_delete(Mb5TextRepresentation TextRepresentation); 02792 02801 Mb5TextRepresentation mb5_textrepresentation_clone(Mb5TextRepresentation TextRepresentation); 02802 02812 int mb5_textrepresentation_get_language(Mb5TextRepresentation TextRepresentation, char *str, int len); 02813 02823 int mb5_textrepresentation_get_script(Mb5TextRepresentation TextRepresentation, char *str, int len); 02824 02830 void mb5_track_delete(Mb5Track Track); 02831 02840 Mb5Track mb5_track_clone(Mb5Track Track); 02841 02849 int mb5_track_get_position(Mb5Track Track); 02850 02860 int mb5_track_get_title(Mb5Track Track, char *str, int len); 02861 02869 Mb5Recording mb5_track_get_recording(Mb5Track Track); 02870 02878 int mb5_track_get_length(Mb5Track Track); 02879 02887 Mb5ArtistCredit mb5_track_get_artistcredit(Mb5Track Track); 02888 02898 int mb5_track_get_number(Mb5Track Track, char *str, int len); 02899 02905 void mb5_userrating_delete(Mb5UserRating UserRating); 02906 02915 Mb5UserRating mb5_userrating_clone(Mb5UserRating UserRating); 02916 02924 int mb5_userrating_get_userrating(Mb5UserRating UserRating); 02925 02931 void mb5_usertag_delete(Mb5UserTag UserTag); 02932 02941 Mb5UserTag mb5_usertag_clone(Mb5UserTag UserTag); 02942 02952 int mb5_usertag_get_name(Mb5UserTag UserTag, char *str, int len); 02953 02959 void mb5_work_delete(Mb5Work Work); 02960 02969 Mb5Work mb5_work_clone(Mb5Work Work); 02970 02980 int mb5_work_get_id(Mb5Work Work, char *str, int len); 02981 02991 int mb5_work_get_type(Mb5Work Work, char *str, int len); 02992 03002 int mb5_work_get_title(Mb5Work Work, char *str, int len); 03003 03011 Mb5ArtistCredit mb5_work_get_artistcredit(Mb5Work Work); 03012 03020 Mb5ISWCList mb5_work_get_iswclist(Mb5Work Work); 03021 03031 int mb5_work_get_disambiguation(Mb5Work Work, char *str, int len); 03032 03040 Mb5AliasList mb5_work_get_aliaslist(Mb5Work Work); 03041 03049 Mb5RelationListList mb5_work_get_relationlistlist(Mb5Work Work); 03050 03058 Mb5TagList mb5_work_get_taglist(Mb5Work Work); 03059 03067 Mb5UserTagList mb5_work_get_usertaglist(Mb5Work Work); 03068 03076 Mb5Rating mb5_work_get_rating(Mb5Work Work); 03077 03085 Mb5UserRating mb5_work_get_userrating(Mb5Work Work); 03086 03096 int mb5_work_get_language(Mb5Work Work, char *str, int len); 03097 03103 void mb5_alias_list_delete(Mb5AliasList List); 03104 03110 int mb5_alias_list_size(Mb5AliasList List); 03111 03120 Mb5Alias mb5_alias_list_item(Mb5AliasList List, int Item); 03121 03127 int mb5_alias_list_get_count(Mb5AliasList List); 03128 03134 int mb5_alias_list_get_offset(Mb5AliasList List); 03135 03144 Mb5AliasList mb5_alias_list_clone(Mb5AliasList AliasList); 03145 03151 void mb5_annotation_list_delete(Mb5AnnotationList List); 03152 03158 int mb5_annotation_list_size(Mb5AnnotationList List); 03159 03168 Mb5Annotation mb5_annotation_list_item(Mb5AnnotationList List, int Item); 03169 03175 int mb5_annotation_list_get_count(Mb5AnnotationList List); 03176 03182 int mb5_annotation_list_get_offset(Mb5AnnotationList List); 03183 03192 Mb5AnnotationList mb5_annotation_list_clone(Mb5AnnotationList AnnotationList); 03193 03199 void mb5_artist_list_delete(Mb5ArtistList List); 03200 03206 int mb5_artist_list_size(Mb5ArtistList List); 03207 03216 Mb5Artist mb5_artist_list_item(Mb5ArtistList List, int Item); 03217 03223 int mb5_artist_list_get_count(Mb5ArtistList List); 03224 03230 int mb5_artist_list_get_offset(Mb5ArtistList List); 03231 03240 Mb5ArtistList mb5_artist_list_clone(Mb5ArtistList ArtistList); 03241 03247 void mb5_attribute_list_delete(Mb5AttributeList List); 03248 03254 int mb5_attribute_list_size(Mb5AttributeList List); 03255 03264 Mb5Attribute mb5_attribute_list_item(Mb5AttributeList List, int Item); 03265 03271 int mb5_attribute_list_get_count(Mb5AttributeList List); 03272 03278 int mb5_attribute_list_get_offset(Mb5AttributeList List); 03279 03288 Mb5AttributeList mb5_attribute_list_clone(Mb5AttributeList AttributeList); 03289 03295 void mb5_cdstub_list_delete(Mb5CDStubList List); 03296 03302 int mb5_cdstub_list_size(Mb5CDStubList List); 03303 03312 Mb5CDStub mb5_cdstub_list_item(Mb5CDStubList List, int Item); 03313 03319 int mb5_cdstub_list_get_count(Mb5CDStubList List); 03320 03326 int mb5_cdstub_list_get_offset(Mb5CDStubList List); 03327 03336 Mb5CDStubList mb5_cdstub_list_clone(Mb5CDStubList CDStubList); 03337 03343 void mb5_collection_list_delete(Mb5CollectionList List); 03344 03350 int mb5_collection_list_size(Mb5CollectionList List); 03351 03360 Mb5Collection mb5_collection_list_item(Mb5CollectionList List, int Item); 03361 03367 int mb5_collection_list_get_count(Mb5CollectionList List); 03368 03374 int mb5_collection_list_get_offset(Mb5CollectionList List); 03375 03384 Mb5CollectionList mb5_collection_list_clone(Mb5CollectionList CollectionList); 03385 03391 void mb5_disc_list_delete(Mb5DiscList List); 03392 03398 int mb5_disc_list_size(Mb5DiscList List); 03399 03408 Mb5Disc mb5_disc_list_item(Mb5DiscList List, int Item); 03409 03415 int mb5_disc_list_get_count(Mb5DiscList List); 03416 03422 int mb5_disc_list_get_offset(Mb5DiscList List); 03423 03432 Mb5DiscList mb5_disc_list_clone(Mb5DiscList DiscList); 03433 03439 void mb5_freedbdisc_list_delete(Mb5FreeDBDiscList List); 03440 03446 int mb5_freedbdisc_list_size(Mb5FreeDBDiscList List); 03447 03456 Mb5FreeDBDisc mb5_freedbdisc_list_item(Mb5FreeDBDiscList List, int Item); 03457 03463 int mb5_freedbdisc_list_get_count(Mb5FreeDBDiscList List); 03464 03470 int mb5_freedbdisc_list_get_offset(Mb5FreeDBDiscList List); 03471 03480 Mb5FreeDBDiscList mb5_freedbdisc_list_clone(Mb5FreeDBDiscList FreeDBDiscList); 03481 03487 void mb5_ipi_list_delete(Mb5IPIList List); 03488 03494 int mb5_ipi_list_size(Mb5IPIList List); 03495 03504 Mb5IPI mb5_ipi_list_item(Mb5IPIList List, int Item); 03505 03511 int mb5_ipi_list_get_count(Mb5IPIList List); 03512 03518 int mb5_ipi_list_get_offset(Mb5IPIList List); 03519 03528 Mb5IPIList mb5_ipi_list_clone(Mb5IPIList IPIList); 03529 03535 void mb5_isrc_list_delete(Mb5ISRCList List); 03536 03542 int mb5_isrc_list_size(Mb5ISRCList List); 03543 03552 Mb5ISRC mb5_isrc_list_item(Mb5ISRCList List, int Item); 03553 03559 int mb5_isrc_list_get_count(Mb5ISRCList List); 03560 03566 int mb5_isrc_list_get_offset(Mb5ISRCList List); 03567 03576 Mb5ISRCList mb5_isrc_list_clone(Mb5ISRCList ISRCList); 03577 03583 void mb5_iswc_list_delete(Mb5ISWCList List); 03584 03590 int mb5_iswc_list_size(Mb5ISWCList List); 03591 03600 Mb5ISWC mb5_iswc_list_item(Mb5ISWCList List, int Item); 03601 03607 int mb5_iswc_list_get_count(Mb5ISWCList List); 03608 03614 int mb5_iswc_list_get_offset(Mb5ISWCList List); 03615 03624 Mb5ISWCList mb5_iswc_list_clone(Mb5ISWCList ISWCList); 03625 03631 void mb5_label_list_delete(Mb5LabelList List); 03632 03638 int mb5_label_list_size(Mb5LabelList List); 03639 03648 Mb5Label mb5_label_list_item(Mb5LabelList List, int Item); 03649 03655 int mb5_label_list_get_count(Mb5LabelList List); 03656 03662 int mb5_label_list_get_offset(Mb5LabelList List); 03663 03672 Mb5LabelList mb5_label_list_clone(Mb5LabelList LabelList); 03673 03679 void mb5_labelinfo_list_delete(Mb5LabelInfoList List); 03680 03686 int mb5_labelinfo_list_size(Mb5LabelInfoList List); 03687 03696 Mb5LabelInfo mb5_labelinfo_list_item(Mb5LabelInfoList List, int Item); 03697 03703 int mb5_labelinfo_list_get_count(Mb5LabelInfoList List); 03704 03710 int mb5_labelinfo_list_get_offset(Mb5LabelInfoList List); 03711 03720 Mb5LabelInfoList mb5_labelinfo_list_clone(Mb5LabelInfoList LabelInfoList); 03721 03727 void mb5_medium_list_delete(Mb5MediumList List); 03728 03734 int mb5_medium_list_size(Mb5MediumList List); 03735 03744 Mb5Medium mb5_medium_list_item(Mb5MediumList List, int Item); 03745 03751 int mb5_medium_list_get_count(Mb5MediumList List); 03752 03758 int mb5_medium_list_get_offset(Mb5MediumList List); 03759 03768 Mb5MediumList mb5_medium_list_clone(Mb5MediumList MediumList); 03769 03777 int mb5_medium_list_get_trackcount(Mb5MediumList List); 03778 03784 void mb5_namecredit_list_delete(Mb5NameCreditList List); 03785 03791 int mb5_namecredit_list_size(Mb5NameCreditList List); 03792 03801 Mb5NameCredit mb5_namecredit_list_item(Mb5NameCreditList List, int Item); 03802 03808 int mb5_namecredit_list_get_count(Mb5NameCreditList List); 03809 03815 int mb5_namecredit_list_get_offset(Mb5NameCreditList List); 03816 03825 Mb5NameCreditList mb5_namecredit_list_clone(Mb5NameCreditList NameCreditList); 03826 03832 void mb5_nonmbtrack_list_delete(Mb5NonMBTrackList List); 03833 03839 int mb5_nonmbtrack_list_size(Mb5NonMBTrackList List); 03840 03849 Mb5NonMBTrack mb5_nonmbtrack_list_item(Mb5NonMBTrackList List, int Item); 03850 03856 int mb5_nonmbtrack_list_get_count(Mb5NonMBTrackList List); 03857 03863 int mb5_nonmbtrack_list_get_offset(Mb5NonMBTrackList List); 03864 03873 Mb5NonMBTrackList mb5_nonmbtrack_list_clone(Mb5NonMBTrackList NonMBTrackList); 03874 03880 void mb5_puid_list_delete(Mb5PUIDList List); 03881 03887 int mb5_puid_list_size(Mb5PUIDList List); 03888 03897 Mb5PUID mb5_puid_list_item(Mb5PUIDList List, int Item); 03898 03904 int mb5_puid_list_get_count(Mb5PUIDList List); 03905 03911 int mb5_puid_list_get_offset(Mb5PUIDList List); 03912 03921 Mb5PUIDList mb5_puid_list_clone(Mb5PUIDList PUIDList); 03922 03928 void mb5_recording_list_delete(Mb5RecordingList List); 03929 03935 int mb5_recording_list_size(Mb5RecordingList List); 03936 03945 Mb5Recording mb5_recording_list_item(Mb5RecordingList List, int Item); 03946 03952 int mb5_recording_list_get_count(Mb5RecordingList List); 03953 03959 int mb5_recording_list_get_offset(Mb5RecordingList List); 03960 03969 Mb5RecordingList mb5_recording_list_clone(Mb5RecordingList RecordingList); 03970 03976 void mb5_relation_list_delete(Mb5RelationList List); 03977 03983 int mb5_relation_list_size(Mb5RelationList List); 03984 03993 Mb5Relation mb5_relation_list_item(Mb5RelationList List, int Item); 03994 04000 int mb5_relation_list_get_count(Mb5RelationList List); 04001 04007 int mb5_relation_list_get_offset(Mb5RelationList List); 04008 04017 Mb5RelationList mb5_relation_list_clone(Mb5RelationList RelationList); 04018 04028 int mb5_relation_list_get_targettype(Mb5RelationList List, char *str, int len); 04029 04035 void mb5_relationlist_list_delete(Mb5RelationListList List); 04036 04042 int mb5_relationlist_list_size(Mb5RelationListList List); 04043 04052 Mb5RelationList mb5_relationlist_list_item(Mb5RelationListList List, int Item); 04053 04059 int mb5_relationlist_list_get_count(Mb5RelationListList List); 04060 04066 int mb5_relationlist_list_get_offset(Mb5RelationListList List); 04067 04076 Mb5RelationListList mb5_relationlist_list_clone(Mb5RelationListList RelationListList); 04077 04083 void mb5_release_list_delete(Mb5ReleaseList List); 04084 04090 int mb5_release_list_size(Mb5ReleaseList List); 04091 04100 Mb5Release mb5_release_list_item(Mb5ReleaseList List, int Item); 04101 04107 int mb5_release_list_get_count(Mb5ReleaseList List); 04108 04114 int mb5_release_list_get_offset(Mb5ReleaseList List); 04115 04124 Mb5ReleaseList mb5_release_list_clone(Mb5ReleaseList ReleaseList); 04125 04131 void mb5_releasegroup_list_delete(Mb5ReleaseGroupList List); 04132 04138 int mb5_releasegroup_list_size(Mb5ReleaseGroupList List); 04139 04148 Mb5ReleaseGroup mb5_releasegroup_list_item(Mb5ReleaseGroupList List, int Item); 04149 04155 int mb5_releasegroup_list_get_count(Mb5ReleaseGroupList List); 04156 04162 int mb5_releasegroup_list_get_offset(Mb5ReleaseGroupList List); 04163 04172 Mb5ReleaseGroupList mb5_releasegroup_list_clone(Mb5ReleaseGroupList ReleaseGroupList); 04173 04179 void mb5_secondarytype_list_delete(Mb5SecondaryTypeList List); 04180 04186 int mb5_secondarytype_list_size(Mb5SecondaryTypeList List); 04187 04196 Mb5SecondaryType mb5_secondarytype_list_item(Mb5SecondaryTypeList List, int Item); 04197 04203 int mb5_secondarytype_list_get_count(Mb5SecondaryTypeList List); 04204 04210 int mb5_secondarytype_list_get_offset(Mb5SecondaryTypeList List); 04211 04220 Mb5SecondaryTypeList mb5_secondarytype_list_clone(Mb5SecondaryTypeList SecondaryTypeList); 04221 04227 void mb5_tag_list_delete(Mb5TagList List); 04228 04234 int mb5_tag_list_size(Mb5TagList List); 04235 04244 Mb5Tag mb5_tag_list_item(Mb5TagList List, int Item); 04245 04251 int mb5_tag_list_get_count(Mb5TagList List); 04252 04258 int mb5_tag_list_get_offset(Mb5TagList List); 04259 04268 Mb5TagList mb5_tag_list_clone(Mb5TagList TagList); 04269 04275 void mb5_track_list_delete(Mb5TrackList List); 04276 04282 int mb5_track_list_size(Mb5TrackList List); 04283 04292 Mb5Track mb5_track_list_item(Mb5TrackList List, int Item); 04293 04299 int mb5_track_list_get_count(Mb5TrackList List); 04300 04306 int mb5_track_list_get_offset(Mb5TrackList List); 04307 04316 Mb5TrackList mb5_track_list_clone(Mb5TrackList TrackList); 04317 04323 void mb5_usertag_list_delete(Mb5UserTagList List); 04324 04330 int mb5_usertag_list_size(Mb5UserTagList List); 04331 04340 Mb5UserTag mb5_usertag_list_item(Mb5UserTagList List, int Item); 04341 04347 int mb5_usertag_list_get_count(Mb5UserTagList List); 04348 04354 int mb5_usertag_list_get_offset(Mb5UserTagList List); 04355 04364 Mb5UserTagList mb5_usertag_list_clone(Mb5UserTagList UserTagList); 04365 04371 void mb5_work_list_delete(Mb5WorkList List); 04372 04378 int mb5_work_list_size(Mb5WorkList List); 04379 04388 Mb5Work mb5_work_list_item(Mb5WorkList List, int Item); 04389 04395 int mb5_work_list_get_count(Mb5WorkList List); 04396 04402 int mb5_work_list_get_offset(Mb5WorkList List); 04403 04412 Mb5WorkList mb5_work_list_clone(Mb5WorkList WorkList); 04413 04414 #ifdef __cplusplus 04415 } 04416 #endif 04417 04418 #endif 04419