1 /* $Id: ims_mapping_input.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $ 2 * 3 * Lasso - A free implementation of the Liberty Alliance specifications. 4 * 5 * Copyright (C) 2004-2007 Entr'ouvert 6 * http://lasso.entrouvert.org 7 * 8 * Authors: See AUTHORS file in top-level directory. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, see <http://www.gnu.org/licenses/>. 22 */ 23 24 #ifndef __LASSO_IDWSF2_IMS_MAPPING_INPUT_H__ 25 #define __LASSO_IDWSF2_IMS_MAPPING_INPUT_H__ 26 27 #ifdef __cplusplus 28 extern "C" { 29 #endif /* __cplusplus */ 30 31 #include "../xml.h" 32 #include "sec_token_policy.h" 33 #include "sec_token.h" 34 35 #define LASSO_TYPE_IDWSF2_IMS_MAPPING_INPUT (lasso_idwsf2_ims_mapping_input_get_type()) 36 #define LASSO_IDWSF2_IMS_MAPPING_INPUT(obj) \ 37 (G_TYPE_CHECK_INSTANCE_CAST((obj), \ 38 LASSO_TYPE_IDWSF2_IMS_MAPPING_INPUT, \ 39 LassoIdWsf2ImsMappingInput)) 40 #define LASSO_IDWSF2_IMS_MAPPING_INPUT_CLASS(klass) \ 41 (G_TYPE_CHECK_CLASS_CAST((klass), \ 42 LASSO_TYPE_IDWSF2_IMS_MAPPING_INPUT, \ 43 LassoIdWsf2ImsMappingInputClass)) 44 #define LASSO_IS_IDWSF2_IMS_MAPPING_INPUT(obj) \ 45 (G_TYPE_CHECK_INSTANCE_TYPE((obj), \ 46 LASSO_TYPE_IDWSF2_IMS_MAPPING_INPUT)) 47 #define LASSO_IS_IDWSF2_IMS_MAPPING_INPUT_CLASS(klass) \ 48 (G_TYPE_CHECK_CLASS_TYPE ((klass), \ 49 LASSO_TYPE_IDWSF2_IMS_MAPPING_INPUT)) 50 #define LASSO_IDWSF2_IMS_MAPPING_INPUT_GET_CLASS(o) \ 51 (G_TYPE_INSTANCE_GET_CLASS ((o), \ 52 LASSO_TYPE_IDWSF2_IMS_MAPPING_INPUT, \ 53 LassoIdWsf2ImsMappingInputClass)) 54 55 56 typedef struct _LassoIdWsf2ImsMappingInput LassoIdWsf2ImsMappingInput; 57 typedef struct _LassoIdWsf2ImsMappingInputClass LassoIdWsf2ImsMappingInputClass; 58 59 60 struct _LassoIdWsf2ImsMappingInput { 61 LassoNode parent; 62 63 /*< public >*/ 64 /* elements */ 65 /* XXX */ void *TokenPolicy; 66 /* XXX */ void *Token; 67 /* attributes */ 68 char *reqID; 69 }; 70 71 72 struct _LassoIdWsf2ImsMappingInputClass { 73 LassoNodeClass parent; 74 }; 75 76 LASSO_EXPORT GType lasso_idwsf2_ims_mapping_input_get_type(void); 77 LASSO_EXPORT LassoIdWsf2ImsMappingInput* lasso_idwsf2_ims_mapping_input_new(void); 78 79 80 81 #ifdef __cplusplus 82 } 83 #endif /* __cplusplus */ 84 85 #endif /* __LASSO_IDWSF2_IMS_MAPPING_INPUT_H__ */ 86