├── .auto-changelog ├── .travis.yml ├── AUTHORS.txt ├── ChangeLog.md ├── LICENSE ├── Makefile ├── Makefile.am ├── Makefile.in ├── NEWS.txt ├── NOTICE ├── QuickStart.txt ├── README.txt ├── WizardsToolkit.spec.in ├── aclocal.m4 ├── common.shi.in ├── config ├── Makefile.am ├── WizardsToolkit.dox.in ├── bootstrap ├── compile ├── config.guess ├── config.h ├── config.h.in ├── config.sub ├── configure.xml.in ├── depcomp ├── install-sh ├── lndir.sh ├── log.xml ├── ltmain.sh ├── mime.c ├── mime.xml ├── missing ├── mkinstalldirs ├── tap-driver.sh └── test-driver ├── configure ├── configure.ac ├── images ├── background.jpg ├── donate.png ├── logo.jpg ├── networkredux.png ├── promote.png ├── script.gif ├── script.png ├── sponsor.jpg ├── sprite.jpg ├── sprite.png ├── star.gif ├── t-shirt.png ├── top.gif ├── wand.ico ├── wand.png ├── warrior.jpg └── warrior.png ├── index.html ├── m4 ├── Makefile.am ├── ax_append_flag.m4 ├── ax_c___attribute__.m4 ├── ax_cflags_warn_all.m4 ├── ax_check_compile_flag.m4 ├── ax_compiler_vendor.m4 ├── ax_cxx_bool.m4 ├── ax_cxx_namespace_std.m4 ├── ax_cxx_namespaces.m4 ├── ax_gcc_archflag.m4 ├── ax_gcc_x86_cpuid.m4 ├── ax_lang_compiler_ms.m4 ├── ax_opencl.m4 ├── ax_prefix_config_h.m4 ├── ax_prepend_flag.m4 ├── ax_pthread.m4 ├── ax_require_defined.m4 ├── cxx_have_bool.m4 ├── cxx_have_lstring.m4 ├── cxx_have_namespaces.m4 ├── cxx_have_std_libs.m4 ├── cxx_have_std_namespace.m4 ├── ld-version-script.m4 ├── libtool.m4 ├── ltoptions.m4 ├── ltsugar.m4 ├── ltversion.m4 ├── lt~obsolete.m4 ├── pkg.m4 ├── version.m4 └── wizard_func_mmap_fileio.m4 ├── tests ├── Makefile.am ├── common.shi ├── passphrase.txt ├── validate.c ├── validate.h └── validate.tap ├── utilities ├── Makefile.am ├── cipher-info.1 ├── cipher-info.1.in ├── cipher-info.c ├── content.c ├── content.h ├── decipher.1 ├── decipher.1.in ├── decipher.c ├── digest.1 ├── digest.1.in ├── digest.c ├── encipher.1 ├── encipher.1.in ├── encipher.c ├── keyring.1 ├── keyring.1.in ├── keyring.c ├── tests │ ├── README.txt │ ├── cipher-info.tap │ ├── common.shi │ ├── decipher.tap │ ├── digest.tap │ ├── encipher.tap │ ├── keyring.tap │ └── passphrase.txt ├── utility.c └── utility_.h ├── windows ├── README.txt ├── Wizard's Toolkit.sln ├── Wizard's Toolkit.vcproj ├── WizardsToolkit.bat.in ├── bin │ └── configure.xml ├── cipher-info.vcproj ├── decipher.vcproj ├── digest.vcproj ├── encipher.vcproj ├── installer │ ├── README.txt │ ├── Wizard's Toolkit-x64.iss │ ├── Wizard's Toolkit.iss │ ├── docs │ │ ├── after.rtf │ │ ├── after.sxw │ │ ├── before.rtf │ │ ├── before.sxw │ │ ├── license.rtf │ │ └── license.sxw │ ├── images │ │ └── Wizard's Toolkit.ico │ ├── scripts │ │ ├── .tasks-desktopicon.isx.swp │ │ ├── body.isx │ │ ├── files-base.isx │ │ ├── files-configs.isx │ │ ├── files-development.isx │ │ ├── files-dlls.isx │ │ ├── files-documentation.isx │ │ ├── icons-associate.isx │ │ ├── modpath.iss │ │ ├── registry-application.isx │ │ ├── run-pathtool.isx │ │ ├── setup.isx │ │ ├── tasks-desktopicon.isx │ │ ├── tasks-install-devel.isx │ │ ├── tasks-update-path.isx │ │ ├── uninstallrun-pathtool.isx │ │ ├── version.isx │ │ └── version.isx.in │ └── tools │ │ ├── PathTool.exe │ │ ├── README.txt │ │ ├── amd64 │ │ ├── atl100.dll │ │ ├── mfc100.dll │ │ ├── msvcp100.dll │ │ ├── msvcr100.dll │ │ └── vcomp100.dll │ │ └── x86 │ │ ├── atl100.dll │ │ ├── bzip2.dll │ │ ├── mfc100.dll │ │ ├── msvcp100.dll │ │ ├── msvcr100.dll │ │ ├── vcomp100.dll │ │ └── zlib1.dll ├── keyring.vcproj ├── validate.vcproj └── wizard │ └── wizard-config.h ├── winpath.sh ├── wizard.sh.in ├── wizard ├── Makefile.am ├── WizardsToolkit-config.1 ├── WizardsToolkit-config.in ├── WizardsToolkit.h ├── WizardsToolkit.pc.in ├── aes.c ├── aes.h ├── authenticate.c ├── authenticate.h ├── blob-private.h ├── blob.c ├── blob.h ├── bzip.c ├── bzip.h ├── chacha.c ├── chacha.h ├── cipher.c ├── cipher.h ├── client.c ├── client.h ├── configure.c ├── configure.h ├── crc64.c ├── crc64.h ├── entropy.c ├── entropy.h ├── exception-private.h ├── exception.c ├── exception.h ├── file.c ├── file.h ├── hash.c ├── hash.h ├── hashmap.c ├── hashmap.h ├── hmac.c ├── hmac.h ├── key.c ├── key.h ├── keyring.c ├── keyring.h ├── libWizardsToolkit.map ├── locale.c ├── locale_.h ├── log.c ├── log.h ├── lzma.c ├── lzma.h ├── magick.c ├── magick.h ├── md5.c ├── md5.h ├── memory-private.h ├── memory.c ├── memory_.h ├── method-attribute.h ├── mime-private.h ├── mime.c ├── mime.h ├── nt-base.c ├── nt-base.h ├── option.c ├── option.h ├── passphrase.c ├── passphrase.h ├── random.c ├── random_.h ├── resource.c ├── resource_.h ├── sanitize.c ├── sanitize.h ├── secret.c ├── secret.h ├── semaphore-private.h ├── semaphore.c ├── semaphore.h ├── serpent.c ├── serpent.h ├── sha1.c ├── sha1.h ├── sha2224.c ├── sha2224.h ├── sha2256.c ├── sha2256.h ├── sha2384.c ├── sha2384.h ├── sha2512.c ├── sha2512.h ├── sha3.c ├── sha3.h ├── signature.c ├── signature.h ├── splay-tree.c ├── splay-tree.h ├── string-private.h ├── string.c ├── string_.h ├── studio.h ├── thread-private.h ├── thread.c ├── thread_.h ├── timer.c ├── timer.h ├── token.c ├── token.h ├── twofish.c ├── twofish.h ├── utility-private.h ├── utility.c ├── utility.h ├── version.c ├── version.h ├── version.h.in ├── wizard-baseconfig.h ├── wizard-config.h ├── wizard-type.h ├── wizard.c ├── wizard.h ├── xml-tree-private.h ├── xml-tree.c ├── xml-tree.h ├── zip.c └── zip.h └── www ├── api.html ├── api ├── WizardsToolkit │ ├── WizardsToolkit_8h-source.html │ ├── WizardsToolkit_8h.html │ ├── aes_8c.html │ ├── aes_8h-source.html │ ├── aes_8h.html │ ├── annotated.html │ ├── authenticate_8c.html │ ├── authenticate_8h-source.html │ ├── authenticate_8h.html │ ├── blob-private_8h-source.html │ ├── blob-private_8h.html │ ├── blob_8c.html │ ├── blob_8h-source.html │ ├── blob_8h.html │ ├── bzip_8c.html │ ├── bzip_8h-source.html │ ├── bzip_8h.html │ ├── cipher_8c.html │ ├── cipher_8h-source.html │ ├── cipher_8h.html │ ├── classes.html │ ├── client_8c.html │ ├── client_8h-source.html │ ├── client_8h.html │ ├── configure_8c.html │ ├── configure_8h-source.html │ ├── configure_8h.html │ ├── crc64_8c.html │ ├── crc64_8h-source.html │ ├── crc64_8h.html │ ├── digest_8c.html │ ├── dir_cd3570322bb5d2bd837f4a567e369f40.html │ ├── dirs.html │ ├── doxygen.css │ ├── doxygen.png │ ├── elliptic-curve_8c.html │ ├── elliptic-curve_8h-source.html │ ├── elliptic-curve_8h.html │ ├── entropy_8c.html │ ├── entropy_8h-source.html │ ├── entropy_8h.html │ ├── exception-private_8h-source.html │ ├── exception-private_8h.html │ ├── exception_8c.html │ ├── exception_8h-source.html │ ├── exception_8h.html │ ├── file_8c.html │ ├── file_8h-source.html │ ├── file_8h.html │ ├── files.html │ ├── ftv2blank.png │ ├── ftv2doc.png │ ├── ftv2folderclosed.png │ ├── ftv2folderopen.png │ ├── ftv2lastnode.png │ ├── ftv2link.png │ ├── ftv2mlastnode.png │ ├── ftv2mnode.png │ ├── ftv2node.png │ ├── ftv2plastnode.png │ ├── ftv2pnode.png │ ├── ftv2vertline.png │ ├── functions.html │ ├── functions_0x62.html │ ├── functions_0x63.html │ ├── functions_0x64.html │ ├── functions_0x65.html │ ├── functions_0x66.html │ ├── functions_0x67.html │ ├── functions_0x68.html │ ├── functions_0x69.html │ ├── functions_0x6b.html │ ├── functions_0x6c.html │ ├── functions_0x6d.html │ ├── functions_0x6e.html │ ├── functions_0x6f.html │ ├── functions_0x70.html │ ├── functions_0x71.html │ ├── functions_0x72.html │ ├── functions_0x73.html │ ├── functions_0x74.html │ ├── functions_0x75.html │ ├── functions_0x76.html │ ├── functions_0x77.html │ ├── functions_vars.html │ ├── functions_vars_0x62.html │ ├── functions_vars_0x63.html │ ├── functions_vars_0x64.html │ ├── functions_vars_0x65.html │ ├── functions_vars_0x66.html │ ├── functions_vars_0x67.html │ ├── functions_vars_0x68.html │ ├── functions_vars_0x69.html │ ├── functions_vars_0x6b.html │ ├── functions_vars_0x6c.html │ ├── functions_vars_0x6d.html │ ├── functions_vars_0x6e.html │ ├── functions_vars_0x6f.html │ ├── functions_vars_0x70.html │ ├── functions_vars_0x71.html │ ├── functions_vars_0x72.html │ ├── functions_vars_0x73.html │ ├── functions_vars_0x74.html │ ├── functions_vars_0x75.html │ ├── functions_vars_0x76.html │ ├── functions_vars_0x77.html │ ├── globals.html │ ├── globals_0x61.html │ ├── globals_0x62.html │ ├── globals_0x63.html │ ├── globals_0x64.html │ ├── globals_0x65.html │ ├── globals_0x66.html │ ├── globals_0x67.html │ ├── globals_0x68.html │ ├── globals_0x69.html │ ├── globals_0x6b.html │ ├── globals_0x6c.html │ ├── globals_0x6d.html │ ├── globals_0x6e.html │ ├── globals_0x6f.html │ ├── globals_0x70.html │ ├── globals_0x71.html │ ├── globals_0x72.html │ ├── globals_0x73.html │ ├── globals_0x74.html │ ├── globals_0x75.html │ ├── globals_0x76.html │ ├── globals_0x77.html │ ├── globals_0x78.html │ ├── globals_0x7a.html │ ├── globals_defs.html │ ├── globals_defs_0x61.html │ ├── globals_defs_0x62.html │ ├── globals_defs_0x63.html │ ├── globals_defs_0x64.html │ ├── globals_defs_0x65.html │ ├── globals_defs_0x66.html │ ├── globals_defs_0x67.html │ ├── globals_defs_0x68.html │ ├── globals_defs_0x69.html │ ├── globals_defs_0x6b.html │ ├── globals_defs_0x6c.html │ ├── globals_defs_0x6d.html │ ├── globals_defs_0x6e.html │ ├── globals_defs_0x6f.html │ ├── globals_defs_0x70.html │ ├── globals_defs_0x71.html │ ├── globals_defs_0x72.html │ ├── globals_defs_0x73.html │ ├── globals_defs_0x74.html │ ├── globals_defs_0x75.html │ ├── globals_defs_0x76.html │ ├── globals_defs_0x77.html │ ├── globals_defs_0x78.html │ ├── globals_enum.html │ ├── globals_eval.html │ ├── globals_eval_0x62.html │ ├── globals_eval_0x63.html │ ├── globals_eval_0x64.html │ ├── globals_eval_0x65.html │ ├── globals_eval_0x66.html │ ├── globals_eval_0x68.html │ ├── globals_eval_0x69.html │ ├── globals_eval_0x6b.html │ ├── globals_eval_0x6c.html │ ├── globals_eval_0x6d.html │ ├── globals_eval_0x6e.html │ ├── globals_eval_0x6f.html │ ├── globals_eval_0x70.html │ ├── globals_eval_0x72.html │ ├── globals_eval_0x73.html │ ├── globals_eval_0x74.html │ ├── globals_eval_0x75.html │ ├── globals_eval_0x77.html │ ├── globals_eval_0x7a.html │ ├── globals_func.html │ ├── globals_func_0x62.html │ ├── globals_func_0x63.html │ ├── globals_func_0x64.html │ ├── globals_func_0x65.html │ ├── globals_func_0x66.html │ ├── globals_func_0x67.html │ ├── globals_func_0x68.html │ ├── globals_func_0x69.html │ ├── globals_func_0x6c.html │ ├── globals_func_0x6d.html │ ├── globals_func_0x6e.html │ ├── globals_func_0x6f.html │ ├── globals_func_0x70.html │ ├── globals_func_0x72.html │ ├── globals_func_0x73.html │ ├── globals_func_0x74.html │ ├── globals_func_0x75.html │ ├── globals_func_0x76.html │ ├── globals_func_0x77.html │ ├── globals_func_0x78.html │ ├── globals_type.html │ ├── globals_vars.html │ ├── hash_8c.html │ ├── hash_8h-source.html │ ├── hash_8h.html │ ├── hashmap_8c.html │ ├── hashmap_8h-source.html │ ├── hashmap_8h.html │ ├── hmac_8c.html │ ├── hmac_8h-source.html │ ├── hmac_8h.html │ ├── index.html │ ├── key_8c.html │ ├── key_8h-source.html │ ├── key_8h.html │ ├── keyring_8c.html │ ├── keyring_8h-source.html │ ├── keyring_8h.html │ ├── log_8c.html │ ├── log_8h-source.html │ ├── log_8h.html │ ├── magick_8c.html │ ├── magick_8h-source.html │ ├── magick_8h.html │ ├── main.html │ ├── md5_8c.html │ ├── md5_8h-source.html │ ├── md5_8h.html │ ├── memory_8c.html │ ├── memory___8h-source.html │ ├── memory___8h.html │ ├── mime-private_8h-source.html │ ├── mime-private_8h.html │ ├── mime_8c.html │ ├── mime_8h-source.html │ ├── mime_8h.html │ ├── nt-base_8c.html │ ├── nt-base_8h-source.html │ ├── nt-base_8h.html │ ├── option_8c.html │ ├── option_8h-source.html │ ├── option_8h.html │ ├── passphrase_8c.html │ ├── passphrase_8h-source.html │ ├── passphrase_8h.html │ ├── random_8c.html │ ├── random___8h-source.html │ ├── random___8h.html │ ├── resource_8c.html │ ├── resource___8h-source.html │ ├── resource___8h.html │ ├── sanitize_8c.html │ ├── sanitize_8h-source.html │ ├── sanitize_8h.html │ ├── secret_8c.html │ ├── secret_8h-source.html │ ├── secret_8h.html │ ├── semaphore_8c.html │ ├── semaphore_8h-source.html │ ├── semaphore_8h.html │ ├── serpent_8c.html │ ├── serpent_8h-source.html │ ├── serpent_8h.html │ ├── sha1_8c.html │ ├── sha1_8h-source.html │ ├── sha1_8h.html │ ├── sha2224_8c.html │ ├── sha2224_8h-source.html │ ├── sha2224_8h.html │ ├── sha2256_8c.html │ ├── sha2256_8h-source.html │ ├── sha2256_8h.html │ ├── sha2384_8c.html │ ├── sha2384_8h-source.html │ ├── sha2384_8h.html │ ├── sha2512_8c.html │ ├── sha2512_8h-source.html │ ├── sha2512_8h.html │ ├── signature_8c.html │ ├── signature_8h-source.html │ ├── signature_8h.html │ ├── splay-tree_8c.html │ ├── splay-tree_8h-source.html │ ├── splay-tree_8h.html │ ├── string_8c.html │ ├── string___8h-source.html │ ├── string___8h.html │ ├── structSemaphoreInfo.html │ ├── struct__AESInfo.html │ ├── struct__AuthenticateInfo.html │ ├── struct__BZIPInfo.html │ ├── struct__BlobInfo.html │ ├── struct__CRC64Info.html │ ├── struct__CipherInfo.html │ ├── struct__ConfigureInfo.html │ ├── struct__DIR.html │ ├── struct__DataSegmentInfo.html │ ├── struct__ElementInfo.html │ ├── struct__EllipticCurveInfo.html │ ├── struct__EntropyInfo.html │ ├── struct__EntryInfo.html │ ├── struct__EventInfo.html │ ├── struct__ExceptionInfo.html │ ├── struct__FileInfo.html │ ├── struct__HMACInfo.html │ ├── struct__HandlerInfo.html │ ├── struct__HashInfo.html │ ├── struct__HashmapInfo.html │ ├── struct__KeyInfo.html │ ├── struct__KeyringInfo.html │ ├── struct__LinkedListInfo.html │ ├── struct__LogInfo.html │ ├── struct__MD5Info.html │ ├── struct__MemoryInfo.html │ ├── struct__MimeInfo.html │ ├── struct__NTMEMORYSTATUSEX.html │ ├── struct__NodeInfo.html │ ├── struct__OptionInfo.html │ ├── struct__RandomInfo.html │ ├── struct__ResourceInfo.html │ ├── struct__SHA1Info.html │ ├── struct__SHA224Info.html │ ├── struct__SHA256Info.html │ ├── struct__SHA384Info.html │ ├── struct__SHA512Info.html │ ├── struct__SecretInfo.html │ ├── struct__SerpentInfo.html │ ├── struct__SignatureInfo.html │ ├── struct__SplayTreeInfo.html │ ├── struct__StringInfo.html │ ├── struct__Timer.html │ ├── struct__TimerInfo.html │ ├── struct__TokenInfo.html │ ├── struct__TwofishInfo.html │ ├── struct__XMLTreeInfo.html │ ├── struct__XMLTreeRoot.html │ ├── struct__ZIPInfo.html │ ├── structdirent.html │ ├── studio_8h-source.html │ ├── studio_8h.html │ ├── tab_b.gif │ ├── tab_l.gif │ ├── tab_r.gif │ ├── tabs.css │ ├── timer_8c.html │ ├── timer_8h-source.html │ ├── timer_8h.html │ ├── token_8c.html │ ├── token_8h-source.html │ ├── token_8h.html │ ├── tree.html │ ├── twofish_8c.html │ ├── twofish_8h-source.html │ ├── twofish_8h.html │ ├── utility_8c.html │ ├── utility_8h-source.html │ ├── utility_8h.html │ ├── version_8c.html │ ├── version_8h-source.html │ ├── version_8h.html │ ├── wizard-config_8h-source.html │ ├── wizard-config_8h.html │ ├── wizard-type_8h-source.html │ ├── wizard-type_8h.html │ ├── wizard_8c.html │ ├── wizard_8h-source.html │ ├── wizard_8h.html │ ├── xml-tree_8c.html │ ├── xml-tree_8h-source.html │ ├── xml-tree_8h.html │ ├── zip_8c.html │ ├── zip_8h-source.html │ └── zip_8h.html ├── aes.html ├── authenticate.html ├── blob.html ├── bzip.html ├── cipher.html ├── client.html ├── crc64.html ├── entropy.html ├── exception.html ├── file.html ├── hash.html ├── hashmap.html ├── hmac.html ├── key.html ├── keyring.html ├── log.html ├── lzma.html ├── magick.html ├── md5.html ├── memory.html ├── mime.html ├── option.html ├── passphrase.html ├── random.html ├── resource.html ├── sanitize.html ├── secret.html ├── semaphore.html ├── serpent.html ├── sha1.html ├── sha2224.html ├── sha2256.html ├── sha2384.html ├── sha2512.html ├── sha3.html ├── splay-tree.html ├── string.html ├── timer.html ├── token.html ├── twofish.html ├── utility.html ├── version.html ├── xml-tree.html └── zip.html ├── assets ├── magick.css └── magick.js ├── binary-releases.html ├── changelog.html ├── cipher-info.html ├── command-line-options.html ├── command-line-tools.html ├── contact.html ├── decipher.html ├── digest.html ├── download.html ├── encipher.html ├── export.html ├── favicon.ico ├── index.html ├── install-source.html ├── keyring.html ├── license.html ├── notice.html ├── search.html ├── source └── wizard.c ├── sponsors.html ├── subversion.html ├── t-shirt.html ├── toolkit.html ├── topics.html ├── wand.png └── wizard.css /.auto-changelog: -------------------------------------------------------------------------------- 1 | { 2 | "output": "ChangeLog.md", 3 | "template": "keepachangelog", 4 | "unreleased": false, 5 | "commitLimit": false, 6 | "startingVersion": "1.0.9-0", 7 | "hideCredit": true 8 | } 9 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: c 2 | 3 | 4 | compiler: 5 | - clang 6 | - gcc 7 | 8 | before_script: 9 | - sudo add-apt-repository ppa:dns/gnu -y 10 | - sudo apt-get update -q 11 | - sudo apt-get install --only-upgrade autoconf 12 | 13 | script: 14 | - export OMP_NUM_THREADS=1 15 | - export CFLAGS="-Wno-deprecated-declarations -Wdeclaration-after-statement -Wno-error=unused-variable" 16 | - ./configure --disable-openmp --with-quantum-depth=16 --enable-hdri=no 17 | - make 18 | -------------------------------------------------------------------------------- /AUTHORS.txt: -------------------------------------------------------------------------------- 1 | Cristy is the principal architect of the Wizard's Toolkit and 2 | still maintains the the Wizard's Toolkit distribution. 3 | -------------------------------------------------------------------------------- /ChangeLog.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | All notable changes to this project will be documented in this file. 4 | 5 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) 6 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). 7 | -------------------------------------------------------------------------------- /NEWS.txt: -------------------------------------------------------------------------------- 1 | There is no news at this time. 2 | -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- 1 | This copyright is limited to code for reading XML files in wizard/xml-tree.c, incorporated from the ezxml package: 2 | 3 | 4 | Copyright 2004-2006 Aaron Voisine 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 7 | 8 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 9 | 10 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 11 | -------------------------------------------------------------------------------- /README.txt: -------------------------------------------------------------------------------- 1 | Introduction to the Wizard's Toolkit 2 | 3 | The Wizard's Toolkit provides command-line utilities to convert plaintext to ciphertext, convert ciphertext to plaintext, report properties associated with ciphertext, compute the message digest of a file, and read message digests from a file and authenticate them. In addition, the Wizard's Toolkit includes a cross-platform C API that includes a number of encryption and hash methods many developers should find useful in their projects. 4 | 5 | Wizard's Toolkit is free software delivered as a ready-to-run binary distribution or as source code that you may use, copy, modify, and distribute in both open and proprietary applications. It is distributed under a derived Apache 2.0 license. 6 | 7 | The current release is Wizard's Toolkit 1.0.9-4. It runs on Linux, Windows, Mac Os X, iOS, Android OS, and others. 8 | 9 | The authoritative Wizard's Toolkit web site is https://magick.imagemagick.org. The authoritative source code repository is https://github.com/ImageMagick/WizardsToolkit. 10 | 11 | Features and Capabilities 12 | 13 | Here are just a few examples of what the Wizard's Toolkit command line utilities can do: 14 | 15 | * Convert plaintext to ciphertext 16 | * Convert ciphertext to plaintext 17 | * Report properties associated with ciphertext. 18 | * Compute the message digest of a file. 19 | * Read message digests from a file and verify them. 20 | 21 | Here are just a few examples of what the Wizard's Toolkit Application Programming Interface can do: 22 | 23 | * Return files as Binary Large OBjectS 24 | * Write/read characters, shorts, words, and long words to/from a file 25 | * Compute a cyclic redunancy checksum 26 | * Handle C exceptions 27 | * Generate a secure hash (includes MD5, SHA-1, SHA-224, SHA-256, SHA-384, 28 | * and SHA-512) 29 | * Generate a keyed-hash for message authentication 30 | * Encipher/decipher messages (includes AES, Serpent, and Twofish) 31 | * Authenticate a user (only secret-key supported at this time) 32 | * Map content with its associated mime type and file extension 33 | * Log events to the console or XML-style file 34 | * Anonymous memory-mapped memory allocation/deallocation 35 | * Increase entropy with message compression 36 | * Generate cryptographically-strong random numbers 37 | * Acquire/relinquish resources 38 | * Acquire/relinquish semaphores 39 | * Store/retrieve key-value pairs to/from a hashmap or linked-list 40 | * Store/retrieve key-value pairs to/from a self-adjusting binary tree 41 | * Parse or generate a XML document 42 | * Convenience methods for dealing with strings 43 | -------------------------------------------------------------------------------- /common.shi.in: -------------------------------------------------------------------------------- 1 | # -*- shell-script -*- 2 | # Copyright @ 1999 ImageMagick Studio LLC 3 | # Definitions of optional features and configuration values for this build. 4 | # Intended for use by test scripts. 5 | top_srcdir='@abs_top_srcdir@' 6 | top_builddir='@abs_top_builddir@' 7 | 8 | set -a 9 | ENCIPHER="@abs_top_builddir@/utilities/encipher" 10 | DECIPHER="@abs_top_builddir@/utilities/decipher" 11 | CIPHERINFO="@abs_top_builddir@/utilities/cipher-info" 12 | KEYRING="@abs_top_builddir@/utilities/keyring" 13 | DIGEST="@abs_top_builddir@/utilities/digest" 14 | VALIDATE="@abs_top_builddir@/tests/validate" 15 | LD_LIBRARY_PATH="@abs_top_builddir@/wizard/.libs:${LD_LIBRARY_PATH}" 16 | WIZARD_CONFIGURE_PATH="@abs_top_builddir@/config" 17 | PATH="@abs_top_builddir@/utilities:@abs_top_builddir@/tests:${PATH}" 18 | set +a 19 | -------------------------------------------------------------------------------- /config/Makefile.am: -------------------------------------------------------------------------------- 1 | # Copyright @ 1999 ImageMagick Studio LLC, a non-profit organization 2 | # dedicated to making software imaging solutions freely available. 3 | # 4 | # You may not use this file except in compliance with the License. You may 5 | # obtain a copy of the License at 6 | # 7 | # https://urban-warrior.org/WizardsToolkit/script/license.php 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # 15 | # Makefile for the Wizard's Toolkit configuration files. 16 | 17 | # Where architecture-independent configuration files get installed 18 | # (share/ImageMagick-version) 19 | configsharedir = $(SHARE_PATH) 20 | configshare_DATA = \ 21 | config/configure.xml 22 | 23 | # Where architecture-dependent configuration files get installed 24 | # (share/arch/WizardsToolkit-version) 25 | configsharearchdir = $(SHAREARCH_PATH) 26 | configsharearch_DATA = \ 27 | config/configure.xml 28 | 29 | # Where architecture-dependent configuration files get installed 30 | # (lib/ImageMagick-version) 31 | configlibdir = $(CONFIGURE_PATH) 32 | configlib_DATA = \ 33 | config/log.xml \ 34 | config/mime.xml 35 | 36 | CONFIG_EXTRA_DIST = \ 37 | config/configure.xml \ 38 | config/config.h.in \ 39 | config/install-sh \ 40 | config/log.xml \ 41 | config/mime.c \ 42 | config/mime.xml 43 | -------------------------------------------------------------------------------- /config/bootstrap: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -x 4 | aclocal -I m4 5 | libtoolize --copy 6 | autoheader 7 | automake --foreign --add-missing --copy 8 | autoconf 9 | -------------------------------------------------------------------------------- /config/configure.xml.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /config/lndir.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | # lndir - create shadow link tree 4 | # 5 | # Time stamp <89/11/28 18:56:54 gildea> 6 | # By Stephen Gildea based on 7 | # XConsortium: lndir.sh,v 1.1 88/10/20 17:37:16 jim Exp 8 | # 9 | # Modified slightly for ImageMagick by Bob Friesenhahn, 1999 10 | # 11 | # Used to create a copy of the a directory tree that has links for all 12 | # non- directories. If you are building the distribution on more than 13 | # one machine, you should use this script. 14 | # 15 | # If your master sources are located in /usr/local/src/X and you would like 16 | # your link tree to be in /usr/local/src/new-X, do the following: 17 | # 18 | # % mkdir /usr/local/src/new-X 19 | # % cd /usr/local/src/new-X 20 | # % lndir ../X 21 | # 22 | # Note: does not link files beginning with "." Is this a bug or a feature? 23 | # 24 | # Improvements over R3 version: 25 | # Allows the fromdir to be relative: usually you want to say "../dist" 26 | # The name is relative to the todir, not the current directory. 27 | # 28 | # Bugs in R3 version fixed: 29 | # Do "pwd" command *after* "cd $DIRTO". 30 | # Don't try to link directories, avoiding error message " exists". 31 | # Barf with Usage message if either DIRFROM *or* DIRTO is not a directory. 32 | 33 | USAGE="Usage: $0 fromdir [todir]" 34 | 35 | if [ $# -lt 1 -o $# -gt 2 ] 36 | then 37 | echo "$USAGE" 38 | exit 1 39 | fi 40 | 41 | DIRFROM=$1 42 | 43 | if [ $# -eq 2 ]; 44 | then 45 | DIRTO=$2 46 | else 47 | DIRTO=. 48 | fi 49 | 50 | if [ ! -d $DIRTO ] 51 | then 52 | echo "$0: $DIRTO is not a directory" 53 | echo "$USAGE" 54 | exit 2 55 | fi 56 | 57 | cd $DIRTO 58 | 59 | if [ ! -d $DIRFROM ] 60 | then 61 | echo "$0: $DIRFROM is not a directory" 62 | echo "$USAGE" 63 | exit 2 64 | fi 65 | 66 | pwd=`pwd` 67 | 68 | if [ `(cd $DIRFROM; pwd)` = $pwd ] 69 | then 70 | echo "$pwd: FROM and TO are identical!" 71 | exit 1 72 | fi 73 | 74 | for file in `ls $DIRFROM` 75 | do 76 | if [ ! -d $DIRFROM/$file ] 77 | then 78 | test -r $file || ln -s $DIRFROM/$file . 79 | else 80 | #echo $file: 81 | test -d $file || mkdir $file && chmod 777 $file 82 | (cd $file 83 | pwd=`pwd` 84 | case "$DIRFROM" in 85 | /*) ;; 86 | *) DIRFROM=../$DIRFROM ;; 87 | esac 88 | if [ `(cd $DIRFROM/$file; pwd)` = $pwd ] 89 | then 90 | echo "$pwd: FROM and TO are identical!" 91 | exit 1 92 | fi 93 | $0 $DIRFROM/$file 94 | ) 95 | fi 96 | done 97 | -------------------------------------------------------------------------------- /config/log.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | ]> 12 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /images/background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/images/background.jpg -------------------------------------------------------------------------------- /images/donate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/images/donate.png -------------------------------------------------------------------------------- /images/logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/images/logo.jpg -------------------------------------------------------------------------------- /images/networkredux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/images/networkredux.png -------------------------------------------------------------------------------- /images/promote.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/images/promote.png -------------------------------------------------------------------------------- /images/script.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/images/script.gif -------------------------------------------------------------------------------- /images/script.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/images/script.png -------------------------------------------------------------------------------- /images/sponsor.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/images/sponsor.jpg -------------------------------------------------------------------------------- /images/sprite.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/images/sprite.jpg -------------------------------------------------------------------------------- /images/sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/images/sprite.png -------------------------------------------------------------------------------- /images/star.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/images/star.gif -------------------------------------------------------------------------------- /images/t-shirt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/images/t-shirt.png -------------------------------------------------------------------------------- /images/top.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/images/top.gif -------------------------------------------------------------------------------- /images/wand.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/images/wand.ico -------------------------------------------------------------------------------- /images/wand.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/images/wand.png -------------------------------------------------------------------------------- /images/warrior.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/images/warrior.jpg -------------------------------------------------------------------------------- /images/warrior.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/images/warrior.png -------------------------------------------------------------------------------- /m4/Makefile.am: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2017 ImageMagick Studio LLC, a non-profit organization 2 | # dedicated to making software imaging solutions freely available. 3 | # 4 | # You may not use this file except in compliance with the License. You may 5 | # obtain a copy of the License at 6 | # 7 | # http://www.imagemagick.org/script/license.php 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # 15 | # Makefile for building ImageMagick m4 macros. 16 | 17 | M4_EXTRA_DIST = \ 18 | ac_func_fseeko.m4 \ 19 | ax_append_flag.m4 \ 20 | ax_c___attribute__.m4 \ 21 | ax_cflags_warn_all.m4 \ 22 | ax_compare_version.m4 \ 23 | ax_cxx_bool.m4 \ 24 | ax_cxx_namespaces.m4 \ 25 | ax_cxx_namespace_std.m4 \ 26 | ax_lang_compiler_ms.m4 \ 27 | ax_opencl.m4 \ 28 | ax_prefix_config_h.m4 \ 29 | ax_prog_perl_version.m4 \ 30 | ax_pthread.m4 \ 31 | ax_require_defined.m4 \ 32 | cxx_have_lstring.m4 \ 33 | cxx_have_std_libs.m4 \ 34 | framework.m4 \ 35 | libtool.m4 \ 36 | lt~obsolete.m4 \ 37 | ltoptions.m4 \ 38 | ltsugar.m4 \ 39 | ltversion.m4 \ 40 | magick_check_pthread_lib.m4 \ 41 | pkg.m4 \ 42 | version.m4 43 | -------------------------------------------------------------------------------- /m4/ax_append_flag.m4: -------------------------------------------------------------------------------- 1 | # =========================================================================== 2 | # https://www.gnu.org/software/autoconf-archive/ax_append_flag.html 3 | # =========================================================================== 4 | # 5 | # SYNOPSIS 6 | # 7 | # AX_APPEND_FLAG(FLAG, [FLAGS-VARIABLE]) 8 | # 9 | # DESCRIPTION 10 | # 11 | # FLAG is appended to the FLAGS-VARIABLE shell variable, with a space 12 | # added in between. 13 | # 14 | # If FLAGS-VARIABLE is not specified, the current language's flags (e.g. 15 | # CFLAGS) is used. FLAGS-VARIABLE is not changed if it already contains 16 | # FLAG. If FLAGS-VARIABLE is unset in the shell, it is set to exactly 17 | # FLAG. 18 | # 19 | # NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. 20 | # 21 | # LICENSE 22 | # 23 | # Copyright (c) 2008 Guido U. Draheim 24 | # Copyright (c) 2011 Maarten Bosmans 25 | # 26 | # Copying and distribution of this file, with or without modification, are 27 | # permitted in any medium without royalty provided the copyright notice 28 | # and this notice are preserved. This file is offered as-is, without any 29 | # warranty. 30 | 31 | #serial 8 32 | 33 | AC_DEFUN([AX_APPEND_FLAG], 34 | [dnl 35 | AC_PREREQ(2.64)dnl for _AC_LANG_PREFIX and AS_VAR_SET_IF 36 | AS_VAR_PUSHDEF([FLAGS], [m4_default($2,_AC_LANG_PREFIX[FLAGS])]) 37 | AS_VAR_SET_IF(FLAGS,[ 38 | AS_CASE([" AS_VAR_GET(FLAGS) "], 39 | [*" $1 "*], [AC_RUN_LOG([: FLAGS already contains $1])], 40 | [ 41 | AS_VAR_APPEND(FLAGS,[" $1"]) 42 | AC_RUN_LOG([: FLAGS="$FLAGS"]) 43 | ]) 44 | ], 45 | [ 46 | AS_VAR_SET(FLAGS,[$1]) 47 | AC_RUN_LOG([: FLAGS="$FLAGS"]) 48 | ]) 49 | AS_VAR_POPDEF([FLAGS])dnl 50 | ])dnl AX_APPEND_FLAG 51 | -------------------------------------------------------------------------------- /m4/ax_check_compile_flag.m4: -------------------------------------------------------------------------------- 1 | # =========================================================================== 2 | # https://www.gnu.org/software/autoconf-archive/ax_check_compile_flag.html 3 | # =========================================================================== 4 | # 5 | # SYNOPSIS 6 | # 7 | # AX_CHECK_COMPILE_FLAG(FLAG, [ACTION-SUCCESS], [ACTION-FAILURE], [EXTRA-FLAGS], [INPUT]) 8 | # 9 | # DESCRIPTION 10 | # 11 | # Check whether the given FLAG works with the current language's compiler 12 | # or gives an error. (Warnings, however, are ignored) 13 | # 14 | # ACTION-SUCCESS/ACTION-FAILURE are shell commands to execute on 15 | # success/failure. 16 | # 17 | # If EXTRA-FLAGS is defined, it is added to the current language's default 18 | # flags (e.g. CFLAGS) when the check is done. The check is thus made with 19 | # the flags: "CFLAGS EXTRA-FLAGS FLAG". This can for example be used to 20 | # force the compiler to issue an error when a bad flag is given. 21 | # 22 | # INPUT gives an alternative input source to AC_COMPILE_IFELSE. 23 | # 24 | # NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. Please keep this 25 | # macro in sync with AX_CHECK_{PREPROC,LINK}_FLAG. 26 | # 27 | # LICENSE 28 | # 29 | # Copyright (c) 2008 Guido U. Draheim 30 | # Copyright (c) 2011 Maarten Bosmans 31 | # 32 | # Copying and distribution of this file, with or without modification, are 33 | # permitted in any medium without royalty provided the copyright notice 34 | # and this notice are preserved. This file is offered as-is, without any 35 | # warranty. 36 | 37 | #serial 6 38 | 39 | AC_DEFUN([AX_CHECK_COMPILE_FLAG], 40 | [AC_PREREQ(2.64)dnl for _AC_LANG_PREFIX and AS_VAR_IF 41 | AS_VAR_PUSHDEF([CACHEVAR],[ax_cv_check_[]_AC_LANG_ABBREV[]flags_$4_$1])dnl 42 | AC_CACHE_CHECK([whether _AC_LANG compiler accepts $1], CACHEVAR, [ 43 | ax_check_save_flags=$[]_AC_LANG_PREFIX[]FLAGS 44 | _AC_LANG_PREFIX[]FLAGS="$[]_AC_LANG_PREFIX[]FLAGS $4 $1" 45 | AC_COMPILE_IFELSE([m4_default([$5],[AC_LANG_PROGRAM()])], 46 | [AS_VAR_SET(CACHEVAR,[yes])], 47 | [AS_VAR_SET(CACHEVAR,[no])]) 48 | _AC_LANG_PREFIX[]FLAGS=$ax_check_save_flags]) 49 | AS_VAR_IF(CACHEVAR,yes, 50 | [m4_default([$2], :)], 51 | [m4_default([$3], :)]) 52 | AS_VAR_POPDEF([CACHEVAR])dnl 53 | ])dnl AX_CHECK_COMPILE_FLAGS 54 | -------------------------------------------------------------------------------- /m4/ax_cxx_bool.m4: -------------------------------------------------------------------------------- 1 | # =========================================================================== 2 | # https://www.gnu.org/software/autoconf-archive/ax_cxx_bool.html 3 | # =========================================================================== 4 | # 5 | # SYNOPSIS 6 | # 7 | # AX_CXX_BOOL 8 | # 9 | # DESCRIPTION 10 | # 11 | # If the compiler recognizes bool as a separate built-in type, define 12 | # HAVE_BOOL. Note that a typedef is not a separate type since you cannot 13 | # overload a function such that it accepts either the basic type or the 14 | # typedef. 15 | # 16 | # LICENSE 17 | # 18 | # Copyright (c) 2008 Todd Veldhuizen 19 | # Copyright (c) 2008 Luc Maisonobe 20 | # 21 | # Copying and distribution of this file, with or without modification, are 22 | # permitted in any medium without royalty provided the copyright notice 23 | # and this notice are preserved. This file is offered as-is, without any 24 | # warranty. 25 | 26 | #serial 8 27 | 28 | AU_ALIAS([AC_CXX_BOOL], [AX_CXX_BOOL]) 29 | AC_DEFUN([AX_CXX_BOOL], 30 | [dnl 31 | AC_CACHE_CHECK(whether the compiler recognizes bool as a built-in type, 32 | ax_cv_cxx_bool, 33 | [dnl 34 | AC_LANG_PUSH([C++]) 35 | AC_COMPILE_IFELSE([dnl 36 | AC_LANG_PROGRAM([int f(int x){return 1;} 37 | int f(char x){return 1;} 38 | int f(bool x){return 1;}], 39 | [bool b = true; return f(b);])], 40 | ax_cv_cxx_bool=yes, ax_cv_cxx_bool=no) 41 | AC_LANG_POP([C++]) 42 | ]) 43 | AS_IF([test "X$ax_cv_cxx_bool" = Xyes], 44 | [AC_DEFINE(HAVE_BOOL,,[define if bool is a built-in type])]) 45 | ]) 46 | -------------------------------------------------------------------------------- /m4/ax_cxx_namespace_std.m4: -------------------------------------------------------------------------------- 1 | # =========================================================================== 2 | # https://www.gnu.org/software/autoconf-archive/ax_cxx_namespace_std.html 3 | # =========================================================================== 4 | # 5 | # SYNOPSIS 6 | # 7 | # AX_CXX_NAMESPACE_STD 8 | # 9 | # DESCRIPTION 10 | # 11 | # If the compiler supports namespace std, define HAVE_NAMESPACE_STD. 12 | # 13 | # LICENSE 14 | # 15 | # Copyright (c) 2009 Todd Veldhuizen 16 | # Copyright (c) 2009 Luc Maisonobe 17 | # 18 | # Copying and distribution of this file, with or without modification, are 19 | # permitted in any medium without royalty provided the copyright notice 20 | # and this notice are preserved. This file is offered as-is, without any 21 | # warranty. 22 | 23 | #serial 8 24 | 25 | AU_ALIAS([AC_CXX_NAMESPACE_STD], [AX_CXX_NAMESPACE_STD]) 26 | AC_DEFUN([AX_CXX_NAMESPACE_STD], [ 27 | AC_CACHE_CHECK(if g++ supports namespace std, 28 | ax_cv_cxx_have_std_namespace, 29 | [AC_LANG_PUSH([C++]) 30 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include 31 | std::istream& is = std::cin;]], [])], 32 | [ax_cv_cxx_have_std_namespace=yes], [ax_cv_cxx_have_std_namespace=no]) 33 | AC_LANG_POP([C++]) 34 | ]) 35 | if test "$ax_cv_cxx_have_std_namespace" = yes; then 36 | AC_DEFINE(HAVE_NAMESPACE_STD,,[Define if g++ supports namespace std. ]) 37 | fi 38 | ]) 39 | -------------------------------------------------------------------------------- /m4/ax_cxx_namespaces.m4: -------------------------------------------------------------------------------- 1 | # =========================================================================== 2 | # https://www.gnu.org/software/autoconf-archive/ax_cxx_namespaces.html 3 | # =========================================================================== 4 | # 5 | # SYNOPSIS 6 | # 7 | # AX_CXX_NAMESPACES 8 | # 9 | # DESCRIPTION 10 | # 11 | # If the compiler can prevent names clashes using namespaces, define 12 | # HAVE_NAMESPACES. 13 | # 14 | # LICENSE 15 | # 16 | # Copyright (c) 2008 Todd Veldhuizen 17 | # Copyright (c) 2008 Luc Maisonobe 18 | # Copyright (c) 2013 Bastien Roucaries 19 | # 20 | # Copying and distribution of this file, with or without modification, are 21 | # permitted in any medium without royalty provided the copyright notice 22 | # and this notice are preserved. This file is offered as-is, without any 23 | # warranty. 24 | 25 | #serial 9 26 | 27 | AU_ALIAS([AC_CXX_NAMESPACES], [AX_CXX_NAMESPACES]) 28 | AC_DEFUN([AX_CXX_NAMESPACES], 29 | [AC_CACHE_CHECK(whether the compiler implements namespaces, 30 | ax_cv_cxx_namespaces, 31 | [AC_LANG_PUSH([C++]) 32 | AC_COMPILE_IFELSE([AC_LANG_SOURCE([namespace Outer { namespace Inner { int i = 0; }} 33 | using namespace Outer::Inner; int foo(void) { return i;} ])], 34 | ax_cv_cxx_namespaces=yes, ax_cv_cxx_namespaces=no) 35 | AC_LANG_POP 36 | ]) 37 | if test "$ax_cv_cxx_namespaces" = yes; then 38 | AC_DEFINE(HAVE_NAMESPACES,,[define if the compiler implements namespaces]) 39 | fi 40 | ]) 41 | -------------------------------------------------------------------------------- /m4/ax_lang_compiler_ms.m4: -------------------------------------------------------------------------------- 1 | # =========================================================================== 2 | # http://www.gnu.org/software/autoconf-archive/ax_lang_compiler_ms.html 3 | # =========================================================================== 4 | # 5 | # OBSOLETE MACRO 6 | # 7 | # Deprecated in favor of AX_COMPILER_VENDOR. A call to this macro can be 8 | # replaced by: 9 | # 10 | # AX_COMPILER_VENDOR 11 | # AS_IF([test $ax_cv_c_compiler_vendor = microsoft], 12 | # [ax_compiler_ms=yes],[ax_compiler_ms=no]) 13 | # 14 | # SYNOPSIS 15 | # 16 | # AX_LANG_COMPILER_MS 17 | # 18 | # DESCRIPTION 19 | # 20 | # Check whether the compiler for the current language is Microsoft. 21 | # 22 | # This macro is modeled after _AC_LANG_COMPILER_GNU in the GNU Autoconf 23 | # implementation. 24 | # 25 | # LICENSE 26 | # 27 | # Copyright (c) 2009 Braden McDaniel 28 | # 29 | # Copying and distribution of this file, with or without modification, are 30 | # permitted in any medium without royalty provided the copyright notice 31 | # and this notice are preserved. This file is offered as-is, without any 32 | # warranty. 33 | 34 | #serial 11 35 | 36 | AC_DEFUN([AX_LANG_COMPILER_MS], 37 | [AC_CACHE_CHECK([whether we are using the Microsoft _AC_LANG compiler], 38 | [ax_cv_[]_AC_LANG_ABBREV[]_compiler_ms], 39 | [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [[#ifndef _MSC_VER 40 | choke me 41 | #endif 42 | ]])], 43 | [ax_compiler_ms=yes], 44 | [ax_compiler_ms=no]) 45 | ax_cv_[]_AC_LANG_ABBREV[]_compiler_ms=$ax_compiler_ms 46 | ])]) 47 | -------------------------------------------------------------------------------- /m4/ax_prepend_flag.m4: -------------------------------------------------------------------------------- 1 | # =========================================================================== 2 | # https://www.gnu.org/software/autoconf-archive/ax_prepend_flag.html 3 | # =========================================================================== 4 | # 5 | # SYNOPSIS 6 | # 7 | # AX_PREPEND_FLAG(FLAG, [FLAGS-VARIABLE]) 8 | # 9 | # DESCRIPTION 10 | # 11 | # FLAG is added to the front of the FLAGS-VARIABLE shell variable, with a 12 | # space added in between. 13 | # 14 | # If FLAGS-VARIABLE is not specified, the current language's flags (e.g. 15 | # CFLAGS) is used. FLAGS-VARIABLE is not changed if it already contains 16 | # FLAG. If FLAGS-VARIABLE is unset in the shell, it is set to exactly 17 | # FLAG. 18 | # 19 | # NOTE: Implementation based on AX_APPEND_FLAG. 20 | # 21 | # LICENSE 22 | # 23 | # Copyright (c) 2008 Guido U. Draheim 24 | # Copyright (c) 2011 Maarten Bosmans 25 | # Copyright (c) 2018 John Zaitseff 26 | # 27 | # Copying and distribution of this file, with or without modification, are 28 | # permitted in any medium without royalty provided the copyright notice 29 | # and this notice are preserved. This file is offered as-is, without any 30 | # warranty. 31 | 32 | #serial 2 33 | 34 | AC_DEFUN([AX_PREPEND_FLAG], 35 | [dnl 36 | AC_PREREQ(2.64)dnl for _AC_LANG_PREFIX and AS_VAR_SET_IF 37 | AS_VAR_PUSHDEF([FLAGS], [m4_default($2,_AC_LANG_PREFIX[FLAGS])]) 38 | AS_VAR_SET_IF(FLAGS,[ 39 | AS_CASE([" AS_VAR_GET(FLAGS) "], 40 | [*" $1 "*], [AC_RUN_LOG([: FLAGS already contains $1])], 41 | [ 42 | FLAGS="$1 $FLAGS" 43 | AC_RUN_LOG([: FLAGS="$FLAGS"]) 44 | ]) 45 | ], 46 | [ 47 | AS_VAR_SET(FLAGS,[$1]) 48 | AC_RUN_LOG([: FLAGS="$FLAGS"]) 49 | ]) 50 | AS_VAR_POPDEF([FLAGS])dnl 51 | ])dnl AX_PREPEND_FLAG 52 | -------------------------------------------------------------------------------- /m4/ax_require_defined.m4: -------------------------------------------------------------------------------- 1 | # =========================================================================== 2 | # https://www.gnu.org/software/autoconf-archive/ax_require_defined.html 3 | # =========================================================================== 4 | # 5 | # SYNOPSIS 6 | # 7 | # AX_REQUIRE_DEFINED(MACRO) 8 | # 9 | # DESCRIPTION 10 | # 11 | # AX_REQUIRE_DEFINED is a simple helper for making sure other macros have 12 | # been defined and thus are available for use. This avoids random issues 13 | # where a macro isn't expanded. Instead the configure script emits a 14 | # non-fatal: 15 | # 16 | # ./configure: line 1673: AX_CFLAGS_WARN_ALL: command not found 17 | # 18 | # It's like AC_REQUIRE except it doesn't expand the required macro. 19 | # 20 | # Here's an example: 21 | # 22 | # AX_REQUIRE_DEFINED([AX_CHECK_LINK_FLAG]) 23 | # 24 | # LICENSE 25 | # 26 | # Copyright (c) 2014 Mike Frysinger 27 | # 28 | # Copying and distribution of this file, with or without modification, are 29 | # permitted in any medium without royalty provided the copyright notice 30 | # and this notice are preserved. This file is offered as-is, without any 31 | # warranty. 32 | 33 | #serial 2 34 | 35 | AC_DEFUN([AX_REQUIRE_DEFINED], [dnl 36 | m4_ifndef([$1], [m4_fatal([macro ]$1[ is not defined; is a m4 file missing?])]) 37 | ])dnl AX_REQUIRE_DEFINED 38 | -------------------------------------------------------------------------------- /m4/cxx_have_bool.m4: -------------------------------------------------------------------------------- 1 | dnl @synopsis AC_CXX_HAVE_BOOL 2 | dnl 3 | dnl If the compiler recognizes bool as a separate built-in type, define 4 | dnl HAVE_BOOL. Note that a typedef is not a separate type since you 5 | dnl cannot overload a function such that it accepts either the basic 6 | dnl type or the typedef. 7 | dnl 8 | dnl @category Cxx 9 | dnl @author Todd Veldhuizen 10 | dnl @author Luc Maisonobe 11 | dnl @version 2004-02-04 12 | dnl @license AllPermissive 13 | 14 | AC_DEFUN([AC_CXX_HAVE_BOOL], 15 | [AC_CACHE_CHECK(whether the compiler recognizes bool as a built-in type, 16 | ac_cv_cxx_have_bool, 17 | [AC_LANG_SAVE 18 | AC_LANG_CPLUSPLUS 19 | AC_TRY_COMPILE([ 20 | int f(int x){return 1;} 21 | int f(char x){return 1;} 22 | int f(bool x){return 1;} 23 | ],[bool b = true; return f(b);], 24 | ac_cv_cxx_have_bool=yes, ac_cv_cxx_have_bool=no) 25 | AC_LANG_RESTORE 26 | ]) 27 | if test "$ac_cv_cxx_have_bool" = yes; then 28 | AC_DEFINE(HAVE_BOOL,,[define if bool is a built-in type]) 29 | fi 30 | ]) 31 | -------------------------------------------------------------------------------- /m4/cxx_have_lstring.m4: -------------------------------------------------------------------------------- 1 | dnl @synopsis AC_CXX_HAVE_LSTRING 2 | dnl 3 | dnl If the compiler can prevent names clashes using namespaces, define 4 | dnl HAVE_LSTRING. 5 | dnl 6 | dnl @category Cxx 7 | dnl @author James Berry 8 | dnl @version 2005-02-21 9 | dnl @license AllPermissive 10 | 11 | AC_DEFUN([AC_CXX_HAVE_LSTRING], 12 | [AC_CACHE_CHECK([whether the compiler implements L"widestring"], 13 | ac_cv_cxx_have_lstring, 14 | [AC_LANG_SAVE 15 | AC_LANG_CPLUSPLUS 16 | AC_COMPILE_IFELSE( 17 | AC_LANG_SOURCE( 18 | [[const wchar_t* s=L"wide string";]]), 19 | ac_cv_cxx_have_lstring=yes, ac_cv_cxx_have_lstring=no) 20 | AC_LANG_RESTORE 21 | ]) 22 | if test "$ac_cv_cxx_have_lstring" = yes; then 23 | AC_DEFINE(HAVE_LSTRING,,[define if the compiler implements L"widestring"]) 24 | fi 25 | ]) 26 | -------------------------------------------------------------------------------- /m4/cxx_have_namespaces.m4: -------------------------------------------------------------------------------- 1 | dnl @synopsis AC_CXX_HAVE_NAMESPACES 2 | dnl 3 | dnl If the compiler can prevent names clashes using namespaces, define 4 | dnl HAVE_NAMESPACES. 5 | dnl 6 | dnl @category Cxx 7 | dnl @author Todd Veldhuizen 8 | dnl @author Luc Maisonobe 9 | dnl @version 2004-02-04 10 | dnl @license AllPermissive 11 | 12 | AC_DEFUN([AC_CXX_HAVE_NAMESPACES], 13 | [AC_CACHE_CHECK(whether the compiler implements namespaces, 14 | ac_cv_cxx_have_namespaces, 15 | [AC_LANG_SAVE 16 | AC_LANG_CPLUSPLUS 17 | AC_TRY_COMPILE([namespace Outer { namespace Inner { int i = 0; }}], 18 | [using namespace Outer::Inner; return i;], 19 | ac_cv_cxx_have_namespaces=yes, ac_cv_cxx_have_namespaces=no) 20 | AC_LANG_RESTORE 21 | ]) 22 | if test "$ac_cv_cxx_have_namespaces" = yes; then 23 | AC_DEFINE(HAVE_NAMESPACES,,[define if the compiler implements namespaces]) 24 | fi 25 | ]) 26 | -------------------------------------------------------------------------------- /m4/cxx_have_std_libs.m4: -------------------------------------------------------------------------------- 1 | dnl @synopsis AC_CXX_HAVE_STD_LIBS 2 | dnl 3 | dnl If the compiler supports ISO C++ standard library (i.e., can 4 | dnl include the files iostream, map, iomanip and cmath}), define 5 | dnl HAVE_STD_LIBS. 6 | dnl 7 | dnl @category Cxx 8 | dnl @author Todd Veldhuizen 9 | dnl @author Luc Maisonobe 10 | dnl @version 2004-02-04 11 | dnl @license AllPermissive 12 | 13 | AC_DEFUN([AC_CXX_HAVE_STD_LIBS], 14 | [AC_CACHE_CHECK(whether the compiler supports ISO C++ standard library, 15 | ac_cv_cxx_have_std_libs, 16 | [AC_REQUIRE([AX_CXX_NAMESPACES]) 17 | AC_LANG_SAVE 18 | AC_LANG_CPLUSPLUS 19 | AC_TRY_COMPILE([#include 20 | #include 21 | #include 22 | #include 23 | #ifdef HAVE_NAMESPACES 24 | using namespace std; 25 | #endif],[return 0;], 26 | ac_cv_cxx_have_std_libs=yes, ac_cv_cxx_have_std_libs=no) 27 | AC_LANG_RESTORE 28 | ]) 29 | if test "$ac_cv_cxx_have_std_libs" = yes; then 30 | AC_DEFINE(HAVE_STD_LIBS,,[define if the compiler supports ISO C++ standard library]) 31 | fi 32 | ]) 33 | -------------------------------------------------------------------------------- /m4/cxx_have_std_namespace.m4: -------------------------------------------------------------------------------- 1 | dnl @synopsis AC_CXX_HAVE_STD_NAMESPACE 2 | dnl 3 | dnl If the compiler supports the std namespace, define 4 | dnl HAVE_STD_NAMESPACE. 5 | dnl 6 | dnl @category Cxx 7 | dnl @author Todd Veldhuizen 8 | dnl @author Luc Maisonobe 9 | dnl @version 2004-02-04 10 | dnl @license AllPermissive 11 | 12 | AC_DEFUN([AC_CXX_HAVE_STD_NAMESPACE], 13 | [AC_CACHE_CHECK(whether the compiler supports the std namespace, 14 | ac_cv_cxx_have_std_namespace, 15 | [AC_LANG_SAVE 16 | AC_LANG_CPLUSPLUS 17 | AC_TRY_COMPILE([#include 18 | std::istream& is = std::cin; 19 | ],[return 0;], 20 | ac_cv_cxx_have_std_namespace=yes, ac_cv_cxx_have_std_namespace=no) 21 | AC_LANG_RESTORE 22 | ]) 23 | if test "$ac_cv_cxx_have_std_namespace" = yes; then 24 | AC_DEFINE(HAVE_STD_NAMESPACE,,[define if the compiler supports the std namespace]) 25 | fi 26 | ]) 27 | -------------------------------------------------------------------------------- /m4/ld-version-script.m4: -------------------------------------------------------------------------------- 1 | # ld-version-script.m4 serial 4 2 | dnl Copyright (C) 2008-2015 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | dnl From Simon Josefsson 8 | 9 | # FIXME: The test below returns a false positive for mingw 10 | # cross-compiles, 'local:' statements does not reduce number of 11 | # exported symbols in a DLL. Use --disable-ld-version-script to work 12 | # around the problem. 13 | 14 | # gl_LD_VERSION_SCRIPT 15 | # -------------------- 16 | # Check if LD supports linker scripts, and define automake conditional 17 | # HAVE_LD_VERSION_SCRIPT if so. 18 | AC_DEFUN([gl_LD_VERSION_SCRIPT], 19 | [ 20 | AC_ARG_ENABLE([ld-version-script], 21 | [AS_HELP_STRING([--enable-ld-version-script], 22 | [enable linker version script (default is enabled when possible)])], 23 | [have_ld_version_script=$enableval], 24 | [AC_CACHE_CHECK([if LD -Wl,--version-script works], 25 | [gl_cv_sys_ld_version_script], 26 | [gl_cv_sys_ld_version_script=no 27 | save_LDFLAGS=$LDFLAGS 28 | LDFLAGS="$LDFLAGS -Wl,--version-script=conftest.map" 29 | echo foo >conftest.map 30 | AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])], 31 | [], 32 | [cat > conftest.map < 2 | 4 | 5 | 6 | 7 | ]> 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /windows/installer/README.txt: -------------------------------------------------------------------------------- 1 | [ The files in this directory are to support the Wizard's Toolbox 2 | setup.exe-style installer package. The following are the instructions 3 | foro how to build a DLL-based distribution installer package using Visual C++ 4 | 7.0. ] 5 | 6 | Steps for building VisualMagick Distribution Package 7 | 8 | 1) Install prerequisite software 9 | 10 | a) Download and install the Inno Setup Compiler from 11 | "http://www.jrsoftware.org/isinfo.php". 12 | 13 | b) Download and install ActiveState ActivePerl from 14 | "http://www.activestate.com/Products/ActivePerl/Download.html". 15 | 16 | 17 | 2) Open workspace windows\Wizard's Toolkit.sln by double-clicking from 18 | Windows Explorer or opening workpace via Visual C++ dialog. 19 | 20 | a) Build -> "Set Active Configuration" -> "All - Win32 Release" -> OK 21 | b) Build -> "Rebuild All" 22 | 23 | 3) Open windows\installer\Wizard's Toolkit.iss by double-clicking from 24 | Windows Explorer. 25 | 26 | a) File -> Compile 27 | b) Test install by clicking on green triangle 28 | 29 | 4) Distribution package is available as 30 | 31 | windows\bin\Window's Toolkit-1.0.2-dll.exe 32 | -------------------------------------------------------------------------------- /windows/installer/Wizard's Toolkit-x64.iss: -------------------------------------------------------------------------------- 1 | ; Copyright 1999-2016 ImageMagick Studio LLC, a non-profit organization 2 | ; dedicated to making software imaging solutions freely available. 3 | ; 4 | ; You may not use this file except in compliance with the License. You may 5 | ; obtain a copy of the License at 6 | ; 7 | ; https://urban-warrior.org/WizardsToolkit/script/license.php 8 | ; 9 | ; Unless required by applicable law or agreed to in writing, software 10 | ; distributed under the License is distributed on an "AS IS" BASIS, 11 | ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | ; See the License for the specific language governing permissions and 13 | ; limitations under the License. 14 | 15 | ; #pragma option -v+ 16 | ; #pragma verboselevel 4 17 | ; #define DEBUG 1 18 | 19 | #define public WizardDynamicPackage 1 20 | #define public Wizard64BitArchitecture 1 21 | #include "scripts\body.isx" 22 | 23 | #ifdef Debug 24 | #expr SaveToFile(AddBackslash(SourcePath) + "Wizard's Toolkit.isp") 25 | #endif 26 | -------------------------------------------------------------------------------- /windows/installer/Wizard's Toolkit.iss: -------------------------------------------------------------------------------- 1 | ; Copyright 1999-2016 ImageMagick Studio LLC, a non-profit organization 2 | ; dedicated to making software imaging solutions freely available. 3 | ; 4 | ; You may not use this file except in compliance with the License. You may 5 | ; obtain a copy of the License at 6 | ; 7 | ; https://urban-warrior.org/WizardsToolkit/script/license.php 8 | ; 9 | ; Unless required by applicable law or agreed to in writing, software 10 | ; distributed under the License is distributed on an "AS IS" BASIS, 11 | ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | ; See the License for the specific language governing permissions and 13 | ; limitations under the License. 14 | 15 | ; #pragma option -v+ 16 | ; #pragma verboselevel 4 17 | ; #define DEBUG 1 18 | 19 | #define public WizardDynamicPackage 1 20 | #include "scripts\body.isx" 21 | 22 | #ifdef Debug 23 | #expr SaveToFile(AddBackslash(SourcePath) + "Wizard's Toolkit.isp") 24 | #endif 25 | -------------------------------------------------------------------------------- /windows/installer/docs/after.sxw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/windows/installer/docs/after.sxw -------------------------------------------------------------------------------- /windows/installer/docs/before.sxw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/windows/installer/docs/before.sxw -------------------------------------------------------------------------------- /windows/installer/docs/license.sxw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/windows/installer/docs/license.sxw -------------------------------------------------------------------------------- /windows/installer/images/Wizard's Toolkit.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/windows/installer/images/Wizard's Toolkit.ico -------------------------------------------------------------------------------- /windows/installer/scripts/.tasks-desktopicon.isx.swp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/windows/installer/scripts/.tasks-desktopicon.isx.swp -------------------------------------------------------------------------------- /windows/installer/scripts/body.isx: -------------------------------------------------------------------------------- 1 | #ifdef COPYRIGHT 2 | ; Copyright 1999-2014 ImageWizard 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. You may 6 | ; obtain a copy of the License at 7 | ; 8 | ; http://www.wizards-toolkit.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 | #endif 16 | 17 | #ifdef WizardStaticPackage 18 | #ifdef Wizard64BitArchitecture 19 | #define WizardPackageType "x64-static" 20 | #else 21 | #define WizardPackageType "static" 22 | #endif 23 | #define WizardAppDirectory "{app}" 24 | #define WizardLibDirectory "{app}" 25 | #define WizardConfigDirectory "{app}" 26 | #else 27 | #ifdef Wizard64BitArchitecture 28 | #define WizardPackageType "x64-dll" 29 | #else 30 | #define WizardPackageType "dll" 31 | #endif 32 | #define WizardAppDirectory "{app}" 33 | #define WizardLibDirectory "{app}" 34 | #define WizardConfigDirectory "{app}\config" 35 | #endif 36 | 37 | #include "version.isx" 38 | 39 | [Setup] 40 | #include "setup.isx" 41 | 42 | ; Optional Tasks 43 | [Tasks] 44 | #include "tasks-desktopicon.isx" 45 | #include "tasks-update-path.isx" 46 | #ifdef WizardDynamicPackage 47 | #include "tasks-install-devel.isx" 48 | #endif 49 | 50 | ; Windows registry settings 51 | [Registry] 52 | #include "registry-application.isx" 53 | 54 | [Files] 55 | #include "files-base.isx" 56 | #include "files-configs.isx" 57 | #include "files-documentation.isx" 58 | #ifdef WizardDynamicPackage 59 | #include "files-dlls.isx" 60 | #include "files-development.isx" 61 | #endif 62 | 63 | [Icons] 64 | #include "icons-associate.isx" 65 | 66 | [Run] 67 | #include "run-pathtool.isx" 68 | 69 | [UninstallRun] 70 | #include "uninstallrun-pathtool.isx" 71 | 72 | [Code] 73 | function ModPathDir(): TArrayOfString; 74 | var 75 | Dir: TArrayOfString; 76 | begin 77 | setArrayLength(Dir, 1) 78 | Dir[0] := ExpandConstant('{app}'); 79 | Result := Dir; 80 | end; 81 | #include "modpath.iss" 82 | -------------------------------------------------------------------------------- /windows/installer/scripts/files-base.isx: -------------------------------------------------------------------------------- 1 | #ifdef COPYRIGHT 2 | ; Copyright 1999-2014 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. You may 6 | ; obtain a copy of the License at 7 | ; 8 | ; http://www.wizards-toolkit.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 | #endif 16 | 17 | ; Batch files 18 | Source: "..\bin\encipher.exe"; DestDir: {#WizardAppDirectory}; DestName: "encipher.exe"; Flags: ignoreversion 19 | Source: "..\bin\decipher.exe"; DestDir: {#WizardAppDirectory}; DestName: "decipher.exe"; Flags: ignoreversion 20 | Source: "..\bin\cipher-info.exe"; DestDir: {#WizardAppDirectory}; DestName: "cipher-info.exe"; Flags: ignoreversion 21 | Source: "..\bin\keyring.exe"; DestDir: {#WizardAppDirectory}; DestName: "keyring.exe"; Flags: ignoreversion 22 | Source: "..\bin\digest.exe"; DestDir: {#WizardAppDirectory}; DestName: "digest.exe"; Flags: ignoreversion 23 | Source: "..\bin\validate.exe"; DestDir: {#WizardAppDirectory}; DestName: "validate.exe"; Flags: ignoreversion 24 | 25 | ; Path Tool 26 | Source: "tools\PathTool.exe"; DestDir: "{app}\uninstall"; Flags: ignoreversion 27 | 28 | ; Icon file 29 | Source: "images\Wizard's Toolkit.ico"; DestDir: {#WizardAppDirectory}; Flags: ignoreversion 30 | -------------------------------------------------------------------------------- /windows/installer/scripts/files-configs.isx: -------------------------------------------------------------------------------- 1 | #ifdef COPYRIGHT 2 | ; Copyright 1999-2014 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. You may 6 | ; obtain a copy of the License at 7 | ; 8 | ; http://www.wizards-toolkit.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 | #endif 16 | 17 | ; Configuration files 18 | Source: "..\bin\configure.xml"; DestDir: {#WizardConfigDirectory}; Flags: confirmoverwrite 19 | Source: "..\..\config\log.xml"; DestDir: {#WizardConfigDirectory}; Flags: confirmoverwrite 20 | Source: "..\..\config\mime.xml"; DestDir: {#WizardConfigDirectory}; Flags: confirmoverwrite 21 | -------------------------------------------------------------------------------- /windows/installer/scripts/files-development.isx: -------------------------------------------------------------------------------- 1 | #ifdef COPYRIGHT 2 | ; Copyright 1999-2014 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. You may 6 | ; obtain a copy of the License at 7 | ; 8 | ; http://www.wizards-toolkit.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 | #endif 16 | 17 | ; Development libraries 18 | Source: "..\lib\Wizard's Toolkit.lib"; DestDir: "{app}\lib"; Tasks: install_Devel; Flags: ignoreversion 19 | ; Development headers 20 | Source: "..\..\wizard\*.h"; DestDir: "{app}\wizard"; Tasks: install_Devel; Flags: ignoreversion 21 | Source: "..\..\windows\wizard\*.h"; DestDir: "{app}\wizard"; Tasks: install_Devel; Flags: ignoreversion 22 | -------------------------------------------------------------------------------- /windows/installer/scripts/files-dlls.isx: -------------------------------------------------------------------------------- 1 | #ifdef COPYRIGHT 2 | ; Copyright 1999-2014 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. You may 6 | ; obtain a copy of the License at 7 | ; 8 | ; http://www.wizards-toolkit.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 | #endif 16 | 17 | ; Compiler-dependent DLLs 18 | #ifdef Wizard64BitArchitecture 19 | Source: "tools\amd64\*.dll"; DestDir: {#WizardLibDirectory}; Flags: ignoreversion 20 | #else 21 | Source: "tools\x86\*.dll"; DestDir: {#WizardLibDirectory}; Flags: ignoreversion 22 | #endif 23 | 24 | ; DLLs 25 | Source: "..\bin\Wizard's Toolkit.dll"; DestDir: {#WizardLibDirectory}; Flags: ignoreversion 26 | -------------------------------------------------------------------------------- /windows/installer/scripts/files-documentation.isx: -------------------------------------------------------------------------------- 1 | #ifdef COPYRIGHT 2 | ; Copyright 1999-2014 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. You may 6 | ; obtain a copy of the License at 7 | ; 8 | ; http://www.wizards-toolkit.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 | #endif 16 | 17 | ; Release documentation files 18 | Source: "..\..\ChangeLog"; DestDir: "{app}"; Flags: ignoreversion; DestName: "ChangeLog.txt" 19 | Source: "..\..\LICENSE"; DestDir: "{app}"; Flags: ignoreversion; DestName: "License.txt" 20 | Source: "..\..\NOTICE"; DestDir: "{app}"; Flags: ignoreversion; DestName: "Notice.txt" 21 | Source: "..\..\QuickStart.txt"; DestDir: "{app}"; Flags: ignoreversion 22 | Source: "..\..\README.txt"; DestDir: "{app}"; Flags: ignoreversion 23 | ; Web pages 24 | Source: "..\..\index.html"; DestDir: "{app}"; Flags: ignoreversion isreadme 25 | Source: "..\..\images\*.gif"; DestDir: "{app}\images"; Flags: ignoreversion 26 | Source: "..\..\images\*.jpg"; DestDir: "{app}\images"; Flags: ignoreversion 27 | Source: "..\..\images\*.png"; DestDir: "{app}\images"; Flags: ignoreversion 28 | Source: "..\..\www\source\*.*"; DestDir: "{app}\www\source"; Flags: ignoreversion 29 | Source: "..\..\www\*.css"; DestDir: "{app}\www"; Flags: ignoreversion 30 | Source: "..\..\www\*.ico"; DestDir: "{app}\www"; Flags: ignoreversion 31 | Source: "..\..\www\*.html"; DestDir: "{app}\www"; Flags: ignoreversion 32 | Source: "..\..\www\api\*.html"; DestDir: "{app}\www\api"; Flags: ignoreversion 33 | Source: "..\..\www\api\WizardsToolkit\*.*"; DestDir: "{app}\www\api\WizardsToolkit"; Flags: ignoreversion 34 | -------------------------------------------------------------------------------- /windows/installer/scripts/icons-associate.isx: -------------------------------------------------------------------------------- 1 | #ifdef COPYRIGHT 2 | ; Copyright 1999-2014 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. You may 6 | ; obtain a copy of the License at 7 | ; 8 | ; http://www.wizards-toolkit.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 | #endif 16 | 17 | Name: "{group}\Wizard's Toolkit Web Pages"; Filename: "{app}\index.html" 18 | Name: "{group}\Wizard's Toolkit Windows Setup"; Filename: "{app}\www\windows.html" 19 | ; Name: "{group}\Wizard's Toolkit Readme"; Filename: "{app}\README.txt" 20 | ; Name: "{group}\Wizard's Toolkit Quick Start"; Filename: "{app}\QuickStart.txt" 21 | ; Name: "{group}\Wizard's Toolkit License"; Filename: "{app}\LICENSE" 22 | -------------------------------------------------------------------------------- /windows/installer/scripts/registry-application.isx: -------------------------------------------------------------------------------- 1 | #ifdef COPYRIGHT 2 | ; Copyright 1999-2014 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. You may 6 | ; obtain a copy of the License at 7 | ; 8 | ; http://www.wizards-toolkit.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 | #endif 16 | 17 | ; 18 | ; Record installation paths 19 | ; 20 | 21 | #define private KeyBase "Software\" + WizardPackageName 22 | #define private KeyVersion KeyBase + "\" + WizardPackageVersion 23 | #define private KeyCurrent KeyBase + "\Current" 24 | 25 | Root: HKLM; Subkey: {#KeyBase}; ValueType: none; Flags: uninsdeletekeyifempty 26 | Root: HKLM; Subkey: {#KeyVersion}; ValueType: none; Flags: uninsdeletekeyifempty 27 | Root: HKLM; Subkey: {#KeyVersion}; ValueType: none; Flags: uninsdeletekey 28 | Root: HKLM; Subkey: {#KeyVersion}; ValueType: string; ValueName: "BinPath"; ValueData: "{app}" 29 | Root: HKLM; Subkey: {#KeyVersion}; ValueType: string; ValueName: "ConfigurePath"; ValueData: {#WizardConfigDirectory} 30 | Root: HKLM; Subkey: {#KeyVersion}; ValueType: string; ValueName: "LibPath"; ValueData: "{app}" 31 | 32 | 33 | Root: HKLM; Subkey: {#KeyCurrent}; ValueType: none; Flags: uninsdeletekey 34 | Root: HKLM; Subkey: {#KeyCurrent}; ValueType: string; ValueName: "Version"; ValueData: {#WizardPackageVersion} 35 | 36 | Root: HKLM; Subkey: {#KeyCurrent}; ValueType: string; ValueName: "BinPath"; ValueData: "{app}" 37 | Root: HKLM; Subkey: {#KeyCurrent}; ValueType: string; ValueName: "ConfigurePath"; ValueData: {#WizardConfigDirectory} 38 | Root: HKLM; Subkey: {#KeyCurrent}; ValueType: string; ValueName: "LibPath"; ValueData: "{app}" 39 | 40 | -------------------------------------------------------------------------------- /windows/installer/scripts/run-pathtool.isx: -------------------------------------------------------------------------------- 1 | #ifdef COPYRIGHT 2 | ; Copyright 1999-2014 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. You may 6 | ; obtain a copy of the License at 7 | ; 8 | ; http://www.wizards-toolkit.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 | #endif 16 | 17 | ; Add -debug to parameters to enable debugging 18 | ; Filename: "{app}\uninstall\PathTool.exe"; Parameters: "/add ""{app}"""; StatusMsg: "Updating environment variables..."; Tasks: update_path 19 | -------------------------------------------------------------------------------- /windows/installer/scripts/setup.isx: -------------------------------------------------------------------------------- 1 | #ifdef COPYRIGHT 2 | ; Copyright 1999-2014 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. You may 6 | ; obtain a copy of the License at 7 | ; 8 | ; http://www.wizards-toolkit.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 | #endif 16 | 17 | AppName={#WizardPackageName} {#WizardPackageVersion} 18 | ; When updating the version string, remember to also update the version in 19 | ; the [Registry] section 20 | AppVerName={#WizardPackageName} {#WizardPackageVersion}{#WizardPackageVersionAddendum} ({#WizardPackageReleaseDate}) 21 | AppVersion={#WizardPackageVersion} 22 | AppCopyright=Copyright (C) 1999-2014 ImageMagick Studio LLC 23 | AppPublisher=ImageMagick Studio LLC 24 | AppPublisherURL=http://www.wizards-toolkit.org/ 25 | AppSupportURL=http://www.wizards-toolkit.org/ 26 | AppUpdatesURL=http://www.wizards-toolkit.org/script/download.php 27 | ; Default install is similiar to "C:\Program Files\Wizard's Toolkit-1.0.5": 28 | DefaultDirName={pf}\{#WizardPackageName}-{#WizardPackageVersion} 29 | DefaultGroupName={#WizardPackageName} {#WizardPackageVersion} 30 | Compression=lzma/max 31 | ChangesAssociations=1 32 | ChangesEnvironment=yes 33 | AllowRootDirectory=no 34 | InfoBeforeFile=docs\before.rtf 35 | InfoAfterFile=docs\after.rtf 36 | LicenseFile=docs\license.rtf 37 | UninstallDisplayIcon={#WizardAppDirectory}\Wizard's Toolkit.ico 38 | OutputDir=..\bin 39 | OutputBaseFilename={#WizardPackageName}-{#WizardPackageVersion}{#WizardPackageVersionAddendum}-windows-{#WizardPackageType} 40 | ; uncomment the following line if you want your installation to run on NT 3.51 too. 41 | ; MinVersion=4,3.51 42 | 43 | #ifdef Wizard64BitArchitecture 44 | ArchitecturesInstallIn64BitMode=x64 45 | #endif 46 | -------------------------------------------------------------------------------- /windows/installer/scripts/tasks-desktopicon.isx: -------------------------------------------------------------------------------- 1 | #ifdef COPYRIGHT 2 | ; Copyright 1999-2014 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. You may 6 | ; obtain a copy of the License at 7 | ; 8 | ; http://www.wizards-toolkit.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 | #endif 16 | 17 | Name: desktop_icon; Description: "Create a &desktop icon"; MinVersion: 4,4 18 | -------------------------------------------------------------------------------- /windows/installer/scripts/tasks-install-devel.isx: -------------------------------------------------------------------------------- 1 | #ifdef COPYRIGHT 2 | ; Copyright 1999-2014 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. You may 6 | ; obtain a copy of the License at 7 | ; 8 | ; http://www.wizards-toolkit.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 | #endif 16 | 17 | Name: install_Devel; Description: "Install development headers and libraries for C and C++"; Flags: unchecked 18 | -------------------------------------------------------------------------------- /windows/installer/scripts/tasks-update-path.isx: -------------------------------------------------------------------------------- 1 | #ifdef COPYRIGHT 2 | ; Copyright 1999-2014 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. You may 6 | ; obtain a copy of the License at 7 | ; 8 | ; http://www.wizards-toolkit.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 | #endif 16 | 17 | Name: update_path; Description: "Update executable search path" 18 | -------------------------------------------------------------------------------- /windows/installer/scripts/uninstallrun-pathtool.isx: -------------------------------------------------------------------------------- 1 | #ifdef COPYRIGHT 2 | ; Copyright 1999-2014 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. You may 6 | ; obtain a copy of the License at 7 | ; 8 | ; http://www.wizards-toolkit.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 | #endif 16 | 17 | ; Add -debug to parameters to enable debugging 18 | ; Filename: "{app}\uninstall\PathTool.exe"; Parameters: "/del ""{app}"""; StatusMsg: "Restoring environment variables..."; Tasks: update_path 19 | -------------------------------------------------------------------------------- /windows/installer/scripts/version.isx: -------------------------------------------------------------------------------- 1 | #ifdef COPYRIGHT 2 | ; Copyright 1999-2014 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. You may 6 | ; obtain a copy of the License at 7 | ; 8 | ; http://www.wizards-toolkit.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 | #endif 16 | 17 | #define public WizardPackageName "WizardsToolkit" 18 | #define public WizardPackageVersion "1.0.9" 19 | #define public WizardPackageVersionAddendum "-2" 20 | #define public WizardPackageReleaseDate "2014-07-01" 21 | -------------------------------------------------------------------------------- /windows/installer/scripts/version.isx.in: -------------------------------------------------------------------------------- 1 | #ifdef COPYRIGHT 2 | ; Copyright 1999-2009 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. You may 6 | ; obtain a copy of the License at 7 | ; 8 | ; http://www.wizards-toolkit.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 | #endif 16 | 17 | #define public WizardPackageName "@PACKAGE_NAME@" 18 | #define public WizardPackageVersion "@PACKAGE_VERSION@" 19 | #define public WizardPackageVersionAddendum "@PACKAGE_VERSION_ADDENDUM@" 20 | #define public WizardPackageReleaseDate "@PACKAGE_RELEASE_DATE@" 21 | -------------------------------------------------------------------------------- /windows/installer/tools/PathTool.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/windows/installer/tools/PathTool.exe -------------------------------------------------------------------------------- /windows/installer/tools/README.txt: -------------------------------------------------------------------------------- 1 | The PathTool utility was written by by ared Breland 2 | and was retrieved from the URL "http://legroom.net/files/software/modpath.exe". 3 | 4 | -------------------------------------------------------------------------------- /windows/installer/tools/amd64/atl100.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/windows/installer/tools/amd64/atl100.dll -------------------------------------------------------------------------------- /windows/installer/tools/amd64/mfc100.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/windows/installer/tools/amd64/mfc100.dll -------------------------------------------------------------------------------- /windows/installer/tools/amd64/msvcp100.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/windows/installer/tools/amd64/msvcp100.dll -------------------------------------------------------------------------------- /windows/installer/tools/amd64/msvcr100.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/windows/installer/tools/amd64/msvcr100.dll -------------------------------------------------------------------------------- /windows/installer/tools/amd64/vcomp100.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/windows/installer/tools/amd64/vcomp100.dll -------------------------------------------------------------------------------- /windows/installer/tools/x86/atl100.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/windows/installer/tools/x86/atl100.dll -------------------------------------------------------------------------------- /windows/installer/tools/x86/bzip2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/windows/installer/tools/x86/bzip2.dll -------------------------------------------------------------------------------- /windows/installer/tools/x86/mfc100.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/windows/installer/tools/x86/mfc100.dll -------------------------------------------------------------------------------- /windows/installer/tools/x86/msvcp100.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/windows/installer/tools/x86/msvcp100.dll -------------------------------------------------------------------------------- /windows/installer/tools/x86/msvcr100.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/windows/installer/tools/x86/msvcr100.dll -------------------------------------------------------------------------------- /windows/installer/tools/x86/vcomp100.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/windows/installer/tools/x86/vcomp100.dll -------------------------------------------------------------------------------- /windows/installer/tools/x86/zlib1.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/windows/installer/tools/x86/zlib1.dll -------------------------------------------------------------------------------- /winpath.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Convert the specified POSIX path to a Windows path under MinGW and Cygwin 4 | # The optional second parameter specifies the level of backslash escaping 5 | # to apply for each Windows backslash position in order to support varying 6 | # levels of variable substitutions in scripts. 7 | # 8 | # Note that Cygwin includes the 'cygpath' utility, which already provides 9 | # path translation capability. 10 | # 11 | # 12 | arg="$1" 13 | escapes=0 14 | if test -n "$2" 15 | then 16 | escapes="$2" 17 | fi 18 | if test $escapes -gt 3 19 | then 20 | echo "$0: escape level must in range 0 - 3" 21 | exit 1 22 | fi 23 | result='' 24 | length=0 25 | max_length=0 26 | mount | sed -e 's:\\:/:g' | ( 27 | IFS="\n" 28 | while read mount_entry 29 | do 30 | win_mount_path=`echo "$mount_entry" | sed -e 's: .*::g'` 31 | unix_mount_path=`echo "$mount_entry" | sed -e 's:.* on ::;s: type .*::'` 32 | temp=`echo "$arg" | sed -e "s!^$unix_mount_path!$win_mount_path!"` 33 | if test "$temp" != "$arg" 34 | then 35 | candidate="$temp" 36 | length=${#unix_mount_path} 37 | if test $length -gt $max_length 38 | then 39 | result=$candidate 40 | max_length=$length 41 | fi 42 | fi 43 | done 44 | if test -z "$result" 45 | then 46 | echo "$0: path \"$arg\" is not mounted" 47 | exit 1 48 | fi 49 | case $escapes in 50 | 0) 51 | echo "$result" | sed -e 's:/:\\:g' 52 | ;; 53 | 1) 54 | echo "$result" | sed -e 's:/:\\\\:g' 55 | ;; 56 | 2) 57 | echo "$result" | sed -e 's:/:\\\\\\\\:g' 58 | ;; 59 | 3) 60 | echo "$result" | sed -e 's:/:\\\\\\\\\\\\\\\\:g' 61 | ;; 62 | esac 63 | exit 0; 64 | ) 65 | -------------------------------------------------------------------------------- /wizard.sh.in: -------------------------------------------------------------------------------- 1 | # !/bin/sh 2 | # 3 | # Copyright @ 1999 ImageMagick Studio LLC, a non-profit organization 4 | # dedicated to making software imaging solutions freely available. 5 | # 6 | # You may not use this file except in compliance with the License. You may 7 | # obtain a copy of the License at 8 | # 9 | # https://urban-warrior.org/WizardsToolkit/script/license.php 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | # 17 | # Convenience script to verify the Wizard's Toolkit build before you install. 18 | # For example: 19 | # 20 | # wizard.sh encipher plaintext ciphertext 21 | 22 | top_srcdir='@abs_top_srcdir@' 23 | top_builddir='@abs_top_builddir@' 24 | 25 | WIZARD_CODER_MODULE_PATH='@WIZARD_CODER_MODULE_PATH@' 26 | WIZARD_CONFIGURE_SRC_PATH='@WIZARD_CONFIGURE_SRC_PATH@' 27 | WIZARD_CONFIGURE_BUILD_PATH='@WIZARD_CONFIGURE_BUILD_PATH@' 28 | WIZARD_FILTER_MODULE_PATH='@WIZARD_FILTER_MODULE_PATH@' 29 | DIRSEP='@DIRSEP@' 30 | 31 | PATH="${top_builddir}/utilities:${PATH}" 32 | 33 | if test -n "$VERBOSE" 34 | then 35 | echo "$@" 36 | fi 37 | env \ 38 | LD_LIBRARY_PATH="${top_builddir}/wizard/.libs:${LD_LIBRARY_PATH}" \ 39 | WIZARD_CODER_MODULE_PATH="${WIZARD_CODER_MODULE_PATH}" \ 40 | WIZARD_CONFIGURE_PATH="${WIZARD_CONFIGURE_BUILD_PATH}${DIRSEP}${WIZARD_CONFIGURE_SRC_PATH}" \ 41 | WIZARD_FILTER_MODULE_PATH="${WIZARD_FILTER_MODULE_PATH}" \ 42 | PATH="${PATH}" \ 43 | "$@" 44 | -------------------------------------------------------------------------------- /wizard/WizardsToolkit-config.1: -------------------------------------------------------------------------------- 1 | .ad l 2 | .nh 3 | .TH WizardsToolkit-config 1 "2 May 2002" "Wizard" 4 | .SH NAME 5 | WizardsToolkit-config \- get information about the installed version of Wizard 6 | .SH SYNOPSIS 7 | .B WizardsToolkit-config 8 | .B [--cflags] 9 | .B [--cppflags] 10 | .B [--exec-prefix] 11 | .B [--ldflags] 12 | .B [--libs] 13 | .B [--prefix] 14 | .B [--version] 15 | .SH DESCRIPTION 16 | .B WizardsToolkit-config 17 | prints the compiler and linker flags required to compile and link programs 18 | that use the 19 | .BR Wizard 20 | Application Programmer Interface. 21 | .SH EXAMPLES 22 | To print the version of the installed distribution of 23 | .BR WizardsToolkit , 24 | use: 25 | 26 | .nf 27 | WizardsToolkit-config --version 28 | .fi 29 | 30 | To compile a program that calls the 31 | .BR Wizard 32 | Application Programmer Interface, use: 33 | 34 | .nf 35 | cc `WizardsToolkit-config --cflags --cppflags --ldflags --libs` program.c 36 | .fi 37 | 38 | .SH OPTIONS 39 | .TP 40 | .B --cflags 41 | Print the compiler flags that were used to compile 42 | .BR libWizardsToolkit . 43 | .TP 44 | .B --cppflags 45 | Print the preprocessor flags that are needed to find the 46 | .B Wizard 47 | C include files and defines to ensure that the Wizard data structures match between 48 | your program and the installed libraries. 49 | .TP 50 | .B --exec-prefix 51 | Print the directory under which target specific binaries and executables are installed. 52 | .TP 53 | .B --ldflags 54 | Print the linker flags that are needed to link with the 55 | .B Wizard 56 | library. 57 | .TP 58 | .B --libs 59 | Print the linker flags that are needed to link a program with 60 | .BR libWizard . 61 | .TP 62 | .B --version 63 | Print the version of the 64 | .B WizardsToolkit 65 | distribution to standard output. 66 | .SH LICENSE 67 | See https://urban-warrior.org/WizardsToolkit/script/license.php. 68 | .SH AUTHORS 69 | Cristy, ImageMagick Studio 70 | -------------------------------------------------------------------------------- /wizard/WizardsToolkit-config.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Configure options script for re-calling MagickCore compilation options 4 | # required to use the MagickCore library. 5 | # 6 | 7 | prefix=@prefix@ 8 | exec_prefix=@exec_prefix@ 9 | export PKG_CONFIG_LIBDIR="${exec_prefix}/lib/pkgconfig" 10 | 11 | usage="\ 12 | Usage: WizardsToolkit-config [--cflags] [--cppflags] [--exec-prefix] [--ldflags] [--libs] [--prefix] [--version]" 13 | 14 | if test $# -eq 0; then 15 | echo "${usage}" 1>&2 16 | echo "Example: gcc \`WizardsToolkit-config --cflags --cppflags\` source.c \`WizardsToolkit-config --ldflags --libs\`" 1>&2 17 | exit 1 18 | fi 19 | 20 | while test $# -gt 0; do 21 | case $1 in 22 | --prefix) 23 | echo @PREFIX_DIR@ 24 | ;; 25 | --exec-prefix) 26 | echo @EXEC_PREFIX_DIR@ 27 | ;; 28 | --version) 29 | echo @PACKAGE_VERSION@ 30 | ;; 31 | --cflags) 32 | pkg-config --cflags WizardsToolkit 33 | ;; 34 | --cppflags) 35 | pkg-config --cflags WizardsToolkit 36 | ;; 37 | --ldflags) 38 | pkg-config --libs WizardsToolkit 39 | ;; 40 | --libs) 41 | pkg-config --libs WizardsToolkit 42 | ;; 43 | *) 44 | echo "${usage}" 1>&2 45 | exit 1 46 | ;; 47 | esac 48 | shift 49 | done 50 | 51 | -------------------------------------------------------------------------------- /wizard/WizardsToolkit.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@/WizardsToolkit-@WIZARD_MAJOR_VERSION@ 5 | Name: WizardsToolkit 6 | Description: Wizard's Toolkit 7 | URL: https://www.wizards-toolkit.org 8 | Version: @PACKAGE_VERSION@ 9 | Cflags: -I${includedir} @WIZARD_PCFLAGS@ 10 | Libs: -L${libdir} -lWizardsToolkit 11 | 12 | -------------------------------------------------------------------------------- /wizard/aes.h: -------------------------------------------------------------------------------- 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 Advanced Encipherion Standard cipher methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_AES_H 19 | #define _WIZARDSTOOLKIT_AES_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | typedef struct _AESInfo 26 | AESInfo; 27 | 28 | extern WizardExport AESInfo 29 | *AcquireAESInfo(void), 30 | *DestroyAESInfo(AESInfo *); 31 | 32 | extern WizardExport unsigned int 33 | GetAESBlocksize(const AESInfo *); 34 | 35 | extern WizardExport void 36 | DecipherAESBlock(AESInfo *,const unsigned char *,unsigned char *), 37 | EncipherAESBlock(AESInfo *,const unsigned char *,unsigned char *), 38 | SetAESKey(AESInfo *,const StringInfo *); 39 | 40 | #if defined(__cplusplus) || defined(c_plusplus) 41 | } 42 | #endif 43 | 44 | #endif 45 | -------------------------------------------------------------------------------- /wizard/authenticate.h: -------------------------------------------------------------------------------- 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 authentication methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_AUTHENTICATE_H_ 19 | #define _WIZARDSTOOLKIT_AUTHENTICATE_H_ 20 | 21 | #include "wizard/exception.h" 22 | #include "wizard/hash.h" 23 | #include "wizard/string_.h" 24 | 25 | #if defined(__cplusplus) || defined(c_plusplus) 26 | extern "C" { 27 | #endif 28 | 29 | /* 30 | Enum declarations. 31 | */ 32 | typedef enum 33 | { 34 | UndefinedAuthenticate, 35 | SecretAuthenticateMethod, 36 | PublicAuthenticateMethod 37 | } AuthenticateMethod; 38 | 39 | typedef struct _AuthenticateInfo 40 | AuthenticateInfo; 41 | 42 | extern WizardExport AuthenticateInfo 43 | *AcquireAuthenticateInfo(const AuthenticateMethod,const char *, 44 | const HashType), 45 | *DestroyAuthenticateInfo(AuthenticateInfo *); 46 | 47 | extern WizardExport const char 48 | *GetAuthenticatePassphrase(const AuthenticateInfo *); 49 | 50 | extern WizardExport const StringInfo 51 | *GetAuthenticateId(const AuthenticateInfo *), 52 | *GetAuthenticateKey(const AuthenticateInfo *); 53 | 54 | extern WizardExport size_t 55 | GetAuthenticateKeyLength(const AuthenticateInfo *); 56 | 57 | extern WizardExport void 58 | SetAuthenticateId(AuthenticateInfo *,const StringInfo *), 59 | SetAuthenticateKeyLength(AuthenticateInfo *,const size_t), 60 | SetAuthenticatePassphrase(AuthenticateInfo *,const char *); 61 | 62 | extern WizardExport WizardBooleanType 63 | AuthenticateKey(AuthenticateInfo *,ExceptionInfo *), 64 | GenerateAuthenticateKey(AuthenticateInfo *,ExceptionInfo *); 65 | 66 | #if defined(__cplusplus) || defined(c_plusplus) 67 | } 68 | #endif 69 | 70 | #endif 71 | -------------------------------------------------------------------------------- /wizard/blob-private.h: -------------------------------------------------------------------------------- 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 Binary Large OBjects Methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_BLOB_PRIVATE_H 19 | #define _WIZARDSTOOLKIT_BLOB_PRIVATE_H 20 | 21 | #include 22 | 23 | #if defined(__cplusplus) || defined(c_plusplus) 24 | extern "C" { 25 | #endif 26 | 27 | #if defined(WIZARDSTOOLKIT_HAVE_FSEEKO) 28 | # define fseek fseeko 29 | # define ftell ftello 30 | #endif 31 | 32 | typedef enum 33 | { 34 | UndefinedBlobMode, 35 | ReadBlobMode, 36 | ReadBinaryBlobMode, 37 | WriteBlobMode, 38 | WriteBinaryBlobMode 39 | } BlobMode; 40 | 41 | extern WizardExport BlobInfo 42 | *DestroyBlob(BlobInfo *), 43 | *OpenBlob(const char *,const BlobMode,const WizardBooleanType, 44 | ExceptionInfo *); 45 | 46 | extern WizardExport const char 47 | *GetBlobFilename(const BlobInfo *); 48 | 49 | extern WizardExport const struct stat 50 | *GetBlobProperties(const BlobInfo *); 51 | 52 | extern WizardExport int 53 | EOFBlob(BlobInfo *), 54 | ReadBlobByte(BlobInfo *), 55 | SyncBlob(BlobInfo *); 56 | 57 | extern WizardExport ssize_t 58 | ReadBlob(BlobInfo *,const size_t,void *), 59 | ReadBlobChunk(BlobInfo *,const size_t,void *), 60 | WriteBlob(BlobInfo *,const size_t,const void *), 61 | WriteBlobByte(BlobInfo *,const unsigned char), 62 | WriteBlobChunk(BlobInfo *,const size_t,const void *), 63 | WriteBlobString(BlobInfo *,const char *); 64 | 65 | extern WizardExport WizardBooleanType 66 | CloseBlob(BlobInfo *), 67 | SetBlobExtent(BlobInfo *,const WizardSizeType); 68 | 69 | extern WizardExport WizardOffsetType 70 | TellBlob(const BlobInfo *); 71 | 72 | extern WizardExport WizardSizeType 73 | GetBlobSize(BlobInfo *); 74 | 75 | #if defined(__cplusplus) || defined(c_plusplus) 76 | } 77 | #endif 78 | 79 | #endif 80 | -------------------------------------------------------------------------------- /wizard/blob.h: -------------------------------------------------------------------------------- 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 Binary Large OBjects Methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_BLOB_H 19 | #define _WIZARDSTOOLKIT_BLOB_H 20 | 21 | #include "wizard/exception.h" 22 | 23 | #if defined(__cplusplus) || defined(c_plusplus) 24 | extern "C" { 25 | #endif 26 | 27 | #if !defined(WizardMaxBufferExtent) 28 | #define WizardMaxBufferExtent 8192 29 | #endif 30 | 31 | typedef enum 32 | { 33 | ReadMode, 34 | WriteMode, 35 | IOMode 36 | } MapMode; 37 | 38 | typedef struct _BlobInfo 39 | BlobInfo; 40 | 41 | extern WizardExport void 42 | *FileToBlob(const char *,const size_t,size_t *,ExceptionInfo *), 43 | *MapBlob(int,const MapMode,const WizardOffsetType,const size_t); 44 | 45 | extern WizardExport WizardBooleanType 46 | UnmapBlob(void *,const size_t); 47 | 48 | #if defined(__cplusplus) || defined(c_plusplus) 49 | } 50 | #endif 51 | 52 | #endif 53 | -------------------------------------------------------------------------------- /wizard/bzip.h: -------------------------------------------------------------------------------- 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 Environment BZIP entropy methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_BZIP_H_ 19 | #define _WIZARDSTOOLKIT_BZIP_H_ 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | typedef struct _BZIPInfo 26 | BZIPInfo; 27 | 28 | extern WizardExport BZIPInfo 29 | *AcquireBZIPInfo(const size_t), 30 | *DestroyBZIPInfo(BZIPInfo *); 31 | 32 | extern WizardExport const StringInfo 33 | *GetBZIPChaos(const BZIPInfo *); 34 | 35 | extern WizardExport WizardBooleanType 36 | IncreaseBZIP(BZIPInfo *,const StringInfo *,ExceptionInfo *), 37 | RestoreBZIP(BZIPInfo *,const size_t,const StringInfo *,ExceptionInfo *); 38 | 39 | #if defined(__cplusplus) || defined(c_plusplus) 40 | } 41 | #endif 42 | 43 | #endif 44 | -------------------------------------------------------------------------------- /wizard/chacha.h: -------------------------------------------------------------------------------- 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 Chacha cipher methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_CHACHA_H 19 | #define _WIZARDSTOOLKIT_CHACHA_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | typedef struct _ChachaInfo 26 | ChachaInfo; 27 | 28 | extern WizardExport ChachaInfo 29 | *AcquireChachaInfo(void), 30 | *DestroyChachaInfo(ChachaInfo *); 31 | 32 | extern WizardExport unsigned int 33 | GetChachaBlocksize(const ChachaInfo *); 34 | 35 | extern WizardExport void 36 | DecipherChachaBlock(ChachaInfo *,const unsigned char *,unsigned char *), 37 | EncipherChachaBlock(ChachaInfo *,const unsigned char *,unsigned char *), 38 | SetChachaKey(ChachaInfo *,const StringInfo *), 39 | SetChachaNonce(ChachaInfo *,const unsigned char *,const unsigned char *); 40 | 41 | #if defined(__cplusplus) || defined(c_plusplus) 42 | } 43 | #endif 44 | 45 | #endif 46 | -------------------------------------------------------------------------------- /wizard/cipher.h: -------------------------------------------------------------------------------- 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 secure cipher algorithm methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_CIPHER_H 19 | #define _WIZARDSTOOLKIT_CIPHER_H 20 | 21 | #include "wizard/random_.h" 22 | 23 | #if defined(__cplusplus) || defined(c_plusplus) 24 | extern "C" { 25 | #endif 26 | 27 | #define MaxCipherBlocksize 128 28 | 29 | typedef enum 30 | { 31 | UndefinedMode, 32 | CBCMode, 33 | CFBMode, 34 | CTRMode, 35 | ECBMode, 36 | OFBMode 37 | } CipherMode; 38 | 39 | typedef enum 40 | { 41 | UndefinedCipher, 42 | NoCipher, 43 | AESCipher, 44 | ChachaCipher, 45 | SerpentCipher, 46 | TwofishCipher 47 | } CipherType; 48 | 49 | typedef struct _CipherInfo 50 | CipherInfo; 51 | 52 | extern WizardExport CipherInfo 53 | *AcquireCipherInfo(const CipherType,const CipherMode), 54 | *DestroyCipherInfo(CipherInfo *); 55 | 56 | extern WizardExport const StringInfo 57 | *GetCipherNonce(CipherInfo *); 58 | 59 | extern WizardExport StringInfo 60 | *DecipherCipher(CipherInfo *,StringInfo *), 61 | *EncipherCipher(CipherInfo *,StringInfo *), 62 | *GenerateCipherNonce(CipherInfo *); 63 | 64 | extern WizardExport size_t 65 | GetCipherBlocksize(const CipherInfo *); 66 | 67 | extern WizardExport void 68 | ResetCipherNonce(CipherInfo *), 69 | SetCipherNonce(CipherInfo *,const StringInfo *), 70 | SetCipherKey(CipherInfo *,const StringInfo *); 71 | 72 | /* 73 | Deprecated methods. 74 | */ 75 | extern WizardExport StringInfo 76 | *DecryptCipher(CipherInfo *,StringInfo *), 77 | *EncryptCipher(CipherInfo *,StringInfo *); 78 | 79 | #if defined(__cplusplus) || defined(c_plusplus) 80 | } 81 | #endif 82 | 83 | #endif 84 | -------------------------------------------------------------------------------- /wizard/client.h: -------------------------------------------------------------------------------- 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 client methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_CLIENT_H 19 | #define _WIZARDSTOOLKIT_CLIENT_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | extern WizardExport const char 26 | *GetClientPath(void), 27 | *GetClientName(void), 28 | *SetClientName(const char *), 29 | *SetClientPath(const char *); 30 | 31 | #if defined(__cplusplus) || defined(c_plusplus) 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /wizard/configure.h: -------------------------------------------------------------------------------- 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 | ImageMagick configure methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_CONFIGURE_H 19 | #define _WIZARDSTOOLKIT_CONFIGURE_H 20 | 21 | #include "wizard/hashmap.h" 22 | 23 | #if defined(__cplusplus) || defined(c_plusplus) 24 | extern "C" { 25 | #endif 26 | 27 | typedef struct _ConfigureInfo 28 | { 29 | char 30 | *path, 31 | *name, 32 | *value; 33 | 34 | WizardBooleanType 35 | exempt, 36 | stealth; 37 | 38 | size_t 39 | signature; 40 | } ConfigureInfo; 41 | 42 | extern WizardExport char 43 | **GetConfigureList(const char *,size_t *,ExceptionInfo *); 44 | 45 | extern WizardExport const char 46 | *GetConfigureValue(const ConfigureInfo *); 47 | 48 | extern WizardExport const ConfigureInfo 49 | *GetConfigureInfo(const char *,ExceptionInfo *), 50 | **GetConfigureInfoList(const char *,size_t *,ExceptionInfo *); 51 | 52 | extern WizardExport LinkedListInfo 53 | *DestroyConfigureOptions(LinkedListInfo *), 54 | *GetConfigurePaths(const char *,ExceptionInfo *), 55 | *GetConfigureOptions(const char *,ExceptionInfo *); 56 | 57 | extern WizardExport WizardBooleanType 58 | ConfigureComponentGenesis(void), 59 | ListConfigureInfo(FILE *,ExceptionInfo *); 60 | 61 | extern WizardExport void 62 | ConfigureComponentTerminus(void); 63 | 64 | #if defined(__cplusplus) || defined(c_plusplus) 65 | } 66 | #endif 67 | 68 | #endif 69 | -------------------------------------------------------------------------------- /wizard/crc64.h: -------------------------------------------------------------------------------- 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 cyclic redundancy checksum methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_CRC64_H 19 | #define _WIZARDSTOOLKIT_CRC64_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | typedef struct _CRC64Info 26 | CRC64Info; 27 | 28 | extern WizardExport CRC64Info 29 | *AcquireCRC64Info(void), 30 | *DestroyCRC64Info(CRC64Info *); 31 | 32 | extern WizardExport const StringInfo 33 | *GetCRC64Digest(const CRC64Info *); 34 | 35 | extern WizardExport unsigned int 36 | GetCRC64Blocksize(const CRC64Info *), 37 | GetCRC64Digestsize(const CRC64Info *); 38 | 39 | extern WizardExport WizardBooleanType 40 | InitializeCRC64(CRC64Info *), 41 | FinalizeCRC64(CRC64Info *), 42 | UpdateCRC64(CRC64Info *,const StringInfo *); 43 | 44 | extern WizardExport WizardSizeType 45 | GetCRC64CyclicRedundancyCheck(const CRC64Info *); 46 | 47 | #if defined(__cplusplus) || defined(c_plusplus) 48 | } 49 | #endif 50 | 51 | #endif 52 | -------------------------------------------------------------------------------- /wizard/entropy.h: -------------------------------------------------------------------------------- 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 Environment entropy methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_ENTROPY_H_ 19 | #define _WIZARDSTOOLKIT_ENTROPY_H_ 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | /* 26 | Enum declarations. 27 | */ 28 | typedef enum 29 | { 30 | UndefinedEntropy, 31 | NoEntropy, 32 | ZIPEntropy, 33 | BZIPEntropy, 34 | LZMAEntropy 35 | } EntropyType; 36 | 37 | typedef struct _EntropyInfo 38 | EntropyInfo; 39 | 40 | extern WizardExport const StringInfo 41 | *GetEntropyChaos(const EntropyInfo *); 42 | 43 | extern WizardExport EntropyInfo 44 | *AcquireEntropyInfo(const EntropyType,const size_t), 45 | *DestroyEntropyInfo(EntropyInfo *); 46 | 47 | extern WizardExport WizardBooleanType 48 | IncreaseEntropy(EntropyInfo *,const StringInfo *,ExceptionInfo *), 49 | RestoreEntropy(EntropyInfo *,const size_t,const StringInfo *,ExceptionInfo *); 50 | 51 | #if defined(__cplusplus) || defined(c_plusplus) 52 | } 53 | #endif 54 | 55 | #endif 56 | -------------------------------------------------------------------------------- /wizard/file.h: -------------------------------------------------------------------------------- 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 file methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_FILE_H_ 19 | #define _WIZARDSTOOLKIT_FILE_H_ 20 | 21 | #include "wizard/exception.h" 22 | 23 | #if defined(__cplusplus) || defined(c_plusplus) 24 | extern "C" { 25 | #endif 26 | 27 | typedef enum 28 | { 29 | ReadFileMode, 30 | WriteFileMode, 31 | } FileMode; 32 | 33 | typedef struct _FileInfo 34 | FileInfo; 35 | 36 | extern WizardExport const char 37 | *GetFilePath(const FileInfo *); 38 | 39 | extern WizardExport const struct stat 40 | *GetFileProperties(const FileInfo *); 41 | 42 | extern WizardExport FileInfo 43 | *AcquireFileInfo(const char *,const char *,const FileMode mode, 44 | ExceptionInfo *), 45 | *DestroyFileInfo(FileInfo *,ExceptionInfo *); 46 | 47 | extern WizardExport int 48 | GetFileDescriptor(const FileInfo *), 49 | ReadFileByte(FileInfo *); 50 | 51 | extern WizardExport WizardBooleanType 52 | DestroyFile(FileInfo *,ExceptionInfo *), 53 | ReadFile16Bits(FileInfo *,unsigned short *), 54 | ReadFile32Bits(FileInfo *,size_t *), 55 | ReadFile64Bits(FileInfo *,WizardSizeType *), 56 | ReadFileChunk(FileInfo *,void *,const size_t), 57 | WriteFileChunk(FileInfo *,const void *,const size_t), 58 | WriteFile16Bits(FileInfo *,const unsigned short), 59 | WriteFile32Bits(FileInfo *,const size_t), 60 | WriteFile64Bits(FileInfo *,const WizardSizeType); 61 | 62 | #if defined(__cplusplus) || defined(c_plusplus) 63 | } 64 | #endif 65 | 66 | #endif 67 | -------------------------------------------------------------------------------- /wizard/hash.h: -------------------------------------------------------------------------------- 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 secure hash algorithm methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_HASH_H 19 | #define _WIZARDSTOOLKIT_HASH_H 20 | 21 | #include "wizard/string_.h" 22 | 23 | #if defined(__cplusplus) || defined(c_plusplus) 24 | extern "C" { 25 | #endif 26 | 27 | typedef enum 28 | { 29 | UndefinedHash, 30 | NoHash, 31 | CRC64Hash, 32 | MD5Hash, 33 | SHA1Hash, 34 | SHA2Hash, 35 | SHA2224Hash, 36 | SHA2256Hash, 37 | SHA2384Hash, 38 | SHA2512Hash, 39 | SHA3Hash, 40 | SHA3224Hash, 41 | SHA3256Hash, 42 | SHA3384Hash, 43 | SHA3512Hash 44 | } HashType; 45 | 46 | typedef struct _HashInfo 47 | HashInfo; 48 | 49 | extern WizardExport char 50 | *GetHashHexDigest(const HashInfo *); 51 | 52 | extern WizardExport const StringInfo 53 | *GetHashDigest(const HashInfo *); 54 | 55 | extern WizardExport HashInfo 56 | *DestroyHashInfo(HashInfo *), 57 | *AcquireHashInfo(const HashType); 58 | 59 | extern WizardExport size_t 60 | GetHashBlocksize(const HashInfo *), 61 | GetHashDigestsize(const HashInfo *); 62 | 63 | extern WizardExport WizardBooleanType 64 | InitializeHash(HashInfo *), 65 | FinalizeHash(HashInfo *), 66 | UpdateHash(HashInfo *,const StringInfo *); 67 | 68 | #if defined(__cplusplus) || defined(c_plusplus) 69 | } 70 | #endif 71 | 72 | #endif 73 | -------------------------------------------------------------------------------- /wizard/hmac.h: -------------------------------------------------------------------------------- 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 secure hash algorithm methods. 17 | */ 18 | #ifndef _MAGICK_HMAC_H 19 | #define _MAGICK_HMAC_H 20 | 21 | #include "wizard/hash.h" 22 | 23 | #if defined(__cplusplus) || defined(c_plusplus) 24 | extern "C" { 25 | #endif 26 | 27 | typedef struct _HMACInfo 28 | HMACInfo; 29 | 30 | extern WizardExport HMACInfo 31 | *AcquireHMACInfo(const HashType), 32 | *DestroyHMACInfo(HMACInfo *); 33 | 34 | extern WizardExport const StringInfo 35 | *GetHMACDigest(const HMACInfo *); 36 | 37 | extern WizardExport size_t 38 | GetHMACDigestsize(const HMACInfo *); 39 | 40 | extern WizardExport void 41 | ConstructHMAC(HMACInfo *,const StringInfo *,const StringInfo *), 42 | FinalizeHMAC(HMACInfo *), 43 | InitializeHMAC(HMACInfo *,const StringInfo *), 44 | ResetHMAC(HMACInfo *), 45 | UpdateHMAC(HMACInfo *,const StringInfo *); 46 | 47 | #if defined(__cplusplus) || defined(c_plusplus) 48 | } 49 | #endif 50 | 51 | #endif 52 | -------------------------------------------------------------------------------- /wizard/key.h: -------------------------------------------------------------------------------- 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 | Wizard the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | Wizard's Toolkit key management methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_KEY_H_ 19 | #define _WIZARDSTOOLKIT_KEY_H_ 20 | 21 | #include "wizard/cipher.h" 22 | #include "wizard/random_.h" 23 | #include "wizard/splay-tree.h" 24 | 25 | #if defined(__cplusplus) || defined(c_plusplus) 26 | extern "C" { 27 | #endif 28 | 29 | typedef struct _KeyInfo 30 | KeyInfo; 31 | 32 | extern WizardExport KeyInfo 33 | *AcquireKeyInfo(void), 34 | *DestroyKeyInfo(KeyInfo *); 35 | 36 | extern WizardExport WizardBooleanType 37 | SetKeyInfo(KeyInfo *,const StringInfo *,const StringInfo *); 38 | 39 | extern WizardExport StringInfo 40 | *GenerateSessionKey(KeyInfo *), 41 | *GetKeyInfo(KeyInfo *,const StringInfo *); 42 | 43 | #if defined(__cplusplus) || defined(c_plusplus) 44 | } 45 | #endif 46 | 47 | #endif 48 | -------------------------------------------------------------------------------- /wizard/keyring.h: -------------------------------------------------------------------------------- 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 secret key ring methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_RING_H_ 19 | #define _WIZARDSTOOLKIT_RING_H_ 20 | 21 | #include 22 | #include 23 | #include 24 | 25 | #if defined(__cplusplus) || defined(c_plusplus) 26 | extern "C" { 27 | #endif 28 | 29 | typedef struct _KeyringInfo 30 | KeyringInfo; 31 | 32 | extern WizardExport const StringInfo 33 | *GetKeyringKey(const KeyringInfo *), 34 | *GetKeyringNonce(const KeyringInfo *); 35 | 36 | extern WizardExport KeyringInfo 37 | *AcquireKeyringInfo(const char *), 38 | *DestroyKeyringInfo(KeyringInfo *); 39 | 40 | extern WizardExport void 41 | SetKeyringId(KeyringInfo *,const StringInfo *), 42 | SetKeyringKey(KeyringInfo *,const StringInfo *), 43 | SetKeyringNonce(KeyringInfo *,const StringInfo *), 44 | SetKeyringPath(KeyringInfo *,const char *); 45 | 46 | extern WizardExport WizardBooleanType 47 | ExportKeyringKey(KeyringInfo *,ExceptionInfo *), 48 | ImportKeyringKey(KeyringInfo *,ExceptionInfo *), 49 | PrintKeyringProperties(const char *,BlobInfo *,ExceptionInfo *); 50 | 51 | #if defined(__cplusplus) || defined(c_plusplus) 52 | } 53 | #endif 54 | 55 | #endif 56 | -------------------------------------------------------------------------------- /wizard/libWizardsToolkit.map: -------------------------------------------------------------------------------- 1 | VERS_1.0 { 2 | global: 3 | *; 4 | }; 5 | -------------------------------------------------------------------------------- /wizard/lzma.h: -------------------------------------------------------------------------------- 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 LZMA entropy methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_LZMA_H_ 19 | #define _WIZARDSTOOLKIT_LZMA_H_ 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | typedef struct _LZMAInfo 26 | LZMAInfo; 27 | 28 | extern WizardExport const StringInfo 29 | *GetLZMAChaos(const LZMAInfo *); 30 | 31 | extern WizardExport WizardBooleanType 32 | IncreaseLZMA(LZMAInfo *,const StringInfo *,ExceptionInfo *), 33 | RestoreLZMA(LZMAInfo *,const size_t,const StringInfo *,ExceptionInfo *); 34 | 35 | extern WizardExport LZMAInfo 36 | *AcquireLZMAInfo(const size_t), 37 | *DestroyLZMAInfo(LZMAInfo *); 38 | 39 | #if defined(__cplusplus) || defined(c_plusplus) 40 | } 41 | #endif 42 | 43 | #endif 44 | -------------------------------------------------------------------------------- /wizard/magick.h: -------------------------------------------------------------------------------- 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 magick methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_MAGICK_H 19 | #define _WIZARDSTOOLKIT_MAGICK_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | extern unsigned char 26 | WizardMagick[4], 27 | WizardMagick[4]; 28 | 29 | WizardExport StringInfo 30 | *GetWizardMagick(const unsigned char *,const size_t); 31 | 32 | #if defined(__cplusplus) || defined(c_plusplus) 33 | } 34 | #endif 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /wizard/md5.h: -------------------------------------------------------------------------------- 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 secure hash algorithm methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_MD5_H 19 | #define _WIZARDSTOOLKIT_MD5_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | typedef struct _MD5Info 26 | MD5Info; 27 | 28 | extern WizardExport MD5Info 29 | *AcquireMD5Info(void), 30 | *DestroyMD5Info(MD5Info *); 31 | 32 | extern WizardExport const StringInfo 33 | *GetMD5Digest(const MD5Info *); 34 | 35 | extern WizardExport unsigned int 36 | GetMD5Blocksize(const MD5Info *), 37 | GetMD5Digestsize(const MD5Info *); 38 | 39 | extern WizardExport WizardBooleanType 40 | InitializeMD5(MD5Info *), 41 | FinalizeMD5(MD5Info *), 42 | UpdateMD5(MD5Info *,const StringInfo *); 43 | 44 | #if defined(__cplusplus) || defined(c_plusplus) 45 | } 46 | #endif 47 | 48 | #endif 49 | -------------------------------------------------------------------------------- /wizard/memory-private.h: -------------------------------------------------------------------------------- 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 | The Wizard's Toolkit private memory methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_MEMORY_PRIVATE_H 19 | #define _WIZARDSTOOLKIT_MEMORY_PRIVATE_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | #if defined(__powerpc__) 25 | # define CACHE_LINE_SIZE 128 26 | #else 27 | # define CACHE_LINE_SIZE 64 28 | #endif 29 | 30 | #define CacheAlign(size) ((size) < CACHE_LINE_SIZE ? CACHE_LINE_SIZE : (size)) 31 | 32 | #if (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ > 6)) 33 | #if !defined(__ICC) 34 | #define WizardAssumeAligned(address) \ 35 | __builtin_assume_aligned((address),CACHE_LINE_SIZE) 36 | #else 37 | #define WizardAssumeAligned(address) (address) 38 | #endif 39 | #else 40 | #define WizardAssumeAligned(address) (address) 41 | #endif 42 | 43 | static inline size_t OverAllocateMemory(const size_t length) 44 | { 45 | size_t 46 | extent; 47 | 48 | /* 49 | Over allocate memory, typically used when concatentating strings. 50 | */ 51 | extent=length; 52 | if (extent < 131072) 53 | for (extent=256; extent < length; extent*=2); 54 | return(extent); 55 | } 56 | 57 | #if defined(__cplusplus) || defined(c_plusplus) 58 | } 59 | #endif 60 | 61 | #endif 62 | -------------------------------------------------------------------------------- /wizard/memory_.h: -------------------------------------------------------------------------------- 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 | The Wizard's Toolkit memory methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_MEMORY_H 19 | #define _WIZARDSTOOLKIT_MEMORY_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | typedef struct _MemoryInfo 26 | MemoryInfo; 27 | 28 | typedef void 29 | *(*AcquireMemoryHandler)(size_t) wizard_alloc_size(1), 30 | (*DestroyMemoryHandler)(void *), 31 | *(*ResizeMemoryHandler)(void *,size_t) wizard_alloc_size(2); 32 | 33 | extern WizardExport MemoryInfo 34 | *AcquireVirtualMemory(const size_t,const size_t,ExceptionInfo *) 35 | wizard_alloc_sizes(1,2), 36 | *RelinquishVirtualMemory(MemoryInfo *); 37 | 38 | extern WizardExport void 39 | *AcquireAlignedMemory(const size_t,const size_t) 40 | wizard_attribute((__malloc__)) wizard_alloc_sizes(1,2), 41 | *AcquireWizardMemory(const size_t) wizard_attribute((__malloc__)) 42 | wizard_alloc_size(1), 43 | *AcquireQuantumMemory(const size_t,const size_t) 44 | wizard_attribute((__malloc__)) wizard_alloc_sizes(1,2), 45 | *CopyWizardMemory(void *,const void *,const size_t) 46 | wizard_attribute((__nonnull__)), 47 | DestroyWizardMemory(void), 48 | *GetVirtualMemoryBlob(const MemoryInfo *), 49 | GetWizardMemoryMethods(AcquireMemoryHandler *,ResizeMemoryHandler *, 50 | DestroyMemoryHandler *), 51 | *RelinquishAlignedMemory(void *), 52 | *RelinquishWizardMemory(void *), 53 | *ResetWizardMemory(void *,int,const size_t), 54 | *ResizeWizardMemory(void *,const size_t) 55 | wizard_attribute((__malloc__)) wizard_alloc_size(2), 56 | *ResizeQuantumMemory(void *,const size_t,const size_t) 57 | wizard_attribute((__malloc__)) wizard_alloc_sizes(2,3), 58 | SetWizardMemoryMethods(AcquireMemoryHandler,ResizeMemoryHandler, 59 | DestroyMemoryHandler); 60 | 61 | #if defined(__cplusplus) || defined(c_plusplus) 62 | } 63 | #endif 64 | 65 | #endif 66 | -------------------------------------------------------------------------------- /wizard/mime-private.h: -------------------------------------------------------------------------------- 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 | The Wizard's toolkit private methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_MIME_PRIVATE_H 19 | #define _WIZARDSTOOLKIT_MIME_PRIVATE_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | typedef enum 26 | { 27 | UndefinedEndian, 28 | LSBEndian, 29 | MSBEndian 30 | } EndianType; 31 | 32 | typedef enum 33 | { 34 | UndefinedData, 35 | StringData, 36 | ByteData, 37 | ShortData, 38 | LongData 39 | } DataType; 40 | 41 | #if defined(__cplusplus) || defined(c_plusplus) 42 | } 43 | #endif 44 | 45 | #endif 46 | -------------------------------------------------------------------------------- /wizard/mime.h: -------------------------------------------------------------------------------- 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 | The Wizard's Toolkit mime methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_MIME_H 19 | #define _WIZARDSTOOLKIT_MIME_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | typedef struct _MimeInfo 26 | MimeInfo; 27 | 28 | extern WizardExport char 29 | **GetMimeList(const char *,size_t *,ExceptionInfo *), 30 | *WizardToMime(const char *); 31 | 32 | extern WizardExport const char 33 | *GetMimeDescription(const MimeInfo *), 34 | *GetMimeType(const MimeInfo *); 35 | 36 | extern WizardExport WizardBooleanType 37 | ListMimeInfo(FILE *,ExceptionInfo *), 38 | LoadMimeLists(const char *,ExceptionInfo *), 39 | MimeComponentGenesis(void); 40 | 41 | extern WizardExport const MimeInfo 42 | *GetMimeInfo(const char *,const unsigned char *,const size_t,ExceptionInfo *), 43 | **GetMimeInfoList(const char *,size_t *,ExceptionInfo *); 44 | 45 | extern WizardExport void 46 | MimeComponentTerminus(void); 47 | 48 | #if defined(__cplusplus) || defined(c_plusplus) 49 | } 50 | #endif 51 | 52 | #endif 53 | -------------------------------------------------------------------------------- /wizard/option.h: -------------------------------------------------------------------------------- 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 option methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_OPTION_H 19 | #define _WIZARDSTOOLKIT_OPTION_H 20 | 21 | #include "wizard/hash.h" 22 | #include "wizard/log.h" 23 | 24 | #if defined(__cplusplus) || defined(c_plusplus) 25 | extern "C" { 26 | #endif 27 | 28 | typedef struct _OptionInfo 29 | { 30 | const char 31 | *mnemonic; 32 | 33 | ssize_t 34 | type; 35 | } OptionInfo; 36 | 37 | typedef enum 38 | { 39 | WizardUndefinedOptions = -1, 40 | WizardAuthenticateOptions = 0, 41 | WizardCipherOptions, 42 | WizardCommandOptions, 43 | WizardDataTypeOptions, 44 | WizardDebugOptions, 45 | WizardEndianOptions, 46 | WizardEntropyOptions, 47 | WizardEntropyLevelOptions, 48 | WizardKeyLengthOptions, 49 | WizardHashOptions, 50 | WizardListOptions, 51 | WizardModeOptions, 52 | WizardLogEventOptions, 53 | WizardResourceOptions 54 | } WizardOption; 55 | 56 | extern WizardExport char 57 | **GetWizardOptions(const WizardOption); 58 | 59 | extern WizardExport const char 60 | *WizardOptionToMnemonic(const WizardOption,const ssize_t); 61 | 62 | extern WizardExport ssize_t 63 | ParseWizardOption(const WizardOption,const WizardBooleanType,const char *); 64 | 65 | extern WizardExport WizardBooleanType 66 | IsWizardOption(const char *), 67 | ListWizardOptions(FILE *,const WizardOption,ExceptionInfo *); 68 | 69 | #if defined(__cplusplus) || defined(c_plusplus) 70 | } 71 | #endif 72 | 73 | #endif 74 | -------------------------------------------------------------------------------- /wizard/passphrase.h: -------------------------------------------------------------------------------- 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 | Wizard the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | Wizard's Toolkit passphrase methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_PASSPHRASE_H_ 19 | #define _WIZARDSTOOLKIT_PASSPHRASE_H_ 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | extern WizardExport StringInfo 26 | *GetPassphrase(ExceptionInfo *exception); 27 | 28 | #if defined(__cplusplus) || defined(c_plusplus) 29 | } 30 | #endif 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /wizard/random_.h: -------------------------------------------------------------------------------- 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 random number methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_RANDOM_H 19 | #define _WIZARDSTOOLKIT_RANDOM_H 20 | 21 | #include "wizard/hmac.h" 22 | 23 | #if defined(__cplusplus) || defined(c_plusplus) 24 | extern "C" { 25 | #endif 26 | 27 | /* 28 | Typedef declarations. 29 | */ 30 | typedef struct _RandomInfo 31 | RandomInfo; 32 | 33 | /* 34 | Method declarations. 35 | */ 36 | extern WizardExport double 37 | GetPseudoRandomValue(RandomInfo *), 38 | GetRandomValue(RandomInfo *); 39 | 40 | extern WizardExport RandomInfo 41 | *AcquireRandomInfo(const HashType), 42 | *DestroyRandomInfo(RandomInfo *); 43 | 44 | extern WizardExport StringInfo 45 | *GetRandomKey(RandomInfo *,const size_t); 46 | 47 | extern WizardExport unsigned long 48 | GetRandomSecretKey(const RandomInfo *); 49 | 50 | extern WizardExport void 51 | RandomComponentTerminus(void), 52 | SetRandomKey(RandomInfo *,const size_t,unsigned char *), 53 | SetRandomSecretKey(const unsigned long), 54 | SetRandomTrueRandom(const WizardBooleanType); 55 | 56 | extern WizardExport WizardBooleanType 57 | RandomComponentGenesis(void); 58 | 59 | #if defined(__cplusplus) || defined(c_plusplus) 60 | } 61 | #endif 62 | 63 | #endif 64 | -------------------------------------------------------------------------------- /wizard/resource_.h: -------------------------------------------------------------------------------- 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 resource methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_RESOURCE_H 19 | #define _WIZARDSTOOLKIT_RESOURCE_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | #if !defined(WizardFormatExtent) 26 | # define WizardFormatExtent 64 27 | #endif 28 | 29 | /* 30 | Typedef declarations. 31 | */ 32 | typedef enum 33 | { 34 | UndefinedResource, 35 | AreaResource, 36 | DiskResource, 37 | FileResource, 38 | MapResource, 39 | MemoryResource 40 | } ResourceType; 41 | 42 | /* 43 | Method declarations. 44 | */ 45 | extern WizardExport int 46 | AcquireUniqueFileResource(const char *,char *,ExceptionInfo *); 47 | 48 | extern WizardExport WizardBooleanType 49 | AcquireWizardResource(const ResourceType,const WizardSizeType), 50 | AcquireUniqueFilename(char *,ExceptionInfo *), 51 | GetPathTemplate(const char *,char *), 52 | ListWizardResourceInfo(FILE *,ExceptionInfo *), 53 | RelinquishUniqueFileResource(const char *,const WizardBooleanType), 54 | ResourceComponentGenesis(void), 55 | SetWizardResourceLimit(const ResourceType,const WizardSizeType); 56 | 57 | extern WizardExport WizardSizeType 58 | GetWizardResource(const ResourceType); 59 | 60 | extern WizardExport void 61 | AsynchronousResourceComponentTerminus(void), 62 | RelinquishWizardResource(const ResourceType,const WizardSizeType), 63 | ResourceComponentTerminus(void); 64 | 65 | #if defined(__cplusplus) || defined(c_plusplus) 66 | } 67 | #endif 68 | 69 | #endif 70 | -------------------------------------------------------------------------------- /wizard/sanitize.h: -------------------------------------------------------------------------------- 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 sanitize environment methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_SANITIZE_H 19 | #define _WIZARDSTOOLKIT_SANITIZE_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | extern WizardExport void 26 | SanitizeEnvironment(void); 27 | 28 | #if defined(__cplusplus) || defined(c_plusplus) 29 | } 30 | #endif 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /wizard/secret.h: -------------------------------------------------------------------------------- 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 Secret authentication methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_SECRET_H_ 19 | #define _WIZARDSTOOLKIT_SECRET_H_ 20 | 21 | #include "wizard/cipher.h" 22 | #include "wizard/exception.h" 23 | #include "wizard/hash.h" 24 | #include "wizard/hmac.h" 25 | #include "wizard/keyring.h" 26 | #include "wizard/random_.h" 27 | 28 | #if defined(__cplusplus) || defined(c_plusplus) 29 | extern "C" { 30 | #endif 31 | 32 | typedef struct _SecretInfo 33 | SecretInfo; 34 | 35 | extern WizardExport const char 36 | *GetSecretPassphrase(const SecretInfo *); 37 | 38 | extern WizardExport const StringInfo 39 | *GetSecretId(const SecretInfo *), 40 | *GetSecretKey(const SecretInfo *); 41 | 42 | extern WizardExport SecretInfo 43 | *AcquireSecretInfo(const char *,const HashType,const size_t), 44 | *DestroySecretInfo(SecretInfo *); 45 | 46 | extern WizardExport size_t 47 | GetSecretKeyLength(const SecretInfo *); 48 | 49 | extern WizardExport void 50 | SetSecretId(SecretInfo *,const StringInfo *), 51 | SetSecretKeyLength(SecretInfo *,const size_t), 52 | SetSecretPassphrase(SecretInfo *,const char *); 53 | 54 | extern WizardExport WizardBooleanType 55 | AuthenticateSecretKey(SecretInfo *,ExceptionInfo *), 56 | GenerateSecretKey(SecretInfo *,ExceptionInfo *); 57 | 58 | #if defined(__cplusplus) || defined(c_plusplus) 59 | } 60 | #endif 61 | 62 | #endif 63 | -------------------------------------------------------------------------------- /wizard/semaphore.h: -------------------------------------------------------------------------------- 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 | Methods to lock and unlock semaphores. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_SEMAPHORE_H 19 | #define _WIZARDSTOOLKIT_SEMAPHORE_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | typedef struct SemaphoreInfo 26 | SemaphoreInfo; 27 | 28 | extern WizardExport SemaphoreInfo 29 | *AcquireSemaphoreInfo(void); 30 | 31 | extern WizardExport void 32 | ActivateSemaphoreInfo(SemaphoreInfo **), 33 | LockSemaphoreInfo(SemaphoreInfo *), 34 | RelinquishSemaphoreInfo(SemaphoreInfo **), 35 | SemaphoreComponentTerminus(void), 36 | UnlockSemaphoreInfo(SemaphoreInfo *); 37 | 38 | extern WizardExport WizardBooleanType 39 | SemaphoreComponentGenesis(void); 40 | 41 | 42 | #if defined(__cplusplus) || defined(c_plusplus) 43 | } 44 | #endif 45 | 46 | #endif 47 | -------------------------------------------------------------------------------- /wizard/serpent.h: -------------------------------------------------------------------------------- 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 Serpent cipher methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_SERPENT_H 19 | #define _WIZARDSTOOLKIT_SERPENT_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | typedef struct _SerpentInfo 26 | SerpentInfo; 27 | 28 | extern WizardExport SerpentInfo 29 | *AcquireSerpentInfo(void), 30 | *DestroySerpentInfo(SerpentInfo *); 31 | 32 | extern WizardExport unsigned int 33 | GetSerpentBlocksize(const SerpentInfo *); 34 | 35 | extern WizardExport void 36 | DecipherSerpentBlock(SerpentInfo *,const unsigned char *,unsigned char *), 37 | EncipherSerpentBlock(SerpentInfo *,const unsigned char *,unsigned char *), 38 | SetSerpentKey(SerpentInfo *,const StringInfo *); 39 | 40 | #if defined(__cplusplus) || defined(c_plusplus) 41 | } 42 | #endif 43 | 44 | #endif 45 | -------------------------------------------------------------------------------- /wizard/sha1.h: -------------------------------------------------------------------------------- 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 secure hash algorithm methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_SHA1_H 19 | #define _WIZARDSTOOLKIT_SHA1_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | typedef struct _SHA1Info 26 | SHA1Info; 27 | 28 | extern WizardExport SHA1Info 29 | *AcquireSHA1Info(void), 30 | *DestroySHA1Info(SHA1Info *); 31 | 32 | extern WizardExport const StringInfo 33 | *GetSHA1Digest(const SHA1Info *); 34 | 35 | extern WizardExport unsigned int 36 | GetSHA1Blocksize(const SHA1Info *), 37 | GetSHA1Digestsize(const SHA1Info *); 38 | 39 | extern WizardExport WizardBooleanType 40 | InitializeSHA1(SHA1Info *), 41 | FinalizeSHA1(SHA1Info *), 42 | UpdateSHA1(SHA1Info *,const StringInfo *); 43 | 44 | #if defined(__cplusplus) || defined(c_plusplus) 45 | } 46 | #endif 47 | 48 | #endif 49 | -------------------------------------------------------------------------------- /wizard/sha2224.h: -------------------------------------------------------------------------------- 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 secure hash algorithm methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_SHA2224_H 19 | #define _WIZARDSTOOLKIT_SHA2224_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | typedef struct _SHA2224Info 26 | SHA2224Info; 27 | 28 | extern WizardExport SHA2224Info 29 | *AcquireSHA2224Info(void), 30 | *DestroySHA2224Info(SHA2224Info *); 31 | 32 | extern WizardExport const StringInfo 33 | *GetSHA2224Digest(const SHA2224Info *); 34 | 35 | extern WizardExport unsigned int 36 | GetSHA2224Blocksize(const SHA2224Info *), 37 | GetSHA2224Digestsize(const SHA2224Info *); 38 | 39 | extern WizardExport WizardBooleanType 40 | InitializeSHA2224(SHA2224Info *), 41 | FinalizeSHA2224(SHA2224Info *), 42 | UpdateSHA2224(SHA2224Info *,const StringInfo *); 43 | 44 | #if defined(__cplusplus) || defined(c_plusplus) 45 | } 46 | #endif 47 | 48 | #endif 49 | -------------------------------------------------------------------------------- /wizard/sha2256.h: -------------------------------------------------------------------------------- 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 secure hash algorithm methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_SHA2256_H 19 | #define _WIZARDSTOOLKIT_SHA2256_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | typedef struct _SHA2256Info 26 | SHA2256Info; 27 | 28 | extern WizardExport SHA2256Info 29 | *AcquireSHA2256Info(void), 30 | *DestroySHA2256Info(SHA2256Info *); 31 | 32 | extern WizardExport const StringInfo 33 | *GetSHA2256Digest(const SHA2256Info *); 34 | 35 | extern WizardExport unsigned int 36 | GetSHA2256Blocksize(const SHA2256Info *), 37 | GetSHA2256Digestsize(const SHA2256Info *); 38 | 39 | extern WizardExport WizardBooleanType 40 | InitializeSHA2256(SHA2256Info *), 41 | FinalizeSHA2256(SHA2256Info *), 42 | UpdateSHA2256(SHA2256Info *,const StringInfo *); 43 | 44 | #if defined(__cplusplus) || defined(c_plusplus) 45 | } 46 | #endif 47 | 48 | #endif 49 | -------------------------------------------------------------------------------- /wizard/sha2384.h: -------------------------------------------------------------------------------- 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 secure hash algorithm methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_SHA2384_H 19 | #define _WIZARDSTOOLKIT_SHA2384_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | typedef struct _SHA2384Info 26 | SHA2384Info; 27 | 28 | extern WizardExport SHA2384Info 29 | *AcquireSHA2384Info(void), 30 | *DestroySHA2384Info(SHA2384Info *); 31 | 32 | extern WizardExport const StringInfo 33 | *GetSHA2384Digest(const SHA2384Info *); 34 | 35 | extern WizardExport unsigned int 36 | GetSHA2384Blocksize(const SHA2384Info *), 37 | GetSHA2384Digestsize(const SHA2384Info *); 38 | 39 | extern WizardExport WizardBooleanType 40 | InitializeSHA2384(SHA2384Info *), 41 | FinalizeSHA2384(SHA2384Info *), 42 | UpdateSHA2384(SHA2384Info *,const StringInfo *); 43 | 44 | #if defined(__cplusplus) || defined(c_plusplus) 45 | } 46 | #endif 47 | 48 | #endif 49 | -------------------------------------------------------------------------------- /wizard/sha2512.h: -------------------------------------------------------------------------------- 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 secure hash algorithm methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_SHA2512_H 19 | #define _WIZARDSTOOLKIT_SHA2512_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | typedef struct _SHA2512Info 26 | SHA2512Info; 27 | 28 | extern WizardExport SHA2512Info 29 | *AcquireSHA2512Info(void), 30 | *DestroySHA2512Info(SHA2512Info *); 31 | 32 | extern WizardExport const StringInfo 33 | *GetSHA2512Digest(const SHA2512Info *); 34 | 35 | extern WizardExport unsigned int 36 | GetSHA2512Blocksize(const SHA2512Info *), 37 | GetSHA2512Digestsize(const SHA2512Info *); 38 | 39 | extern WizardExport WizardBooleanType 40 | InitializeSHA2512(SHA2512Info *), 41 | FinalizeSHA2512(SHA2512Info *), 42 | UpdateSHA2512(SHA2512Info *,const StringInfo *); 43 | 44 | #if defined(__cplusplus) || defined(c_plusplus) 45 | } 46 | #endif 47 | 48 | #endif 49 | -------------------------------------------------------------------------------- /wizard/sha3.h: -------------------------------------------------------------------------------- 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 secure hash algorithm methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_SHA3_H 19 | #define _WIZARDSTOOLKIT_SHA3_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | typedef struct _SHA3Info 26 | SHA3Info; 27 | 28 | extern WizardExport SHA3Info 29 | *AcquireSHA3Info(const HashType), 30 | *DestroySHA3Info(SHA3Info *); 31 | 32 | extern WizardExport const StringInfo 33 | *GetSHA3Digest(const SHA3Info *); 34 | 35 | extern WizardExport unsigned int 36 | GetSHA3Blocksize(const SHA3Info *), 37 | GetSHA3Digestsize(const SHA3Info *); 38 | 39 | extern WizardExport WizardBooleanType 40 | InitializeSHA3(SHA3Info *), 41 | FinalizeSHA3(SHA3Info *), 42 | UpdateSHA3(SHA3Info *,const StringInfo *); 43 | 44 | #if defined(__cplusplus) || defined(c_plusplus) 45 | } 46 | #endif 47 | 48 | #endif 49 | -------------------------------------------------------------------------------- /wizard/signature.h: -------------------------------------------------------------------------------- 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 | ImageMagick digital signature methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_SIGNATURE_H 19 | #define _WIZARDSTOOLKIT_SIGNATURE_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | #define WizardSignatureSize 64 26 | 27 | typedef struct _SignatureInfo 28 | { 29 | size_t 30 | digest[8], 31 | low_order, 32 | high_order; 33 | 34 | ssize_t 35 | offset; 36 | 37 | unsigned char 38 | message[WizardSignatureSize]; 39 | 40 | WizardBooleanType 41 | lsb_first; 42 | 43 | size_t 44 | signature; 45 | } SignatureInfo; 46 | 47 | extern WizardExport void 48 | FinalizeSignature(SignatureInfo *), 49 | GetSignatureInfo(SignatureInfo *), 50 | UpdateSignature(SignatureInfo *,const unsigned char *,const size_t); 51 | 52 | #if defined(__cplusplus) || defined(c_plusplus) 53 | } 54 | #endif 55 | 56 | #endif 57 | -------------------------------------------------------------------------------- /wizard/splay-tree.h: -------------------------------------------------------------------------------- 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 splay-tree methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_SPLAY_H 19 | #define _WIZARDSTOOLKIT_SPLAY_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | typedef struct _SplayTreeInfo 26 | SplayTreeInfo; 27 | 28 | extern WizardExport const void 29 | *GetNextKeyInSplayTree(SplayTreeInfo *), 30 | *GetNextValueInSplayTree(SplayTreeInfo *), 31 | *GetValueFromSplayTree(SplayTreeInfo *,const void *); 32 | 33 | extern WizardExport int 34 | CompareSplayTreeString(const void *,const void *), 35 | CompareSplayTreeStringInfo(const void *,const void *); 36 | 37 | extern WizardExport SplayTreeInfo 38 | *CloneSplayTree(SplayTreeInfo *,void *(*)(void *),void *(*)(void *)), 39 | *DestroySplayTree(SplayTreeInfo *), 40 | *NewSplayTree(int (*)(const void *,const void *),void *(*)(void *), 41 | void *(*)(void *)); 42 | 43 | extern WizardExport size_t 44 | GetNumberOfNodesInSplayTree(const SplayTreeInfo *); 45 | 46 | extern WizardExport void 47 | *RemoveNodeByValueFromSplayTree(SplayTreeInfo *,const void *), 48 | *RemoveNodeFromSplayTree(SplayTreeInfo *,const void *), 49 | ResetSplayTree(SplayTreeInfo *), 50 | ResetSplayTreeIterator(SplayTreeInfo *); 51 | 52 | extern WizardExport WizardBooleanType 53 | AddValueToSplayTree(SplayTreeInfo *,const void *,const void *), 54 | DeleteNodeByValueFromSplayTree(SplayTreeInfo *,const void *), 55 | DeleteNodeFromSplayTree(SplayTreeInfo *,const void *); 56 | 57 | #if defined(__cplusplus) || defined(c_plusplus) 58 | } 59 | #endif 60 | 61 | #endif 62 | -------------------------------------------------------------------------------- /wizard/string-private.h: -------------------------------------------------------------------------------- 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 private string methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_STRING_PRIVATE_H 19 | #define _WIZARDSTOOLKIT_STRING_PRIVATE_H 20 | 21 | #include 22 | 23 | #if defined(__cplusplus) || defined(c_plusplus) 24 | extern "C" { 25 | #endif 26 | 27 | static inline double StringToDouble(const char *string,char **sentinal) 28 | { 29 | return(InterpretLocaleValue(string,sentinal)); 30 | } 31 | 32 | static inline double StringToDoubleInterval(const char *string, 33 | const double interval) 34 | { 35 | char 36 | *q; 37 | 38 | double 39 | value; 40 | 41 | value=InterpretSiPrefixValue(string,&q); 42 | if (*q == '%') 43 | value*=interval/100.0; 44 | return(value); 45 | } 46 | 47 | static inline int StringToInteger(const char *value) 48 | { 49 | return((int) strtol(value,(char **) NULL,10)); 50 | } 51 | 52 | static inline long StringToLong(const char *value) 53 | { 54 | if (value == (const char *) NULL) 55 | return(0); 56 | return(strtol(value,(char **) NULL,10)); 57 | } 58 | 59 | static inline unsigned long StringToUnsignedLong(const char *value) 60 | { 61 | return(strtoul(value,(char **) NULL,10)); 62 | } 63 | 64 | #if defined(__cplusplus) || defined(c_plusplus) 65 | } 66 | #endif 67 | 68 | #endif 69 | -------------------------------------------------------------------------------- /wizard/thread_.h: -------------------------------------------------------------------------------- 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 | WizardCore private methods for internal threading. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_THREAD_H 19 | #define _WIZARDSTOOLKIT_THREAD_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | #if defined(WIZARDSTOOLKIT_THREAD_SUPPORT) 26 | typedef pthread_t WizardThreadType; 27 | #elif defined(WIZARDSTOOLKIT_HAVE_WINTHREADS) 28 | typedef DWORD WizardThreadType; 29 | #else 30 | typedef pid_t WizardThreadType; 31 | #endif 32 | 33 | #if defined(WIZARDSTOOLKIT_THREAD_SUPPORT) 34 | typedef pthread_key_t WizardThreadKey; 35 | #elif defined(MAGICKORE_HAVE_WINTHREADS) 36 | typedef DWORD WizardThreadKey; 37 | #else 38 | typedef size_t *WizardThreadKey; 39 | #endif 40 | 41 | extern WizardExport WizardBooleanType 42 | WizardCreateThreadKey(WizardThreadKey *), 43 | WizardDeleteThreadKey(WizardThreadKey), 44 | WizardSetThreadValue(WizardThreadKey,const void *); 45 | 46 | extern WizardExport void 47 | *WizardGetThreadValue(WizardThreadKey); 48 | 49 | #if defined(__cplusplus) || defined(c_plusplus) 50 | } 51 | #endif 52 | 53 | #endif 54 | -------------------------------------------------------------------------------- /wizard/timer.h: -------------------------------------------------------------------------------- 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 timer methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_TIMER_H 19 | #define _WIZARDSTOOLKIT_TIMER_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | #define WizardEpsilon 1.0e-15 26 | 27 | typedef enum 28 | { 29 | UndefinedTimerState, 30 | StoppedTimerState, 31 | RunningTimerState 32 | } TimerState; 33 | 34 | typedef struct _Timer 35 | { 36 | double 37 | start, 38 | stop, 39 | total; 40 | } Timer; 41 | 42 | typedef struct _TimerInfo 43 | TimerInfo; 44 | 45 | extern WizardExport double 46 | GetElapsedTime(TimerInfo *), 47 | GetUserTime(TimerInfo *); 48 | 49 | extern WizardExport TimerInfo 50 | *AcquireTimerInfo(void), 51 | *DestroyTimerInfo(TimerInfo *); 52 | 53 | extern WizardExport WizardBooleanType 54 | ContinueTimer(TimerInfo *); 55 | 56 | extern WizardExport void 57 | GetTimerInfo(TimerInfo *), 58 | ResetTimer(TimerInfo *), 59 | StartTimer(TimerInfo *,const WizardBooleanType); 60 | 61 | #if defined(__cplusplus) || defined(c_plusplus) 62 | } 63 | #endif 64 | 65 | #endif 66 | -------------------------------------------------------------------------------- /wizard/token.h: -------------------------------------------------------------------------------- 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 token methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_TOKEN_H 19 | #define _WIZARDSTOOLKIT_TOKEN_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | typedef struct _TokenInfo 26 | TokenInfo; 27 | 28 | extern WizardExport int 29 | Tokenizer(TokenInfo *,unsigned,char *,size_t,char *,char *,char *,char *, 30 | char,char *,int *,char *); 31 | 32 | extern WizardExport WizardBooleanType 33 | GlobExpression(const char *,const char *,const WizardBooleanType), 34 | IsGlob(const char *); 35 | 36 | extern WizardExport void 37 | GetNextToken(const char *,const char **,const size_t extent,char *); 38 | 39 | #if defined(__cplusplus) || defined(c_plusplus) 40 | } 41 | #endif 42 | 43 | #endif 44 | -------------------------------------------------------------------------------- /wizard/twofish.h: -------------------------------------------------------------------------------- 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 Twofish cipher methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_TWOFISH_H 19 | #define _WIZARDSTOOLKIT_TWOFISH_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | typedef struct _TwofishInfo 26 | TwofishInfo; 27 | 28 | extern WizardExport TwofishInfo 29 | *AcquireTwofishInfo(void), 30 | *DestroyTwofishInfo(TwofishInfo *); 31 | 32 | extern WizardExport unsigned int 33 | GetTwofishBlocksize(const TwofishInfo *); 34 | 35 | extern WizardExport void 36 | DecipherTwofishBlock(TwofishInfo *,const unsigned char *,unsigned char *), 37 | EncipherTwofishBlock(TwofishInfo *,const unsigned char *,unsigned char *), 38 | SetTwofishKey(TwofishInfo *,const StringInfo *); 39 | 40 | #if defined(__cplusplus) || defined(c_plusplus) 41 | } 42 | #endif 43 | 44 | #endif 45 | -------------------------------------------------------------------------------- /wizard/utility.h: -------------------------------------------------------------------------------- 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) 22 | extern "C" { 23 | #endif 24 | 25 | typedef enum 26 | { 27 | UndefinedPath, 28 | FilesystemPath, 29 | RootPath, 30 | HeadPath, 31 | TailPath, 32 | BasePath, 33 | ExtensionPath, 34 | SubnodePath, 35 | CanonicalPath 36 | } PathType; 37 | 38 | extern WizardExport char 39 | *Base64Encode(const unsigned char *,const size_t,size_t *), 40 | **GetPathComponents(const char *,size_t *); 41 | 42 | extern WizardExport const char 43 | *ParseWizardTime(const char *,time_t *); 44 | 45 | extern WizardExport unsigned char 46 | *Base64Decode(const char *, size_t *); 47 | 48 | extern WizardExport void 49 | AppendFileExtension(const char *,char *), 50 | ChopPathComponents(char *,const size_t), 51 | GetPathComponent(const char *,PathType,char *); 52 | 53 | extern WizardExport WizardBooleanType 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 63 | -------------------------------------------------------------------------------- /wizard/version.h: -------------------------------------------------------------------------------- 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://urban-warrior.org/WizardsToolkit/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 version and copyright. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_VERSION_H 19 | #define _WIZARDSTOOLKIT_VERSION_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | /* 26 | Define declarations. 27 | */ 28 | #define WizardPackageName "WizardsToolkit" 29 | #define WizardCopyright "(C) 1999 ImageMagick Studio LLC" 30 | #define WizardLibVersion 0x109 31 | #define WizardLibVersionText "1.0.9" 32 | #define WizardLibVersionNumber 1,0,1 33 | #define WizardLibAddendum "-5" 34 | #define WizardLibInterface 1 35 | #define WizardLibMinInterface 1 36 | #define WizardReleaseDate "2024-10-06" 37 | #define WizardChangeDate "@PACKAGE_CHANGE_DATE@" 38 | #define WizardAuthoritativeURL "https://urban-warrior.org/WizardsToolkit" 39 | #define WizardVersion WizardPackageName " " WizardLibVersionText \ 40 | WizardLibAddendum " " WizardReleaseDate " " WizardAuthoritativeURL 41 | 42 | /* 43 | Method declarations. 44 | */ 45 | extern WizardExport const char 46 | *GetWizardCopyright(void), 47 | *GetWizardVersion(size_t *); 48 | 49 | #if defined(__cplusplus) || defined(c_plusplus) 50 | } 51 | #endif 52 | 53 | #endif 54 | -------------------------------------------------------------------------------- /wizard/version.h.in: -------------------------------------------------------------------------------- 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://urban-warrior.org/WizardsToolkit/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 version and copyright. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_VERSION_H 19 | #define _WIZARDSTOOLKIT_VERSION_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | /* 26 | Define declarations. 27 | */ 28 | #define WizardPackageName "@PACKAGE_NAME@" 29 | #define WizardCopyright "(C) 1999 ImageMagick Studio LLC" 30 | #define WizardLibVersion @PACKAGE_LIB_VERSION@ 31 | #define WizardLibVersionText "@WIZARD_LIB_VERSION_TEXT@" 32 | #define WizardLibVersionNumber @WIZARD_LIB_VERSION_NUMBER@ 33 | #define WizardLibAddendum "@PACKAGE_VERSION_ADDENDUM@" 34 | #define WizardLibInterface @WIZARD_LIBRARY_CURRENT@ 35 | #define WizardLibMinInterface @WIZARD_LIBRARY_CURRENT_MIN@ 36 | #define WizardReleaseDate "@PACKAGE_RELEASE_DATE@" 37 | #define WizardChangeDate "@PACKAGE_CHANGE_DATE@" 38 | #define WizardAuthoritativeURL "https://urban-warrior.org/WizardsToolkit" 39 | #define WizardVersion WizardPackageName " " WizardLibVersionText \ 40 | WizardLibAddendum " " WizardReleaseDate " " WizardAuthoritativeURL 41 | 42 | /* 43 | Method declarations. 44 | */ 45 | extern WizardExport const char 46 | *GetWizardCopyright(void), 47 | *GetWizardVersion(size_t *); 48 | 49 | #if defined(__cplusplus) || defined(c_plusplus) 50 | } 51 | #endif 52 | 53 | #endif 54 | -------------------------------------------------------------------------------- /wizard/wizard-type.h: -------------------------------------------------------------------------------- 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 structure members. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_WIZARD_TYPE_H 19 | #define _WIZARDSTOOLKIT_WIZARD_TYPE_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | typedef enum 26 | { 27 | WizardFalse = 0, 28 | WizardTrue = 1 29 | } WizardBooleanType; 30 | 31 | #if defined(WIZARDSTOOLKIT_WINDOWS_SUPPORT) && !defined(__MINGW32__) && !defined(__MINGW64__) 32 | # define WizardLLConstant(c) (WizardOffsetType) (c ## i64) 33 | # define WizardULLConstant(c) (WizardSizeType) (c ## ui64) 34 | #else 35 | # define WizardLLConstant(c) (WizardOffsetType) (c ## LL) 36 | # define WizardULLConstant(c) (WizardSizeType) (c ## ULL) 37 | #endif 38 | 39 | /* 40 | Typedef declarations. 41 | */ 42 | typedef unsigned int WizardStatusType; 43 | #if !defined(WIZARDSTOOLKIT_WINDOWS_SUPPORT) 44 | #if (WIZARDSTOOLKIT_SIZEOF_UNSIGNED_LONG_LONG == 8) 45 | typedef long long WizardOffsetType; 46 | typedef unsigned long long WizardSizeType; 47 | #define WizardOffsetFormat "lld" 48 | #define WizardSizeFormat "llu" 49 | #else 50 | typedef ssize_t WizardOffsetType; 51 | typedef size_t WizardSizeType; 52 | #define WizardOffsetFormat "lu" 53 | #define WizardSizeFormat "lu" 54 | #endif 55 | #else 56 | typedef __int64 WizardOffsetType; 57 | typedef unsigned __int64 WizardSizeType; 58 | #define WizardOffsetFormat "I64i" 59 | #define WizardSizeFormat "I64u" 60 | #endif 61 | 62 | #if defined(macintosh) 63 | #define ExceptionInfo WizardExceptionInfo 64 | #endif 65 | 66 | #if defined(__cplusplus) || defined(c_plusplus) 67 | } 68 | #endif 69 | 70 | #endif 71 | -------------------------------------------------------------------------------- /wizard/wizard.h: -------------------------------------------------------------------------------- 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 magick methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_WIZARD_H 19 | #define _WIZARDSTOOLKIT_WIZARD_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | WizardExport void 26 | WizardsToolkitTerminus(void), 27 | WizardsToolkitGenesis(const char *); 28 | 29 | #if defined(__cplusplus) || defined(c_plusplus) 30 | } 31 | #endif 32 | 33 | #endif 34 | -------------------------------------------------------------------------------- /wizard/xml-tree-private.h: -------------------------------------------------------------------------------- 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 | http://www.imagemagick.org/MagicksToolkit/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 private xml-tree methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_XML_TREE_PRIVATE_H 19 | #define _WIZARDSTOOLKIT_XML_TREE_PRIVATE_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | extern WizardPrivate char 26 | *FileToXML(const char *,const size_t); 27 | 28 | #if defined(__cplusplus) || defined(c_plusplus) 29 | } 30 | #endif 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /wizard/xml-tree.h: -------------------------------------------------------------------------------- 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 xml-tree methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_XML_TREE_H 19 | #define _WIZARDSTOOLKIT_XML_TREE_H 20 | 21 | #include 22 | 23 | #if defined(__cplusplus) || defined(c_plusplus) 24 | extern "C" { 25 | #endif 26 | 27 | typedef struct _XMLTreeInfo 28 | XMLTreeInfo; 29 | 30 | extern WizardExport char 31 | *CanonicalXMLContent(const char *,const WizardBooleanType), 32 | *XMLTreeInfoToXML(XMLTreeInfo *); 33 | 34 | extern WizardExport const char 35 | *GetXMLTreeAttribute(XMLTreeInfo *,const char *), 36 | *GetXMLTreeContent(XMLTreeInfo *), 37 | **GetXMLTreeProcessingInstructions(XMLTreeInfo *,const char *), 38 | *GetXMLTreeTag(XMLTreeInfo *); 39 | 40 | extern WizardExport XMLTreeInfo 41 | *AddChildToXMLTree(XMLTreeInfo *,const char *,const size_t), 42 | *AddPathToXMLTree(XMLTreeInfo *,const char *,const size_t), 43 | *DestroyXMLTree(XMLTreeInfo *), 44 | *GetNextXMLTreeTag(XMLTreeInfo *), 45 | *GetXMLTreeChild(XMLTreeInfo *,const char *), 46 | *GetXMLTreeOrdered(XMLTreeInfo *), 47 | *GetXMLTreePath(XMLTreeInfo *,const char *), 48 | *GetXMLTreeSibling(XMLTreeInfo *), 49 | *InsertTagIntoXMLTree(XMLTreeInfo *,XMLTreeInfo *,const size_t), 50 | *NewXMLTree(const char *,ExceptionInfo *), 51 | *NewXMLTreeTag(const char *), 52 | *PruneTagFromXMLTree(XMLTreeInfo *), 53 | *SetXMLTreeAttribute(XMLTreeInfo *,const char *,const char *), 54 | *SetXMLTreeContent(XMLTreeInfo *,const char *); 55 | 56 | #if defined(__cplusplus) || defined(c_plusplus) 57 | } 58 | #endif 59 | 60 | #endif 61 | -------------------------------------------------------------------------------- /wizard/zip.h: -------------------------------------------------------------------------------- 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 ZIP entropy methods. 17 | */ 18 | #ifndef _WIZARDSTOOLKIT_ZIP_H_ 19 | #define _WIZARDSTOOLKIT_ZIP_H_ 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | typedef struct _ZIPInfo 26 | ZIPInfo; 27 | 28 | extern WizardExport const StringInfo 29 | *GetZIPChaos(const ZIPInfo *); 30 | 31 | extern WizardExport WizardBooleanType 32 | IncreaseZIP(ZIPInfo *,const StringInfo *,ExceptionInfo *), 33 | RestoreZIP(ZIPInfo *,const size_t,const StringInfo *,ExceptionInfo *); 34 | 35 | extern WizardExport ZIPInfo 36 | *AcquireZIPInfo(const size_t), 37 | *DestroyZIPInfo(ZIPInfo *); 38 | 39 | #if defined(__cplusplus) || defined(c_plusplus) 40 | } 41 | #endif 42 | 43 | #endif 44 | -------------------------------------------------------------------------------- /www/api/WizardsToolkit/dirs.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | WizardsToolkit: Directory Hierarchy 6 | 7 | 8 | 9 | 10 | 11 |
12 |
13 |

