blob: 7ef2bcb587f974ae0c4d6fde4d063540e5a0fa58 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
--- libcsv.c.orig 2012-12-28 22:50:44 UTC
+++ libcsv.c
@@ -259,6 +259,15 @@ csv_set_blk_size(struct csv_parser *p, s
}
size_t
+csv_get_blk_size(struct csv_parser *p)
+{
+ /* Get the block size used to increment buffer size */
+ if (p)
+ return p->blk_size;
+ return 0;
+}
+
+size_t
csv_get_buffer_size(struct csv_parser *p)
{
/* Get the size of the entry buffer */
|