id3lib 3.8.3

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

Functions
misc_support.h File Reference
`#include <id3/tag.h>`

Go to the source code of this file.

## Functions
ID3_C_EXPORT char * | ID3_GetString (const ID3_Frame *, ID3_FieldID)
ID3_C_EXPORT char * | ID3_GetString (const ID3_Frame *, ID3_FieldID, size_t nItems)
ID3_C_EXPORT void | ID3_FreeString (char *str)
ID3_C_EXPORT char * | ID3_GetArtist (const ID3_Tag *)
ID3_C_EXPORT ID3_Frame * | ID3_AddArtist (ID3_Tag *, const char *, bool replace=false)
ID3_C_EXPORT size_t | ID3_RemoveArtists (ID3_Tag *)
ID3_C_EXPORT char * | ID3_GetAlbum (const ID3_Tag *)
ID3_C_EXPORT ID3_Frame * | ID3_AddAlbum (ID3_Tag *, const char *, bool replace=false)
ID3_C_EXPORT size_t | ID3_RemoveAlbums (ID3_Tag *)
ID3_C_EXPORT char * | ID3_GetTitle (const ID3_Tag *)
ID3_C_EXPORT ID3_Frame * | ID3_AddTitle (ID3_Tag *, const char *, bool replace=false)
ID3_C_EXPORT size_t | ID3_RemoveTitles (ID3_Tag *)
ID3_C_EXPORT char * | ID3_GetYear (const ID3_Tag *)
ID3_C_EXPORT ID3_Frame * | ID3_AddYear (ID3_Tag *, const char *, bool replace=false)
ID3_C_EXPORT size_t | ID3_RemoveYears (ID3_Tag *)
ID3_C_EXPORT char * | ID3_GetComment (const ID3_Tag *, const char *desc=NULL)
ID3_C_EXPORT ID3_Frame * | ID3_AddComment (ID3_Tag *, const char *, bool=false)
ID3_C_EXPORT ID3_Frame * | ID3_AddComment (ID3_Tag *, const char *, const char *, bool=false)
ID3_C_EXPORT ID3_Frame * | ID3_AddComment (ID3_Tag *, const char *, const char *, const char *, bool=false)
ID3_C_EXPORT size_t | ID3_RemoveComments (ID3_Tag *, const char *=NULL)
ID3_C_EXPORT char * | ID3_GetTrack (const ID3_Tag *)
ID3_C_EXPORT size_t | ID3_GetTrackNum (const ID3_Tag *)
ID3_C_EXPORT ID3_Frame * | ID3_AddTrack (ID3_Tag *, uchar ucTrack, uchar ucTotal=0, bool replace=false)
ID3_C_EXPORT size_t | ID3_RemoveTracks (ID3_Tag *)
ID3_C_EXPORT char * | ID3_GetGenre (const ID3_Tag *)
ID3_C_EXPORT size_t | ID3_GetGenreNum (const ID3_Tag *)
ID3_C_EXPORT ID3_Frame * | ID3_AddGenre (ID3_Tag *, size_t ucGenre, bool replace=false)
ID3_C_EXPORT ID3_Frame * | ID3_AddGenre (ID3_Tag *, const char *, bool replace=false)
ID3_C_EXPORT size_t | ID3_RemoveGenres (ID3_Tag *)
ID3_C_EXPORT char * | ID3_GetLyrics (const ID3_Tag *)
ID3_C_EXPORT ID3_Frame * | ID3_AddLyrics (ID3_Tag *, const char *, bool=false)
ID3_C_EXPORT ID3_Frame * | ID3_AddLyrics (ID3_Tag *, const char *, const char *, bool=false)
ID3_C_EXPORT ID3_Frame * | ID3_AddLyrics (ID3_Tag *, const char *, const char *, const char *, bool=false)
ID3_C_EXPORT size_t | ID3_RemoveLyrics (ID3_Tag *)
ID3_C_EXPORT char * | ID3_GetLyricist (const ID3_Tag *)
ID3_C_EXPORT ID3_Frame * | ID3_AddLyricist (ID3_Tag *, const char *, bool replace=false)
ID3_C_EXPORT size_t | ID3_RemoveLyricist (ID3_Tag *)
ID3_C_EXPORT ID3_Frame * | ID3_AddSyncLyrics (ID3_Tag *, const uchar *, size_t, ID3_TimeStampFormat, bool=false)
ID3_C_EXPORT ID3_Frame * | ID3_AddSyncLyrics (ID3_Tag *, const uchar *, size_t, ID3_TimeStampFormat, const char *, bool=false)
ID3_C_EXPORT ID3_Frame * | ID3_AddSyncLyrics (ID3_Tag *, const uchar *, size_t, ID3_TimeStampFormat, const char *, const char *, bool=false)
ID3_C_EXPORT ID3_Frame * | ID3_AddSyncLyrics (ID3_Tag *, const uchar *, size_t, ID3_TimeStampFormat, const char *, const char *, ID3_ContentType, bool=false)
ID3_C_EXPORT ID3_Frame * | ID3_GetSyncLyricsInfo (const ID3_Tag *tag, const char *lang, const char *desc, char &stampformat, char &type, size_t &size)
ID3_C_EXPORT ID3_Frame * | ID3_GetSyncLyrics (const ID3_Tag *tag, const char *lang, const char *desc, const uchar *&pData, size_t &size)
ID3_C_EXPORT int | ID3_GetPictureData (const ID3_Tag *, const char *TempPicPath)
ID3_C_EXPORT char * | ID3_GetPictureMimeType (const ID3_Tag *)
ID3_C_EXPORT bool | ID3_HasPicture (const ID3_Tag *)
ID3_C_EXPORT ID3_Frame * | ID3_AddPicture (ID3_Tag *, const char *TempPicPath, const char *MimeType, bool replace=false)
ID3_C_EXPORT ID3_Frame * | ID3_AddPicture (ID3_Tag *, const char *TempPicPath, const char *MimeType, ID3_PictureType pictype, const char *Description, bool replace=false)
ID3_C_EXPORT size_t | ID3_RemovePictures (ID3_Tag *)
ID3_C_EXPORT size_t | ID3_GetPictureDataOfPicType (ID3_Tag *, const char *TempPicPath, ID3_PictureType pictype)
ID3_C_EXPORT char * | ID3_GetMimeTypeOfPicType (ID3_Tag *, ID3_PictureType pictype)
ID3_C_EXPORT char * | ID3_GetDescriptionOfPicType (ID3_Tag *, ID3_PictureType pictype)
ID3_C_EXPORT size_t | ID3_RemovePictureType (ID3_Tag *, ID3_PictureType pictype)

