18 #ifndef INCLUDED_UHD_USRP_SUBDEV_SPEC_H    19 #define INCLUDED_UHD_USRP_SUBDEV_SPEC_H    38 struct uhd_subdev_spec_t {
    40     std::string last_error;
    45 struct uhd_subdev_spec_t;
    71     uhd_subdev_spec_handle* h,
    81     uhd_subdev_spec_handle* h
    86     uhd_subdev_spec_handle h,
    92     uhd_subdev_spec_handle h,
    98     uhd_subdev_spec_handle h,
   105     uhd_subdev_spec_handle h,
   112     uhd_subdev_spec_handle h,
   119     uhd_subdev_spec_handle h,
   131 UHD_API void uhd_subdev_spec_pair_cpp_to_c(
 UHD_API uhd_error uhd_subdev_spec_at(uhd_subdev_spec_handle h, size_t num, uhd_subdev_spec_pair_t *subdev_spec_pair_out)
Get the subdevice specification at the given index. 
 
UHD_API uhd_error uhd_subdev_spec_pairs_equal(const uhd_subdev_spec_pair_t *first, const uhd_subdev_spec_pair_t *second, bool *result_out)
Check to see if two subdevice specifications are equal. 
 
char * sd_name
Subdevice name. 
Definition: subdev_spec.h:31
 
UHD_API uhd_error uhd_subdev_spec_to_pp_string(uhd_subdev_spec_handle h, char *pp_string_out, size_t strbuffer_len)
Get a string representation of the given list. 
 
UHD_API uhd_error uhd_subdev_spec_make(uhd_subdev_spec_handle *h, const char *markup)
Create a handle for a list of subdevice specifications. 
 
UHD_API uhd_error uhd_subdev_spec_last_error(uhd_subdev_spec_handle h, char *error_out, size_t strbuffer_len)
Get the last error recorded by the given handle. 
 
UHD_API uhd_error uhd_subdev_spec_free(uhd_subdev_spec_handle *h)
Safely destroy a subdevice specification handle. 
 
uhd_error
UHD error codes. 
Definition: error.h:31
 
Definition: subdev_spec.hpp:31
 
Subdevice specification. 
Definition: subdev_spec.h:27
 
UHD_API uhd_error uhd_subdev_spec_size(uhd_subdev_spec_handle h, size_t *size_out)
Check how many subdevice specifications are in this list. 
 
char * db_name
Definition: subdev_spec.h:29
 
UHD_API uhd_error uhd_subdev_spec_to_string(uhd_subdev_spec_handle h, char *string_out, size_t strbuffer_len)
Get a markup string representation of the given list. 
 
#define UHD_API
Definition: config.h:66
 
UHD_API uhd_error uhd_subdev_spec_pair_free(uhd_subdev_spec_pair_t *subdev_spec_pair)
Safely destroy any memory created in the generation of a uhd_subdev_spec_pair_t. 
 
Definition: subdev_spec.hpp:66
 
struct uhd_subdev_spec_t * uhd_subdev_spec_handle
A C-level interface for working with a list of subdevice specifications. 
Definition: subdev_spec.h:55
 
UHD_API uhd_error uhd_subdev_spec_push_back(uhd_subdev_spec_handle h, const char *markup)
Add a subdevice specification to this list.