axtls/bindings
cameronrich bffc3b2197 certificate generation
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@143 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
2007-11-29 13:02:54 +00:00
..
csharp certificate generation 2007-11-29 13:02:54 +00:00
java certificate generation 2007-11-29 13:02:54 +00:00
lua changed to BSD style license 2007-11-05 02:28:37 +00:00
perl changed to BSD style license 2007-11-05 02:28:37 +00:00
vbnet changed to BSD style license 2007-11-05 02:28:37 +00:00
Config.in added lua bindings 2007-05-25 06:04:58 +00:00
generate_interface.pl certificate generation 2007-11-29 13:02:54 +00:00
generate_SWIG_interface.pl certificate generation 2007-11-29 13:02:54 +00:00
Makefile changed to BSD style license 2007-11-05 02:28:37 +00:00
README new trunk 2007-03-14 12:03:51 +00:00

===============================================================================
=                             Language Bindings                               =
===============================================================================

The tools to generate the various language bindings are done here.
SWIG 1.3.24 or better is required for creating the Java and Perl bindings.

Perl scripts are used to parse ssl.h and automagically give the appropriate 
bindings.

At present, the four languages supported are:

* C#
* VB.NET
* Java
* Perl

To generate each binding run the following:

C#:
> generate_interface.pl -csharp

VB.NET:
> generate_interface.pl -vbnet


Java:
> generate_SWIG_interface.pl -java
> cd java; swig -java -package axTLSj -noextern axTLSj.i

Perl:
> generate_SWIG_interface.pl -perl
> cd perl; swig -noextern -perl axTLSp.i

Java and Perl both create a library each called libaxtlsj.so and libaxtlsp.so 
(or axtlsj.dll and atlsp.dll on Win32 platforms).

Note: the "-noextern" is deprecated in swig 1.3.27 and newer. The "-noextern"
option was required to get Win32 bindings to work (which is why is has probably
been deprecated).

Each binding (except for Perl) has an extra helper interface to make life 
easier.