summaryrefslogtreecommitdiffstats
path: root/python/environs/py_profile_context.h
diff options
context:
space:
mode:
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__ */