lasso/lasso/lasso.h

78 lines
2.1 KiB
C
Raw Normal View History

2008-09-12 17:06:58 +02:00
/* $Id$
2004-03-23 18:00:23 +01:00
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
2007-05-30 19:17:45 +02:00
* Copyright (C) 2004-2007 Entr'ouvert
2004-03-23 18:00:23 +01:00
* http://lasso.entrouvert.org
2008-09-12 17:06:58 +02:00
*
2005-01-22 16:57:56 +01:00
* Authors: See AUTHORS file in top-level directory.
2004-03-23 18:00:23 +01:00
*
* 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.
2008-09-12 17:06:58 +02:00
*
2004-03-23 18:00:23 +01:00
* 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.
2008-09-12 17:06:58 +02:00
*
2004-03-23 18:00:23 +01:00
* 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 __LASSO_H__
#define __LASSO_H__
#ifdef __cplusplus
extern "C" {
2008-09-12 17:06:58 +02:00
#endif /* __cplusplus */
2004-11-25 23:51:39 +01:00
#if (defined _MSC_VER || defined MINGW32)
# include <windows.h>
#endif
2004-03-23 18:00:23 +01:00
#include <glib.h>
#include <glib-object.h>
#include "export.h"
2004-03-23 18:00:23 +01:00
#include "id-ff/defederation.h"
#include "id-ff/lecp.h"
#include "id-ff/login.h"
#include "id-ff/logout.h"
#include "id-ff/name_identifier_mapping.h"
#include "id-ff/name_registration.h"
#include "saml-2.0/name_id_management.h"
#include "saml-2.0/ecp.h"
2004-03-23 18:00:23 +01:00
LASSO_EXPORT int lasso_init(void);
LASSO_EXPORT int lasso_shutdown(void);
2004-03-23 18:00:23 +01:00
/**
* LassoCheckVersionMode:
2005-02-21 15:09:55 +01:00
* @LASSO_CHECK_VERSION_EXACT: version should match exactly
* @LASSO_CHECK_VERSIONABI_COMPATIBLE: version should be ABI compatible
* @LASSO_CHECK_VERSION_NUMERIC: version should be at least that number
2004-03-23 18:00:23 +01:00
*
2005-02-21 15:09:55 +01:00
* Lasso library version check mode.
2005-02-21 15:16:59 +01:00
**/
2004-03-23 18:00:23 +01:00
typedef enum {
2004-11-25 23:51:39 +01:00
LASSO_CHECK_VERSION_EXACT = 0,
2005-02-17 14:58:08 +01:00
LASSO_CHECK_VERSIONABI_COMPATIBLE,
LASSO_CHECK_VERSION_NUMERIC
} LassoCheckVersionMode;
2004-03-23 18:00:23 +01:00
LASSO_EXPORT int lasso_check_version(
int major, int minor, int subminor, LassoCheckVersionMode mode);
2004-03-23 18:00:23 +01:00
LASSO_EXPORT void lasso_set_flag(char *flag);
2004-03-23 18:00:23 +01:00
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* __LASSO_H__ */