MagickCore 7.0.10
utility.h
Go to the documentation of this file.
1/*
2 Copyright @ 1999 ImageMagick Studio LLC, a non-profit organization
3 dedicated to making software imaging solutions freely available.
4
5 You may not use this file except in compliance with the License.
6 obtain a copy of the License at
7
8 https://imagemagick.org/script/license.php
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15
16 Wizard's Toolkit utility methods.
17*/
18#ifndef _WIZARDSTOOLKIT_UTILITY_H
19#define _WIZARDSTOOLKIT_UTILITY_H
20
21#if defined(__cplusplus) || defined(c_plusplus)
22extern "C" {
23#endif
24
25typedef enum
26{
37
38extern WizardExport char
39 *Base64Encode(const unsigned char *,const size_t,size_t *),
40 **GetPathComponents(const char *,size_t *);
41
42extern WizardExport const char
43 *ParseWizardTime(const char *,time_t *);
44
45extern WizardExport unsigned char
46 *Base64Decode(const char *, size_t *);
47
48extern WizardExport void
49 AppendFileExtension(const char *,char *),
50 ChopPathComponents(char *,const size_t),
51 GetPathComponent(const char *,PathType,char *);
52
54 GetExecutionPath(char *,const size_t),
55 IsPathAcessible(const char *),
56 IsWizardTrue(const char *);
57
58#if defined(__cplusplus) || defined(c_plusplus)
59}
60#endif
61
62#endif
#define WizardExport
WizardExport char * Base64Encode(const unsigned char *, const size_t, size_t *)
WizardExport void AppendFileExtension(const char *, char *)
WizardExport void ChopPathComponents(char *, const size_t)
WizardExport char ** GetPathComponents(const char *, size_t *)
Definition utility.c:576
WizardExport const char * ParseWizardTime(const char *, time_t *)
Definition utility.c:951
WizardExport WizardBooleanType IsWizardTrue(const char *)
Definition utility.c:910
WizardExport WizardBooleanType GetExecutionPath(char *, const size_t)
Definition utility.c:643
PathType
Definition utility.h:26
@ RootPath
Definition utility.h:29
@ ExtensionPath
Definition utility.h:33
@ SubnodePath
Definition utility.h:34
@ TailPath
Definition utility.h:31
@ FilesystemPath
Definition utility.h:28
@ HeadPath
Definition utility.h:30
@ BasePath
Definition utility.h:32
@ CanonicalPath
Definition utility.h:35
@ UndefinedPath
Definition utility.h:27
WizardExport unsigned char * Base64Decode(const char *, size_t *)
Definition utility.c:136
WizardExport void GetPathComponent(const char *, PathType, char *)
Definition utility.c:415
WizardExport WizardBooleanType IsPathAcessible(const char *)
WizardBooleanType
Definition wizard-type.h:26