no-OS
Public Attributes | List of all members
iiod_ops Struct Reference

#include <iiod.h>

Public Attributes

int(* send )(struct iiod_ctx *ctx, uint8_t *buf, uint32_t len)
 
int(* recv )(struct iiod_ctx *ctx, uint8_t *buf, uint32_t len)
 
int(* open )(struct iiod_ctx *ctx, const char *device, uint32_t samples, uint32_t mask, bool cyclic)
 
int(* close )(struct iiod_ctx *ctx, const char *device)
 
int(* read_buffer )(struct iiod_ctx *ctx, const char *device, char *buf, uint32_t bytes)
 
int(* refill_buffer )(struct iiod_ctx *ctx, const char *device)
 
int(* write_buffer )(struct iiod_ctx *ctx, const char *device, const char *buf, uint32_t bytes)
 
int(* push_buffer )(struct iiod_ctx *ctx, const char *device)
 
int(* read_attr )(struct iiod_ctx *ctx, const char *device, struct iiod_attr *attr, char *buf, uint32_t len)
 
int(* write_attr )(struct iiod_ctx *ctx, const char *device, struct iiod_attr *attr, char *buf, uint32_t len)
 
int(* get_trigger )(struct iiod_ctx *ctx, const char *device, char *trigger, uint32_t len)
 
int(* set_trigger )(struct iiod_ctx *ctx, const char *device, const char *trigger, uint32_t len)
 
int(* set_timeout )(struct iiod_ctx *ctx, uint32_t timeout)
 
int(* set_buffers_count )(struct iiod_ctx *ctx, const char *device, uint32_t buffers_count)
 

Member Data Documentation

◆ close

int(* iiod_ops::close) (struct iiod_ctx *ctx, const char *device)

◆ get_trigger

int(* iiod_ops::get_trigger) (struct iiod_ctx *ctx, const char *device, char *trigger, uint32_t len)

◆ open

int(* iiod_ops::open) (struct iiod_ctx *ctx, const char *device, uint32_t samples, uint32_t mask, bool cyclic)

◆ push_buffer

int(* iiod_ops::push_buffer) (struct iiod_ctx *ctx, const char *device)

◆ read_attr

int(* iiod_ops::read_attr) (struct iiod_ctx *ctx, const char *device, struct iiod_attr *attr, char *buf, uint32_t len)

◆ read_buffer

int(* iiod_ops::read_buffer) (struct iiod_ctx *ctx, const char *device, char *buf, uint32_t bytes)

◆ recv

int(* iiod_ops::recv) (struct iiod_ctx *ctx, uint8_t *buf, uint32_t len)

◆ refill_buffer

int(* iiod_ops::refill_buffer) (struct iiod_ctx *ctx, const char *device)

◆ send

int(* iiod_ops::send) (struct iiod_ctx *ctx, uint8_t *buf, uint32_t len)

◆ set_buffers_count

int(* iiod_ops::set_buffers_count) (struct iiod_ctx *ctx, const char *device, uint32_t buffers_count)

◆ set_timeout

int(* iiod_ops::set_timeout) (struct iiod_ctx *ctx, uint32_t timeout)

◆ set_trigger

int(* iiod_ops::set_trigger) (struct iiod_ctx *ctx, const char *device, const char *trigger, uint32_t len)

◆ write_attr

int(* iiod_ops::write_attr) (struct iiod_ctx *ctx, const char *device, struct iiod_attr *attr, char *buf, uint32_t len)

◆ write_buffer

int(* iiod_ops::write_buffer) (struct iiod_ctx *ctx, const char *device, const char *buf, uint32_t bytes)

The documentation for this struct was generated from the following file: