00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef _WIZARDS_TOOLKIT_UTILITY_H
00019 #define _WIZARDS_TOOLKIT_UTILITY_H
00020
00021 #if defined(__cplusplus) || defined(c_plusplus)
00022 extern "C" {
00023 #endif
00024
00025 typedef enum
00026 {
00027 UndefinedPath,
00028 FilesystemPath,
00029 RootPath,
00030 HeadPath,
00031 TailPath,
00032 BasePath,
00033 ExtensionPath,
00034 SubnodePath,
00035 CanonicalPath
00036 } PathType;
00037
00038 extern WizardExport char
00039 *Base64Encode(const unsigned char *,const size_t,size_t *),
00040 **GetPathComponents(const char *,unsigned long *);
00041
00042 extern WizardExport FILE
00043 *WizardOpenStream(const char *,const char *);
00044
00045 extern WizardExport unsigned char
00046 *Base64Decode(const char *, size_t *);
00047
00048 extern WizardExport void
00049 AppendFileExtension(const char *,char *),
00050 ChopPathComponents(char *,const unsigned long),
00051 GetPathComponent(const char *,PathType,char *);
00052
00053 extern WizardExport WizardBooleanType
00054 GetExecutionPath(char *,const size_t),
00055 IsAccessible(const char *),
00056 IsWizardTrue(const char *);
00057
00058 #if defined(__cplusplus) || defined(c_plusplus)
00059 }
00060 #endif
00061
00062 #endif