|
Packit |
228f82 |
/* $Id$
|
|
Packit |
228f82 |
*
|
|
Packit |
228f82 |
* Lasso - A free implementation of the Liberty Alliance specifications.
|
|
Packit |
228f82 |
*
|
|
Packit |
228f82 |
* Copyright (C) 2004-2007 Entr'ouvert
|
|
Packit |
228f82 |
* http://lasso.entrouvert.org
|
|
Packit |
228f82 |
*
|
|
Packit |
228f82 |
* Authors: See AUTHORS file in top-level directory.
|
|
Packit |
228f82 |
*
|
|
Packit |
228f82 |
* This program is free software; you can redistribute it and/or modify
|
|
Packit |
228f82 |
* it under the terms of the GNU General Public License as published by
|
|
Packit |
228f82 |
* the Free Software Foundation; either version 2 of the License, or
|
|
Packit |
228f82 |
* (at your option) any later version.
|
|
Packit |
228f82 |
*
|
|
Packit |
228f82 |
* This program is distributed in the hope that it will be useful,
|
|
Packit |
228f82 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
228f82 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
Packit |
228f82 |
* GNU General Public License for more details.
|
|
Packit |
228f82 |
*
|
|
Packit |
228f82 |
* You should have received a copy of the GNU General Public License
|
|
Packit |
228f82 |
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
|
Packit |
228f82 |
*/
|
|
Packit |
228f82 |
|
|
Packit |
228f82 |
#ifndef __LASSO_H__
|
|
Packit |
228f82 |
#define __LASSO_H__
|
|
Packit |
228f82 |
|
|
Packit |
228f82 |
#ifdef __cplusplus
|
|
Packit |
228f82 |
extern "C" {
|
|
Packit |
228f82 |
#endif /* __cplusplus */
|
|
Packit |
228f82 |
|
|
Packit |
228f82 |
#if (defined _MSC_VER || defined MINGW32)
|
|
Packit |
228f82 |
# include <windows.h>
|
|
Packit |
228f82 |
#endif
|
|
Packit |
228f82 |
|
|
Packit |
228f82 |
#include <glib.h>
|
|
Packit |
228f82 |
#include <glib-object.h>
|
|
Packit |
228f82 |
|
|
Packit |
228f82 |
#include "export.h"
|
|
Packit |
228f82 |
|
|
Packit |
228f82 |
#include "id-ff/defederation.h"
|
|
Packit |
228f82 |
#include "id-ff/lecp.h"
|
|
Packit |
228f82 |
#include "id-ff/login.h"
|
|
Packit |
228f82 |
#include "id-ff/logout.h"
|
|
Packit |
228f82 |
#include "id-ff/name_identifier_mapping.h"
|
|
Packit |
228f82 |
#include "id-ff/name_registration.h"
|
|
Packit |
228f82 |
#include "saml-2.0/name_id_management.h"
|
|
Packit |
228f82 |
#include "saml-2.0/ecp.h"
|
|
Packit |
228f82 |
#include "saml-2.0/assertion_query.h"
|
|
Packit |
228f82 |
#include "saml-2.0/saml2_helper.h"
|
|
Packit |
228f82 |
#include "saml-2.0/profile.h"
|
|
Packit |
228f82 |
|
|
Packit |
228f82 |
LASSO_EXPORT lasso_error_t lasso_init(void);
|
|
Packit |
228f82 |
LASSO_EXPORT lasso_error_t lasso_shutdown(void);
|
|
Packit |
228f82 |
|
|
Packit |
228f82 |
/**
|
|
Packit |
228f82 |
* LassoCheckVersionMode:
|
|
Packit |
228f82 |
* @LASSO_CHECK_VERSION_EXACT: version should match exactly
|
|
Packit |
228f82 |
* @LASSO_CHECK_VERSIONABI_COMPATIBLE: version should be ABI compatible
|
|
Packit |
228f82 |
* @LASSO_CHECK_VERSION_NUMERIC: version should be at least that number
|
|
Packit |
228f82 |
*
|
|
Packit |
228f82 |
* Lasso library version check mode.
|
|
Packit |
228f82 |
**/
|
|
Packit |
228f82 |
typedef enum {
|
|
Packit |
228f82 |
LASSO_CHECK_VERSION_EXACT = 0,
|
|
Packit |
228f82 |
LASSO_CHECK_VERSIONABI_COMPATIBLE,
|
|
Packit |
228f82 |
LASSO_CHECK_VERSION_NUMERIC
|
|
Packit |
228f82 |
} LassoCheckVersionMode;
|
|
Packit |
228f82 |
|
|
Packit |
228f82 |
|
|
Packit |
228f82 |
LASSO_EXPORT int lasso_check_version(
|
|
Packit |
228f82 |
int major, int minor, int subminor, LassoCheckVersionMode mode);
|
|
Packit |
228f82 |
|
|
Packit |
228f82 |
LASSO_EXPORT void lasso_set_flag(char *flag);
|
|
Packit |
228f82 |
|
|
Packit |
228f82 |
#ifdef __cplusplus
|
|
Packit |
228f82 |
}
|
|
Packit |
228f82 |
#endif /* __cplusplus */
|
|
Packit |
228f82 |
|
|
Packit |
228f82 |
#endif /* __LASSO_H__ */
|