diff options
author | Lev Walkin <vlm@lionet.info> | 2005-03-09 22:19:25 +0000 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2005-03-09 22:19:25 +0000 |
commit | 0fab1a6fedfed87f5ebf182c771a4ce7269f4e9c (patch) | |
tree | 2a397ddc9a85ec53409b25bca0bb689bb6072128 /skeletons/xer_support.h | |
parent | 9a0f8fad2f4d5ffb02d3fef8f6d3428755ee01a3 (diff) |
relaxed XER processing rules for whitespace
Diffstat (limited to 'skeletons/xer_support.h')
-rw-r--r-- | skeletons/xer_support.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/skeletons/xer_support.h b/skeletons/xer_support.h index 2fa1ae96..e25678c0 100644 --- a/skeletons/xer_support.h +++ b/skeletons/xer_support.h @@ -32,7 +32,7 @@ typedef enum { * The chunk is NOT '\0'-terminated. */ typedef int (pxml_callback_f)(pxml_chunk_type_e _type, - void *_chunk_data, size_t _chunk_size, void *_key); + const void *_chunk_data, size_t _chunk_size, void *_key); /* * Parse the given buffer as it were a chunk of XML data. @@ -41,7 +41,7 @@ typedef int (pxml_callback_f)(pxml_chunk_type_e _type, * It will always be lesser than or equal to the specified _size. * The next invocation of this function must account the difference. */ -ssize_t pxml_parse(int *_stateContext, void *_buf, size_t _size, +ssize_t pxml_parse(int *_stateContext, const void *_buf, size_t _size, pxml_callback_f *cb, void *_key); #endif /* _XER_SUPPORT_H_ */ |