Directories

14 |
15 |
16 | This directory hierarchy is sorted roughly, but not completely, alphabetically: 19 |
20 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /www/api/WizardsToolkit/doxygen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/www/api/WizardsToolkit/doxygen.png -------------------------------------------------------------------------------- /www/api/WizardsToolkit/ftv2blank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/www/api/WizardsToolkit/ftv2blank.png -------------------------------------------------------------------------------- /www/api/WizardsToolkit/ftv2doc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/www/api/WizardsToolkit/ftv2doc.png -------------------------------------------------------------------------------- /www/api/WizardsToolkit/ftv2folderclosed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/www/api/WizardsToolkit/ftv2folderclosed.png -------------------------------------------------------------------------------- /www/api/WizardsToolkit/ftv2folderopen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/www/api/WizardsToolkit/ftv2folderopen.png -------------------------------------------------------------------------------- /www/api/WizardsToolkit/ftv2lastnode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/www/api/WizardsToolkit/ftv2lastnode.png -------------------------------------------------------------------------------- /www/api/WizardsToolkit/ftv2link.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/www/api/WizardsToolkit/ftv2link.png -------------------------------------------------------------------------------- /www/api/WizardsToolkit/ftv2mlastnode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/www/api/WizardsToolkit/ftv2mlastnode.png -------------------------------------------------------------------------------- /www/api/WizardsToolkit/ftv2mnode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/www/api/WizardsToolkit/ftv2mnode.png -------------------------------------------------------------------------------- /www/api/WizardsToolkit/ftv2node.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/www/api/WizardsToolkit/ftv2node.png -------------------------------------------------------------------------------- /www/api/WizardsToolkit/ftv2plastnode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/www/api/WizardsToolkit/ftv2plastnode.png -------------------------------------------------------------------------------- /www/api/WizardsToolkit/ftv2pnode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/www/api/WizardsToolkit/ftv2pnode.png -------------------------------------------------------------------------------- /www/api/WizardsToolkit/ftv2vertline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/www/api/WizardsToolkit/ftv2vertline.png -------------------------------------------------------------------------------- /www/api/WizardsToolkit/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | WizardsToolkit 6 | 7 | 8 | 9 | 10 | 11 | <body> 12 | <a href="main.html">Frames are disabled. Click here to go to the main page.</a> 13 | </body> 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /www/api/WizardsToolkit/main.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | WizardsToolkit: Main Page 6 | 7 | 8 | 9 | 10 | 11 |
12 |
13 |

