You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
#ifndef _DECODER_H_
|
|
|
#define _DECODER_H_
|
|
|
|
|
|
#include "types.h"
|
|
|
#include "str.h"
|
|
|
|
|
|
|
|
|
decoder_t *decoder_new(const char *payload_str);
|
|
|
int decoder_input(decoder_t *, const str *, unsigned long ts, output_t *);
|
|
|
void decoder_close(decoder_t *);
|
|
|
|
|
|
output_t *output_new(const char *filename);
|
|
|
int output_config(output_t *, unsigned int clock_rate);
|
|
|
void output_close(output_t *);
|
|
|
|
|
|
|
|
|
#endif
|