diff options
author | Valery Febvre <vfebvre at easter-eggs.com> | 2004-07-09 00:06:34 +0000 |
---|---|---|
committer | Valery Febvre <vfebvre at easter-eggs.com> | 2004-07-09 00:06:34 +0000 |
commit | 5429b78b4a64a6a9449cf6b6ed25a7fe8e62967b (patch) | |
tree | 444cc863df2183832243dabd8e7b7ea1c2d0c069 /python | |
parent | 628f94861cb2601988ea3495afed972a2b3830cf (diff) | |
download | lasso-5429b78b4a64a6a9449cf6b6ed25a7fe8e62967b.tar.gz lasso-5429b78b4a64a6a9449cf6b6ed25a7fe8e62967b.tar.xz lasso-5429b78b4a64a6a9449cf6b6ed25a7fe8e62967b.zip |
*** empty log message ***
Diffstat (limited to 'python')
-rw-r--r-- | python/environs/py_server.c | 3 | ||||
-rw-r--r-- | python/lassomod.c | 7 | ||||
-rwxr-xr-x | python/setup.py | 9 |
3 files changed, 14 insertions, 5 deletions
diff --git a/python/environs/py_server.c b/python/environs/py_server.c index c1df5dee..50f2ece4 100644 --- a/python/environs/py_server.c +++ b/python/environs/py_server.c @@ -23,7 +23,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "../../lassomod.h" +#include "../lassomod.h" #include "py_server.h" @@ -42,6 +42,7 @@ PyObject *LassoServer_wrap(LassoServer *server) { /******************************************************************************/ PyObject *server_new(PyObject *self, PyObject *args) { + LassoServer *server; gchar *metadata; gchar *public_key = NULL; gchar *private_key = NULL; diff --git a/python/lassomod.c b/python/lassomod.c index 2d719914..4a033043 100644 --- a/python/lassomod.c +++ b/python/lassomod.c @@ -53,6 +53,8 @@ #include "protocols/elements/py_assertion.h" #include "protocols/elements/py_authentication_statement.h" +#include "environs/py_server.h" + static PyMethodDef lasso_methods[] = { /* py_lasso.h */ {"init", init, METH_VARARGS}, @@ -202,6 +204,11 @@ static PyMethodDef lasso_methods[] = { /* authentication_statement.h */ {"authentication_statement_new", authentication_statement_new, METH_VARARGS}, + /* environs */ + /* py_server.h */ + {"server_new", server_new, METH_VARARGS}, + {"server_add_provider", server_add_provider, METH_VARARGS}, + {NULL, NULL} /* End of Methods Sentinel */ }; diff --git a/python/setup.py b/python/setup.py index 53f4ce1b..c45ca59a 100755 --- a/python/setup.py +++ b/python/setup.py @@ -184,10 +184,10 @@ extract_cflags(xmlsec1_cflags) extract_libs(xmlsec1_libs) # FIXME : cflags & libs for lasso -#include_dirs.append('..') -#library_dirs.append('../lasso/.libs') -include_dirs.append('/usr/local/include') -library_dirs.append('/usr/local/lib') +include_dirs.append('..') +library_dirs.append('../lasso/.libs') +#include_dirs.append('/usr/local/include') +#library_dirs.append('/usr/local/lib') libraries.append('lasso') em = Extension("lassomod", @@ -216,6 +216,7 @@ em = Extension("lassomod", "protocols/py_register_name_identifier_response.c", "protocols/elements/py_assertion.c", "protocols/elements/py_authentication_statement.c", + "environs/py_server.c", "lassomod.c", "utils.c", "wrap_objs.c"], define_macros = define_macros, |