summaryrefslogtreecommitdiffstats
path: root/python/environs/py_profile_context.h
diff options
context:
space:
mode:
authorValery Febvre <vfebvre at easter-eggs.com>2004-07-26 18:07:52 +0000
committerValery Febvre <vfebvre at easter-eggs.com>2004-07-26 18:07:52 +0000
commit8ae1b1ce45388639f2a07544e3588adb0cdd84a2 (patch)
treeaba9fe441b2a6fb185446ed60d4e3f5415d16c19 /python/environs/py_profile_context.h
parent02445023b66db5e1a11137e068ac19db00fdc12a (diff)
downloadlasso-8ae1b1ce45388639f2a07544e3588adb0cdd84a2.tar.gz
lasso-8ae1b1ce45388639f2a07544e3588adb0cdd84a2.tar.xz
lasso-8ae1b1ce45388639f2a07544e3588adb0cdd84a2.zip
Added new ProfileContext class
Diffstat (limited to 'python/environs/py_profile_context.h')
-rw-r--r--python/environs/py_profile_context.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/python/environs/py_profile_context.h b/python/environs/py_profile_context.h
index 00ec0117..9583aa00 100644
--- a/python/environs/py_profile_context.h
+++ b/python/environs/py_profile_context.h
@@ -28,8 +28,19 @@
#include <lasso/environs/profile_context.h>
+typedef struct {
+ PyObject_HEAD
+ LassoProfileContext *obj;
+} LassoProfileContext_object;
+
+#define LassoProfileContext_get(v) (((v) == Py_None) ? NULL : (((LassoProfileContext_object *)(PyObject_GetAttr(v, PyString_FromString("_o"))))->obj))
+PyObject *LassoProfileContext_wrap(LassoProfileContext *ctx);
+
PyObject *profile_context_get_request_type_from_soap_msg(PyObject *self, PyObject *args);
+PyObject *profile_context_new(PyObject *self, PyObject *args);
+PyObject *profile_context_set_user_from_dump(PyObject *self, PyObject *args);
+
#endif /* __PYLASSO_PY_PROFILE_CONTEXT_H__ */