Commit 547b7b27 authored by Greg Williams's avatar Greg Williams
Browse files

Added .used attribute to ByteBufferArray and updated...

Added .used attribute to ByteBufferArray and updated KineticClient_GetKeyRange() to populate it with the number of keys actually retrieved from the device.
Updated version to 0.9.1
parent 951dcabf
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -96,3 +96,4 @@ Kinetic C Client I/O Examples
* [`write_file_blocking_threads`](src/examples/write_file_blocking_threads.c) - Multiple threads, single connection, blocking operations.
* [`write_file_nonblocking`](src/examples/write_file_nonblocking.c) - Single thread, single connection, multiple non-blocking operations
* [`write_file_blocking_threads`](src/examples/write_file_blocking_threads.c) - Multiple threads, single connection, multiple non-blocking operations.
* [`get_key_range`](src/examples/get_key_range.c) - Query a range of keys from a device.
+4 −0
Original line number Diff line number Diff line
v0.9.1 (kinetic-protocol 3.0.5)
-------------------------------
* Added get_key_range.c example for KineticClient_GetKeyRange().

v0.9.0 (kinetic-protocol 3.0.5)
-------------------------------
* Changed API to use a `KineticSession` with a pointer to private session/connection info in place of the old `KineticSessionHandle`.
+1 −1
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ PROJECT_NAME = kinetic-c
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER           = "v0.9.0"
PROJECT_NUMBER           = "v0.9.1"

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
+1 −1
Original line number Diff line number Diff line
0.9.0
0.9.1
+2 −1
Original line number Diff line number Diff line
@@ -38,7 +38,8 @@ typedef struct {

typedef struct {
    ByteBuffer* buffers;
    int count;
    size_t count;
    size_t used;
} ByteBufferArray;

/** @brief Convenience macro to represent an empty buffer with no data */
Loading