![]() |
![]() |
![]() |
|
[
About the Wizard's Toolkit ] [ Command-line Tools ] [ Application Program Interface ] [ Install from Source Unix Windows Binary Releases Unix Windows ] [ Download ] [ Search ] [ Sponsors: ] |
GetMimeInfoList() returns any image aliases that match the specified pattern. The magic of the GetMimeInfoList function is:
const MimeInfo **GetMimeInfoList(const char *pattern,
unsigned long *number_aliases,ExceptionInfo *exception)
A description of each parameter follows: patternSpecifies a pointer to a text string containing a pattern. number_aliasesThis integer returns the number of magics in the list. exceptionReturn any errors or warnings in this structure. GetMimeList() returns any image format aliases that match the specified pattern. The format of the GetMimeList function is:
char **GetMimeList(const char *pattern,unsigned long *number_aliases,
ExceptionInfo *exception)
A description of each parameter follows: patternSpecifies a pointer to a text string containing a pattern. number_aliasesThis integer returns the number of image format aliases in the list. exceptionReturn any errors or warnings in this structure. GetMimeDescription() returns the mime type description. The format of the GetMimeDescription method is: const char *GetMimeDescription(const MimeInfo *mime_info) A description of each parameter follows: mime_infoThe magic info. GetMimeType() returns the mime type. The format of the GetMimeType method is: const char *GetMimeType(const MimeInfo *mime_info) A description of each parameter follows: mime_infoThe magic info. ListMimeInfo() lists the magic info to a file. The format of the ListMimeInfo method is: WizardBooleanType ListMimeInfo(FILE *file,ExceptionInfo *exception) A description of each parameter follows. fileAn pointer to a FILE. exceptionReturn any errors or warnings in this structure. LoadMimeList() loads one or more magic configuration file which provides a mapping between magic attributes and a magic name. The format of the LoadMimeLists method is:
WizardBooleanType LoadMimeLists(const char *filename,
ExceptionInfo *exception)
A description of each parameter follows: filenameThe font file name. exceptionReturn any errors or warnings in this structure. |