libsigrok  0.2.0
sigrok hardware access and backend library
 All Data Structures Files Functions Variables Typedefs Enumerator Macros Groups Pages
Data Fields
sr_output Struct Reference

Output (file) format struct. More...

#include <libsigrok.h>

+ Collaboration diagram for sr_output:

Data Fields

struct sr_output_formatformat
 A pointer to this output format's 'struct sr_output_format'. More...
 
struct sr_dev_instsdi
 The device for which this output module is creating output. More...
 
char * param
 An optional parameter which the frontend can pass in to the output module. More...
 
void * internal
 A generic pointer which can be used by the module to keep internal state between calls into its callback functions. More...
 

Detailed Description

Output (file) format struct.

Definition at line 370 of file libsigrok.h.

Field Documentation

struct sr_output_format* sr_output::format

A pointer to this output format's 'struct sr_output_format'.

The frontend can use this to call the module's callbacks.

Definition at line 375 of file libsigrok.h.

void* sr_output::internal

A generic pointer which can be used by the module to keep internal state between calls into its callback functions.

For example, the module might store a pointer to a chunk of output there, and only flush it when it reaches a certain size.

Definition at line 397 of file libsigrok.h.

char* sr_output::param

An optional parameter which the frontend can pass in to the output module.

How the string is interpreted is entirely up to the module.

Definition at line 388 of file libsigrok.h.

struct sr_dev_inst* sr_output::sdi

The device for which this output module is creating output.

This can be used by the module to find out probe names and numbers.

Definition at line 381 of file libsigrok.h.


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