/** 
 * XMLSec library
 *
 * Memory buffer transform
 *
 * See Copyright for the status of this software.
 * 
 * Author: Aleksey Sanin <aleksey@aleksey.com>
 */
#ifndef __XMLSEC_MEMBUF_H__
#define __XMLSEC_MEMBUF_H__    

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */ 

#include <libxml/tree.h>

#include <xmlsec/xmlsec.h>
#include <xmlsec/transforms.h>

/**
 * xmlSecMemBuf:
 *
 * The memory buffer transform id.
 */
XMLSEC_EXPORT_VAR xmlSecTransformId xmlSecMemBuf;

XMLSEC_EXPORT xmlBufferPtr	xmlSecMemBufTransformGetBuffer		
							(xmlSecTransformPtr transform,
							 int removeBuffer);
#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* __XMLSEC_MEMBUF_H__ */

