-.. function:: memcached_return_t memcached_result_set_value (memcached_result_st *ptr, const char *value, size_t length)
+ :param result: pointer to initialized `memcached_result_st` struct
+ :returns: the cas associated with the current result object
+
+.. function:: memcached_return_t memcached_result_set_value (memcached_result_st *result, const char *value, size_t length)
+
+ :param result: pointer to initialized `memcached_result_st` struct
+ :param value: byte array to set the value of the current result object to
+ :param length: the length of `value` wothout any terminating zero
+ :returns: `memcached_return_t` indicating success
+
+.. function:: void memcached_result_set_flags (memcached_result_st *result, uint32_t flags)