1
/* $Id: lib_logout_response.h,v 1.2 2004/07/22 06:59:03 eraviart Exp $
1
/* $Id: lib_logout_response.h,v 1.7 2005/01/22 15:57:55 eraviart Exp $
3
3
* Lasso - A free implementation of the Liberty Alliance specifications.
5
* Copyright (C) 2004 Entr'ouvert
5
* Copyright (C) 2004, 2005 Entr'ouvert
6
6
* http://lasso.entrouvert.org
8
* Authors: Nicolas Clapies <nclapies@entrouvert.com>
9
* Valery Febvre <vfebvre@easter-eggs.com>
8
* Authors: See AUTHORS file in top-level directory.
11
10
* This program is free software; you can redistribute it and/or modify
12
11
* it under the terms of the GNU General Public License as published by
31
30
#endif /* __cplusplus */
33
32
#include <lasso/xml/lib_status_response.h>
33
#include <lasso/xml/lib_logout_request.h>
35
35
#define LASSO_TYPE_LIB_LOGOUT_RESPONSE (lasso_lib_logout_response_get_type())
36
#define LASSO_LIB_LOGOUT_RESPONSE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), LASSO_TYPE_LIB_LOGOUT_RESPONSE, LassoLibLogoutResponse))
37
#define LASSO_LIB_LOGOUT_RESPONSE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_LIB_LOGOUT_RESPONSE, LassoLibLogoutResponseClass))
38
#define LASSO_IS_LIB_LOGOUT_RESPONSE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_LIB_LOGOUT_RESPONSE))
39
#define LASSO_IS_LIB_LOGOUT_RESPONSE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LASSO_TYPE_LIB_LOGOUT_RESPONSE))
40
#define LASSO_LIB_LOGOUT_RESPONSE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_LIB_LOGOUT_RESPONSE, LassoLibLogoutResponseClass))
36
#define LASSO_LIB_LOGOUT_RESPONSE(obj) \
37
(G_TYPE_CHECK_INSTANCE_CAST((obj), LASSO_TYPE_LIB_LOGOUT_RESPONSE, LassoLibLogoutResponse))
38
#define LASSO_LIB_LOGOUT_RESPONSE_CLASS(klass) \
39
(G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_LIB_LOGOUT_RESPONSE, \
40
LassoLibLogoutResponseClass))
41
#define LASSO_IS_LIB_LOGOUT_RESPONSE(obj) \
42
(G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_LIB_LOGOUT_RESPONSE))
43
#define LASSO_IS_LIB_LOGOUT_RESPONSE_CLASS(klass) \
44
(G_TYPE_CHECK_CLASS_TYPE ((klass), LASSO_TYPE_LIB_LOGOUT_RESPONSE))
45
#define LASSO_LIB_LOGOUT_RESPONSE_GET_CLASS(o) \
46
(G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_LIB_LOGOUT_RESPONSE, \
47
LassoLibLogoutResponseClass))
42
49
typedef struct _LassoLibLogoutResponse LassoLibLogoutResponse;
43
50
typedef struct _LassoLibLogoutResponseClass LassoLibLogoutResponseClass;
45
52
struct _LassoLibLogoutResponse {
46
LassoLibStatusResponse parent;
53
LassoLibStatusResponse parent;
50
56
struct _LassoLibLogoutResponseClass {
51
LassoLibStatusResponseClass parent;
57
LassoLibStatusResponseClass parent;
54
60
LASSO_EXPORT GType lasso_lib_logout_response_get_type(void);
55
LASSO_EXPORT LassoNode* lasso_lib_logout_response_new(void);
61
LASSO_EXPORT LassoSamlpResponseAbstract* lasso_lib_logout_response_new(void);
63
LASSO_EXPORT LassoSamlpResponseAbstract* lasso_lib_logout_response_new_full(
64
char *providerID, const char *statusCodeValue,
65
LassoLibLogoutRequest *request,
66
LassoSignatureType sign_type, LassoSignatureMethod sign_method);