WizardsToolkit Documentation

14 |
15 |
16 |

1.0.7

28 |
29 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /www/api/WizardsToolkit/nt-base_8c.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | WizardsToolkit: nt-base.c File Reference 6 | 7 | 8 | 9 | 10 | 11 | 16 |
17 |
18 |

nt-base.c File Reference

19 |
20 |
21 | #include "wizard/studio.h"
22 | 23 |
24 |
25 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /www/api/WizardsToolkit/sanitize_8c.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | WizardsToolkit: sanitize.c File Reference 6 | 7 | 8 | 9 | 10 | 11 | 16 |
17 |
18 | Functions
19 |
20 |

sanitize.c File Reference

21 |
22 |
23 | #include "wizard/studio.h"
24 | #include "wizard/sanitize.h"
25 | 26 | 28 | 29 |

27 | Functions

WizardExport void SanitizeEnvironment (void)
30 |

Function Documentation

31 | 32 |
33 |
34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 |
WizardExport void SanitizeEnvironment (void  ) 
44 |
45 |
46 | 47 |
48 |
49 |
50 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /www/api/WizardsToolkit/sanitize_8h.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | WizardsToolkit: sanitize.h File Reference 6 | 7 | 8 | 9 | 10 | 11 | 16 |
17 |
18 | Functions
19 |
20 |

