1 /* $Id: dstref_query_response.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_DSTREF_QUERY_RESPONSE_H__ 25 #define __LASSO_IDWSF2_DSTREF_QUERY_RESPONSE_H__ 26 27 #ifdef __cplusplus 28 extern "C" { 29 #endif /* __cplusplus */ 30 31 #include "../xml.h" 32 #include "dst_data_response_base.h" 33 34 #define LASSO_TYPE_IDWSF2_DSTREF_QUERY_RESPONSE \ 35 (lasso_idwsf2_dstref_query_response_get_type()) 36 #define LASSO_IDWSF2_DSTREF_QUERY_RESPONSE(obj) \ 37 (G_TYPE_CHECK_INSTANCE_CAST((obj), \ 38 LASSO_TYPE_IDWSF2_DSTREF_QUERY_RESPONSE, \ 39 LassoIdWsf2DstRefQueryResponse)) 40 #define LASSO_IDWSF2_DSTREF_QUERY_RESPONSE_CLASS(klass) \ 41 (G_TYPE_CHECK_CLASS_CAST((klass), \ 42 LASSO_TYPE_IDWSF2_DSTREF_QUERY_RESPONSE, \ 43 LassoIdWsf2DstRefQueryResponseClass)) 44 #define LASSO_IS_IDWSF2_DSTREF_QUERY_RESPONSE(obj) \ 45 (G_TYPE_CHECK_INSTANCE_TYPE((obj), \ 46 LASSO_TYPE_IDWSF2_DSTREF_QUERY_RESPONSE)) 47 #define LASSO_IS_IDWSF2_DSTREF_QUERY_RESPONSE_CLASS(klass) \ 48 (G_TYPE_CHECK_CLASS_TYPE ((klass), \ 49 LASSO_TYPE_IDWSF2_DSTREF_QUERY_RESPONSE)) 50 #define LASSO_IDWSF2_DSTREF_QUERY_RESPONSE_GET_CLASS(o) \ 51 (G_TYPE_INSTANCE_GET_CLASS ((o), \ 52 LASSO_TYPE_IDWSF2_DSTREF_QUERY_RESPONSE, \ 53 LassoIdWsf2DstRefQueryResponseClass)) 54 55 56 typedef struct _LassoIdWsf2DstRefQueryResponse LassoIdWsf2DstRefQueryResponse; 57 typedef struct _LassoIdWsf2DstRefQueryResponseClass LassoIdWsf2DstRefQueryResponseClass; 58 59 60 struct _LassoIdWsf2DstRefQueryResponse { 61 LassoIdWsf2DstDataResponseBase parent; 62 63 /*< public >*/ 64 /* elements */ 65 GList *TestResult; /* of LassoNode */ 66 GList *Data; /* of LassoIdWsf2DstRefData */ 67 68 /*< private >*/ 69 char *prefixServiceType; 70 char *hrefServiceType; 71 }; 72 73 74 struct _LassoIdWsf2DstRefQueryResponseClass { 75 LassoIdWsf2DstDataResponseBaseClass parent; 76 }; 77 78 LASSO_EXPORT GType lasso_idwsf2_dstref_query_response_get_type(void); 79 LASSO_EXPORT LassoIdWsf2DstRefQueryResponse* lasso_idwsf2_dstref_query_response_new(void); 80 81 82 83 #ifdef __cplusplus 84 } 85 #endif /* __cplusplus */ 86 87 #endif /* __LASSO_IDWSF2_DSTREF_QUERY_RESPONSE_H__ */ 88