## Function Documentation

ID3_C_EXPORT ID3_Frame* ID3_AddAlbum | ( | ID3_Tag * | ,
|  | const char * | ,
|  | bool | replace = `false`
| ) |  |

Definition at line 172 of file misc_support.cpp.

ID3_C_EXPORT ID3_Frame* ID3_AddArtist | ( | ID3_Tag * | ,
|  | const char * | ,
|  | bool | replace = `false`
| ) |  |

Definition at line 92 of file misc_support.cpp.

ID3_C_EXPORT ID3_Frame* ID3_AddComment | ( | ID3_Tag * | ,
|  | const char * | ,
|  | bool | = `false`
| ) |  |

Definition at line 358 of file misc_support.cpp.

ID3_C_EXPORT ID3_Frame* ID3_AddComment | ( | ID3_Tag * | ,
|  | const char * | ,
|  | const char * | ,
|  | bool | = `false`
| ) |  |

Definition at line 363 of file misc_support.cpp.

ID3_C_EXPORT ID3_Frame* ID3_AddComment | ( | ID3_Tag * | ,
|  | const char * | ,
|  | const char * | ,
|  | const char * | ,
|  | bool | = `false`
| ) |  |

Definition at line 369 of file misc_support.cpp.

ID3_C_EXPORT ID3_Frame* ID3_AddGenre | ( | ID3_Tag * | ,
|  | size_t | ucGenre,
|  | bool | replace = `false`
| ) |  |

Definition at line 862 of file misc_support.cpp.

ID3_C_EXPORT ID3_Frame* ID3_AddGenre | ( | ID3_Tag * | ,
|  | const char * | ,
|  | bool | replace = `false`
| ) |  |

Definition at line 839 of file misc_support.cpp.

ID3_C_EXPORT ID3_Frame* ID3_AddLyricist | ( | ID3_Tag * | ,
|  | const char * | ,
|  | bool | replace = `false`
| ) |  |

Definition at line 985 of file misc_support.cpp.

ID3_C_EXPORT ID3_Frame* ID3_AddLyrics | ( | ID3_Tag * | ,
|  | const char * | ,
|  | bool | = `false`
| ) |  |

Definition at line 912 of file misc_support.cpp.

ID3_C_EXPORT ID3_Frame* ID3_AddLyrics | ( | ID3_Tag * | ,
|  | const char * | ,
|  | const char * | ,
|  | bool | = `false`
| ) |  |

Definition at line 917 of file misc_support.cpp.