sanitize.h File Reference

21 |
22 |
23 | 24 |

Go to the source code of this file.

25 | 26 | 28 | 29 |

27 | Functions

WizardExport void SanitizeEnvironment (void)
30 |

Function Documentation

31 | 32 |
33 |
34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 |
WizardExport void SanitizeEnvironment (void  ) 
44 |
45 |
46 | 47 |
48 |
49 |
50 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /www/api/WizardsToolkit/tab_b.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/www/api/WizardsToolkit/tab_b.gif -------------------------------------------------------------------------------- /www/api/WizardsToolkit/tab_l.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/www/api/WizardsToolkit/tab_l.gif -------------------------------------------------------------------------------- /www/api/WizardsToolkit/tab_r.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/www/api/WizardsToolkit/tab_r.gif -------------------------------------------------------------------------------- /www/api/WizardsToolkit/tabs.css: -------------------------------------------------------------------------------- 1 | .tabs, .tabs2, .tabs3 { 2 | background-image: url('tab_b.png'); 3 | width: 100%; 4 | z-index: 101; 5 | font-size: 13px; 6 | } 7 | 8 | .tabs2 { 9 | font-size: 10px; 10 | } 11 | .tabs3 { 12 | font-size: 9px; 13 | } 14 | 15 | .tablist { 16 | margin: 0; 17 | padding: 0; 18 | display: table; 19 | } 20 | 21 | .tablist li { 22 | float: left; 23 | display: table-cell; 24 | background-image: url('tab_b.png'); 25 | line-height: 36px; 26 | list-style: none; 27 | } 28 | 29 | .tablist a { 30 | display: block; 31 | padding: 0 20px; 32 | font-weight: bold; 33 | background-image:url('tab_s.png'); 34 | background-repeat:no-repeat; 35 | background-position:right; 36 | color: #283A5D; 37 | text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); 38 | text-decoration: none; 39 | outline: none; 40 | } 41 | 42 | .tabs3 .tablist a { 43 | padding: 0 10px; 44 | } 45 | 46 | .tablist a:hover { 47 | background-image: url('tab_h.png'); 48 | background-repeat:repeat-x; 49 | color: #fff; 50 | text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); 51 | text-decoration: none; 52 | } 53 | 54 | .tablist li.current a { 55 | background-image: url('tab_a.png'); 56 | background-repeat:repeat-x; 57 | color: #fff; 58 | text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); 59 | } 60 | -------------------------------------------------------------------------------- /www/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/www/favicon.ico -------------------------------------------------------------------------------- /www/source/wizard.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main(int argc,char **argv) 5 | { 6 | HashInfo 7 | *hash_info; 8 | 9 | StringInfo 10 | *content; 11 | 12 | WizardsToolkitGenesis(*argv); 13 | hash_info=AcquireHashInfo(SHA512Hash); 14 | InitializeHash(hash_info); 15 | content=StringToStringInfo("The Wizard's Toolkit"); 16 | UpdateHash(hash_info,content); 17 | FinalizeHash(hash_info); 18 | PrintStringInfo("Content",content); 19 | PrintStringInfo("Digest",GetHashDigest(hash_info)); 20 | DestroyHashInfo(hash_info); 21 | DestroyStringInfo(content); 22 | WizardsToolkitTerminus(); 23 | return(0); 24 | } 25 | -------------------------------------------------------------------------------- /www/wand.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/WizardsToolkit/e8a4f2947513279e13bce81abba1428c7a50dcf3/www/wand.png --------------------------------------------------------------------------------