handle zero size Base64 conversions
[strongswan.git] / src / libcharon / plugins / tnccs_11 / messages / tnccs_tncs_contact_info_msg.h
1 /*
2 * Copyright (C) 2010 Andreas Steffen
3 * HSR Hochschule fuer Technik Rapperswil
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published by the
7 * Free Software Foundation; either version 2 of the License, or (at your
8 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
9 *
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13 * for more details.
14 */
15
16 /**
17 * @defgroup tnccs_tncs_contact_info_msg tnccs_tncs_contact_info_msg
18 * @{ @ingroup tnccs_11
19 */
20
21 #ifndef TNCCS_TNCS_CONTACT_INFO_MSG_H_
22 #define TNCCS_TNCS_CONTACT_INFO_MSG_H_
23
24 typedef struct tnccs_tncs_contact_info_msg_t tnccs_tncs_contact_info_msg_t;
25
26 #include "tnccs_msg.h"
27
28 /**
29 * Class representing the TNCCS-TNCSContactInfo message type
30 */
31 struct tnccs_tncs_contact_info_msg_t {
32
33 /**
34 * TNCCS Message interface
35 */
36 tnccs_msg_t tnccs_msg_interface;
37 };
38
39 /**
40 * Create a TNCCS-TNCSContactInfo message from XML-encoded message node
41 *
42 * @param msg_node XML-encoded message node
43 * @param errors linked list of TNCCS error messages
44 */
45 tnccs_msg_t *tnccs_tncs_contact_info_msg_create_from_node(xmlNodePtr node,
46 linked_list_t *errors);
47
48 /**
49 * Create a TNCCS-TNCSContactInfo message from parameters
50 *
51 */
52 tnccs_msg_t *tnccs_tncs_contact_info_msg_create(void);
53
54 #endif /** TNCCS_TNCS_CONTACT_INFO_MSG_H_ @}*/