ID3_C_EXPORT ID3_Frame* ID3_AddLyrics | ( | ID3_Tag * | ,
|  | const char * | ,
|  | const char * | ,
|  | const char * | ,
|  | bool | = `false`
| ) |  |

Definition at line 923 of file misc_support.cpp.

ID3_C_EXPORT ID3_Frame* ID3_AddPicture | ( | ID3_Tag * | ,
|  | const char * | TempPicPath,
|  | const char * | MimeType,
|  | bool | replace = `false`
| ) |  |

Definition at line 590 of file misc_support.cpp.

ID3_C_EXPORT ID3_Frame* ID3_AddPicture | ( | ID3_Tag * | ,
|  | const char * | TempPicPath,
|  | const char * | MimeType,
|  | ID3_PictureType | pictype,
|  | const char * | Description,
|  | bool | replace = `false`
| ) |  |

Definition at line 660 of file misc_support.cpp.

ID3_C_EXPORT ID3_Frame* ID3_AddSyncLyrics | ( | ID3_Tag * | ,
|  | const uchar * | ,
|  | size_t | ,
|  | ID3_TimeStampFormat | ,
|  | bool | = `false`
| ) |  |

Definition at line 1028 of file misc_support.cpp.

ID3_C_EXPORT ID3_Frame* ID3_AddSyncLyrics | ( | ID3_Tag * | ,
|  | const uchar * | ,
|  | size_t | ,
|  | ID3_TimeStampFormat | ,
|  | const char * | ,
|  | bool | = `false`
| ) |  |

Definition at line 1034 of file misc_support.cpp.

ID3_C_EXPORT ID3_Frame* ID3_AddSyncLyrics | ( | ID3_Tag * | ,
|  | const uchar * | ,
|  | size_t | ,
|  | ID3_TimeStampFormat | ,
|  | const char * | ,
|  | const char * | ,
|  | bool | = `false`
| ) |  |

Definition at line 1041 of file misc_support.cpp.

ID3_C_EXPORT ID3_Frame* ID3_AddSyncLyrics | ( | ID3_Tag * | ,
|  | const uchar * | ,
|  | size_t | ,
|  | ID3_TimeStampFormat | ,
|  | const char * | ,
|  | const char * | ,
|  | ID3_ContentType | ,
|  | bool | = `false`
| ) |  |

Definition at line 1049 of file misc_support.cpp.

ID3_C_EXPORT ID3_Frame* ID3_AddTitle | ( | ID3_Tag * | ,
|  | const char * | ,
|  | bool | replace = `false`
| ) |  |

Definition at line 231 of file misc_support.cpp.

ID3_C_EXPORT ID3_Frame* ID3_AddTrack | ( | ID3_Tag * | ,
|  | uchar | ucTrack,
|  | uchar | ucTotal = `0`,
|  | bool | replace = `false`
| ) |  |

Definition at line 493 of file misc_support.cpp.

ID3_C_EXPORT ID3_Frame* ID3_AddYear | ( | ID3_Tag * | ,
|  | const char * | ,
|  | bool | replace = `false`
| ) |  |

Definition at line 290 of file misc_support.cpp.

ID3_C_EXPORT void ID3_FreeString | ( | char * | str | ) |

Definition at line 67 of file misc_support.cpp.

ID3_C_EXPORT char* ID3_GetAlbum | ( | const ID3_Tag * |  | ) |

Definition at line 156 of file misc_support.cpp.

ID3_C_EXPORT char* ID3_GetArtist | ( | const ID3_Tag * |  | ) |

Definition at line 73 of file misc_support.cpp.

ID3_C_EXPORT char* ID3_GetComment | ( | const ID3_Tag * | ,
|  | const char * | desc = `NULL`
| ) |  |

Definition at line 333 of file misc_support.cpp.

ID3_C_EXPORT char* ID3_GetDescriptionOfPicType | ( | ID3_Tag * | ,
|  | ID3_PictureType | pictype
| ) |  |

Definition at line 745 of file misc_support.cpp.

ID3_C_EXPORT char* ID3_GetGenre | ( | const ID3_Tag * |  | ) |

Definition at line 792 of file misc_support.cpp.

ID3_C_EXPORT size_t ID3_GetGenreNum | ( | const ID3_Tag * |  | ) |

Definition at line 809 of file misc_support.cpp.

ID3_C_EXPORT char* ID3_GetLyricist | ( | const ID3_Tag * |  | ) |

Definition at line 969 of file misc_support.cpp.

ID3_C_EXPORT char* ID3_GetLyrics | ( | const ID3_Tag * |  | ) |

