#include <stdlib.h>
#include <string.h>
#include <glib.h>
#include "sigrok.h"
#include "sigrok-internal.h"
#include "text.h"
Go to the source code of this file.
Functions | |
SR_PRIV int | init_hex (struct sr_output *o) |
SR_PRIV int | data_hex (struct sr_output *o, const uint8_t *data_in, uint64_t length_in, uint8_t **data_out, uint64_t *length_out) |
Variables | |
SR_PRIV struct sr_output_format | output_text_hex |
SR_PRIV int data_hex | ( | struct sr_output * | o, |
const uint8_t * | data_in, | ||
uint64_t | length_in, | ||
uint8_t ** | data_out, | ||
uint64_t * | length_out | ||
) |
Definition at line 33 of file hex.c.
References flush_linebufs(), context::header, sr_output::internal, context::line_offset, context::linebuf, context::linebuf_len, context::linevalues, context::num_enabled_probes, context::sample, context::samples_per_line, context::spl_cnt, sr_err(), SR_ERR_MALLOC, SR_MAX_PROBENAME_LEN, SR_OK, and context::unitsize.
Definition at line 28 of file hex.c.
References DEFAULT_BPL_HEX, sr_output_format::init, and MODE_HEX.
SR_PRIV struct sr_output_format output_text_hex |