libsigrok
unreleased development snapshot
sigrok hardware access and backend library
|
Output module handling. More...
#include <config.h>
#include <string.h>
#include <libsigrok/libsigrok.h>
#include "libsigrok-internal.h"
Go to the source code of this file.
Functions | |
const struct sr_output_module ** | sr_output_list (void) |
Returns a NULL-terminated list of all available output modules. More... | |
const char * | sr_output_id_get (const struct sr_output_module *omod) |
Returns the specified output module's ID. More... | |
const char * | sr_output_name_get (const struct sr_output_module *omod) |
Returns the specified output module's name. More... | |
const char * | sr_output_description_get (const struct sr_output_module *omod) |
Returns the specified output module's description. More... | |
const char *const * | sr_output_extensions_get (const struct sr_output_module *omod) |
Returns the specified output module's file extensions typical for the file format, as a NULL terminated array, or returns a NULL pointer if there is no preferred extension. More... | |
gboolean | sr_output_test_flag (const struct sr_output_module *omod, uint64_t flag) |
const struct sr_output_module * | sr_output_find (char *id) |
Return the output module with the specified ID, or NULL if no module with that id is found. More... | |
const struct sr_option ** | sr_output_options_get (const struct sr_output_module *omod) |
Returns a NULL-terminated array of struct sr_option, or NULL if the module takes no options. More... | |
void | sr_output_options_free (const struct sr_option **options) |
After a call to sr_output_options_get(), this function cleans up all resources returned by that call. More... | |
const struct sr_output * | sr_output_new (const struct sr_output_module *omod, GHashTable *options, const struct sr_dev_inst *sdi, const char *filename) |
Create a new output instance using the specified output module. More... | |
int | sr_output_send (const struct sr_output *o, const struct sr_datafeed_packet *packet, GString **out) |
Send a packet to the specified output instance. More... | |
int | sr_output_free (const struct sr_output *o) |
Free the specified output instance and all associated resources. More... | |
Output module handling.
Definition in file output.c.