Add axTLS sourcecode
[project/luci.git] / libs / nixio / axTLS / bindings / README
1 ===============================================================================
2 = Language Bindings =
3 ===============================================================================
4
5 The tools to generate the various language bindings are done here.
6 SWIG 1.3.24 or better is required for creating the Java and Perl bindings.
7
8 Perl scripts are used to parse ssl.h and automagically give the appropriate
9 bindings.
10
11 At present, the four languages supported are:
12
13 * C#
14 * VB.NET
15 * Java
16 * Perl
17
18 To generate each binding run the following:
19
20 C#:
21 > generate_interface.pl -csharp
22
23 VB.NET:
24 > generate_interface.pl -vbnet
25
26
27 Java:
28 > generate_SWIG_interface.pl -java
29 > cd java; swig -java -package axTLSj -noextern axTLSj.i
30
31 Perl:
32 > generate_SWIG_interface.pl -perl
33 > cd perl; swig -noextern -perl axTLSp.i
34
35 Java and Perl both create a library each called libaxtlsj.so and libaxtlsp.so
36 (or axtlsj.dll and atlsp.dll on Win32 platforms).
37
38 Note: the "-noextern" is deprecated in swig 1.3.27 and newer. The "-noextern"
39 option was required to get Win32 bindings to work (which is why is has probably
40 been deprecated).
41
42 Each binding (except for Perl) has an extra helper interface to make life
43 easier.