Definition at line 896 of file misc_support.cpp.

ID3_C_EXPORT char* ID3_GetMimeTypeOfPicType | ( | ID3_Tag * | ,
|  | ID3_PictureType | pictype
| ) |  |

Definition at line 718 of file misc_support.cpp.

ID3_C_EXPORT int ID3_GetPictureData | ( | const ID3_Tag * | ,
|  | const char * | TempPicPath
| ) |  |

Definition at line 531 of file misc_support.cpp.

ID3_C_EXPORT size_t ID3_GetPictureDataOfPicType | ( | ID3_Tag * | ,
|  | const char * | TempPicPath,
|  | ID3_PictureType | pictype
| ) |  |

Definition at line 684 of file misc_support.cpp.

ID3_C_EXPORT char* ID3_GetPictureMimeType | ( | const ID3_Tag * |  | ) |

Definition at line 554 of file misc_support.cpp.

ID3_C_EXPORT char* ID3_GetString | ( | const ID3_Frame * | ,
|  | ID3_FieldID |
| ) |  |

Definition at line 37 of file misc_support.cpp.

ID3_C_EXPORT char* ID3_GetString | ( | const ID3_Frame * | ,
|  | ID3_FieldID | ,
|  | size_t | nItems
| ) |  |

Definition at line 55 of file misc_support.cpp.

ID3_C_EXPORT ID3_Frame* ID3_GetSyncLyrics | ( | const ID3_Tag * | tag,
|  | const char * | lang,
|  | const char * | desc,
|  | const uchar *& | pData,
|  | size_t & | size
| ) |  |

Definition at line 1137 of file misc_support.cpp.

ID3_C_EXPORT ID3_Frame* ID3_GetSyncLyricsInfo | ( | const ID3_Tag * | tag,
|  | const char * | lang,
|  | const char * | desc,
|  | char & | stampformat,
|  | char & | type,
|  | size_t & | size
| ) |  |

ID3_C_EXPORT char* ID3_GetTitle | ( | const ID3_Tag * |  | ) |

Definition at line 215 of file misc_support.cpp.

ID3_C_EXPORT char* ID3_GetTrack | ( | const ID3_Tag * |  | ) |

Definition at line 465 of file misc_support.cpp.

ID3_C_EXPORT size_t ID3_GetTrackNum | ( | const ID3_Tag * |  | ) |

Definition at line 481 of file misc_support.cpp.

ID3_C_EXPORT char* ID3_GetYear | ( | const ID3_Tag * |  | ) |

Definition at line 274 of file misc_support.cpp.

ID3_C_EXPORT bool ID3_HasPicture | ( | const ID3_Tag * |  | ) |

Definition at line 570 of file misc_support.cpp.

ID3_C_EXPORT size_t ID3_RemoveAlbums | ( | ID3_Tag * |  | ) |

Definition at line 195 of file misc_support.cpp.

ID3_C_EXPORT size_t ID3_RemoveArtists | ( | ID3_Tag * |  | ) |

Definition at line 118 of file misc_support.cpp.

ID3_C_EXPORT size_t ID3_RemoveComments | ( | ID3_Tag * | ,
|  | const char * | = `NULL`
| ) |  |

Definition at line 423 of file misc_support.cpp.

ID3_C_EXPORT size_t ID3_RemoveGenres | ( | ID3_Tag * |  | ) |

Definition at line 876 of file misc_support.cpp.

ID3_C_EXPORT size_t ID3_RemoveLyricist | ( | ID3_Tag * |  | ) |

Definition at line 1008 of file misc_support.cpp.

ID3_C_EXPORT size_t ID3_RemoveLyrics | ( | ID3_Tag * |  | ) |

Definition at line 949 of file misc_support.cpp.

ID3_C_EXPORT size_t ID3_RemovePictures | ( | ID3_Tag * |  | ) |

Definition at line 612 of file misc_support.cpp.

ID3_C_EXPORT size_t ID3_RemovePictureType | ( | ID3_Tag * | ,
|  | ID3_PictureType | pictype
| ) |  |

Definition at line 630 of file misc_support.cpp.

ID3_C_EXPORT size_t ID3_RemoveTitles | ( | ID3_Tag * |  | ) |

Definition at line 254 of file misc_support.cpp.

ID3_C_EXPORT size_t ID3_RemoveTracks | ( | ID3_Tag * |  | ) |

Definition at line 772 of file misc_support.cpp.

ID3_C_EXPORT size_t ID3_RemoveYears | ( | ID3_Tag * |  | ) |

Definition at line 313 of file misc_support.cpp.