1 /* 2 * XML Security Library (http://www.aleksey.com/xmlsec). 3 * 4 * Memory buffer transform 5 * 6 * This is free software; see Copyright file in the source 7 * distribution for preciese wording. 8 * 9 * Copyright (C) 2002-2016 Aleksey Sanin <aleksey@aleksey.com>. All Rights Reserved. 10 */ 11 #ifndef __XMLSEC_MEMBUF_H__ 12 #define __XMLSEC_MEMBUF_H__ 13 14 #include <libxml/tree.h> 15 16 #include <xmlsec/xmlsec.h> 17 #include <xmlsec/buffer.h> 18 #include <xmlsec/transforms.h> 19 20 #ifdef __cplusplus 21 extern "C" { 22 #endif /* __cplusplus */ 23 24 /******************************************************************** 25 * 26 * Memory Buffer transform 27 * 28 *******************************************************************/ 29 /** 30 * xmlSecTransformMemBufId: 31 * 32 * The Memory Buffer transform klass. 33 */ 34 #define xmlSecTransformMemBufId \ 35 xmlSecTransformMemBufGetKlass() 36 XMLSEC_EXPORT xmlSecTransformId xmlSecTransformMemBufGetKlass (void); 37 XMLSEC_EXPORT xmlSecBufferPtr xmlSecTransformMemBufGetBuffer (xmlSecTransformPtr transform); 38 39 #ifdef __cplusplus 40 } 41 #endif /* __cplusplus */ 42 43 #endif /* __XMLSEC_MEMBUF_H__ */ 44 45