applib/dtn_api.i
changeset 0 2b3e5ec03512
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/applib/dtn_api.i	Thu Apr 21 14:57:45 2011 +0100
@@ -0,0 +1,20 @@
+/* -*-c-*- */
+
+%module dtnapi
+%include cstring.i
+%include std_string.i
+
+%{
+/* Include files needed to build the wrapper code */
+using namespace std;
+
+#include <applib/dtn_types.h>
+#include <applib/dtn_api.h>
+#include <applib/dtn_api_wrap.cc>
+%}
+
+/* Pull in the functions and types to be exported by swig */
+
+%include "dtn_types.h"
+%include "dtn_errno.h"
+%include "dtn_api_wrap.cc"