18 #ifndef INCLUDED_UHD_TYPES_STRING_VECTOR_H 19 #define INCLUDED_UHD_TYPES_STRING_VECTOR_H 31 std::vector<std::string> string_vector_cpp;
32 std::string last_error;
47 uhd_string_vector_handle *h
52 uhd_string_vector_handle *h
57 uhd_string_vector_handle *h,
63 uhd_string_vector_handle h,
71 uhd_string_vector_handle h,
77 uhd_string_vector_handle h,
UHD_API uhd_error uhd_string_vector_push_back(uhd_string_vector_handle *h, const char *value)
Add a string to the list.
struct uhd_string_vector_t uhd_string_vector_t
Definition: string_vector.h:41
UHD_API uhd_error uhd_string_vector_size(uhd_string_vector_handle h, size_t *size_out)
Get the number of strings in this list.
uhd_error
UHD error codes.
Definition: error.h:31
UHD_API uhd_error uhd_string_vector_at(uhd_string_vector_handle h, size_t index, char *value_out, size_t strbuffer_len)
Get the string at the given index.
UHD_API uhd_error uhd_string_vector_last_error(uhd_string_vector_handle h, char *error_out, size_t strbuffer_len)
Get the last error reported by the underlying object.
UHD_API uhd_error uhd_string_vector_make(uhd_string_vector_handle *h)
Instantiate a string_vector handle.
uhd_string_vector_t * uhd_string_vector_handle
Definition: string_vector.h:43
#define UHD_API
Definition: config.h:73
UHD_API uhd_error uhd_string_vector_free(uhd_string_vector_handle *h)
Safely destroy a string_vector handle.