libsigrok  0.4.0
sigrok hardware access and backend library
Functions
transform.c File Reference

Transform module handling. More...

#include <config.h>
#include <string.h>
#include <libsigrok/libsigrok.h>
#include "libsigrok-internal.h"
+ Include dependency graph for transform.c:

Go to the source code of this file.

Functions

const struct sr_transform_module ** sr_transform_list (void)
 Returns a NULL-terminated list of all available transform modules. More...
 
const char * sr_transform_id_get (const struct sr_transform_module *tmod)
 Returns the specified transform module's ID. More...
 
const char * sr_transform_name_get (const struct sr_transform_module *tmod)
 Returns the specified transform module's name. More...
 
const char * sr_transform_description_get (const struct sr_transform_module *tmod)
 Returns the specified transform module's description. More...
 
const struct sr_transform_module * sr_transform_find (const char *id)
 Return the transform module with the specified ID, or NULL if no module with that ID is found. More...
 
const struct sr_option ** sr_transform_options_get (const struct sr_transform_module *tmod)
 Returns a NULL-terminated array of struct sr_option, or NULL if the module takes no options. More...
 
void sr_transform_options_free (const struct sr_option **options)
 After a call to sr_transform_options_get(), this function cleans up all resources returned by that call. More...
 
const struct sr_transform * sr_transform_new (const struct sr_transform_module *tmod, GHashTable *options, const struct sr_dev_inst *sdi)
 Create a new transform instance using the specified transform module. More...
 
int sr_transform_free (const struct sr_transform *t)
 Free the specified transform instance and all associated resources. More...
 

Detailed Description

Transform module handling.

Definition in file transform.c.