⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mkhdr.sh

📁 cryptlib安全工具包
💻 SH
字号:
#!/bin/sh
# Create the headers/interface files for non-C languages from the cryptlib
# C header file.

# Create the Delphi and VB headers.

perl tools/GenPas.pl
perl tools/GenVB.pl
mv -f cryptlib.?as bindings

# Create the Perl headers

perl tools/GenPerl.pl
mv -f PerlCryptLib.ph bindings

# Create the Java, Python, and .NET interface.

python tools/cryptlibConverter.py cryptlib.h bindings java
python tools/cryptlibConverter.py cryptlib.h bindings python
python tools/cryptlibConverter.py cryptlib.h bindings net

# Bundle everything up for download.  We have to send the pushd output to
# /dev/null since bash performs an implicit 'dirs' if the pushd/popd
# succeeds.

rm -f bindings.zip
pushd bindings > /dev/null
zip -qo9 ../bindings cryptlib.bas cryptlib.cs cryptlib.jar cryptlib.pas java_jni.c PerlCryptLib.* Makefile.PL python.c setup.py
popd > /dev/null

# Tell the user what we've done

echo "Updated language bindings have been moved to file 'bindings.zip'."
echo

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -