diff options
| author | Nicolas Clapies <nclapies@entrouvert.com> | 2004-07-20 09:23:39 +0000 |
|---|---|---|
| committer | Nicolas Clapies <nclapies@entrouvert.com> | 2004-07-20 09:23:39 +0000 |
| commit | 2498ff0141a61c3fdf7c54b41263785ac804cd42 (patch) | |
| tree | d5a4938e34b9d2fa6d0bb161e5193fa6c502bfbb /python/environs/py_register_name_identifier.h | |
| parent | 5aa6729f30cad26f1e640db6130221b31fdfac55 (diff) | |
| download | lasso-2498ff0141a61c3fdf7c54b41263785ac804cd42.tar.gz lasso-2498ff0141a61c3fdf7c54b41263785ac804cd42.tar.xz lasso-2498ff0141a61c3fdf7c54b41263785ac804cd42.zip | |
initial version of register name identifier
Diffstat (limited to 'python/environs/py_register_name_identifier.h')
| -rw-r--r-- | python/environs/py_register_name_identifier.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/python/environs/py_register_name_identifier.h b/python/environs/py_register_name_identifier.h new file mode 100644 index 00000000..fc53d297 --- /dev/null +++ b/python/environs/py_register_name_identifier.h @@ -0,0 +1,53 @@ +/* $Id$ + * + * PyLasso -- Python bindings for Lasso library + * + * Copyright (C) 2004 Entr'ouvert + * http://lasso.labs.libre-entreprise.org + * + * Authors: Valery Febvre <vfebvre@easter-eggs.com> + * Nicolas Clapies <nclapies@entrouvert.com> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + + +#ifndef __PYLASSO_PY_REGISTER_NAME_IDENTIFIER_H__ +#define __PYLASSO_PY_REGISTER_NAME_IDENTIFIER_H__ + +#include <lasso/environs/register_name_identifier.h> + +#include "py_server.h" +#include "py_user.h" + +typedef struct { + PyObject_HEAD + LassoRegisterNameIdentifier *obj; +} LassoRegisterNameIdentifier_object; + +#define LassoRegisterNameIdentifier_get(v) (((v) == Py_None) ? NULL : (((LassoRegisterNameIdentifier_object *)(PyObject_GetAttr(v, PyString_FromString("_o"))))->obj)) +PyObject *LassoRegisterNameIdentifier_wrap(LassoRegisterNameIdentifier *register_name_identifier); + +PyObject *register_name_identifier_getattr(PyObject *self, PyObject *args); + +PyObject *register_name_identifier_build_request_msg(PyObject *self, PyObject *args); +PyObject *register_name_identifier_build_response_msg(PyObject *self, PyObject *args); +PyObject *register_name_identifier_destroy(PyObject *self, PyObject *args); +PyObject *register_name_identifier_init_request(PyObject *self, PyObject *args); +PyObject *register_name_identifier_new(PyObject *self, PyObject *args); +PyObject *register_name_identifier_process_request_msg(PyObject *self, PyObject *args); +PyObject *register_name_identifier_process_response_msg(PyObject *self, PyObject *args); + +#endif /* __PYLASSO_PY_REGISTER_NAME_IDENTIFIER_H__ */ |
