|
CDI SDK
SDK for transporting chunks of data reliably and with low latency using a polled mode network driver.
|
A tool to dump the contents of a RIFF file. More...
#include <stdlib.h>#include <stdio.h>#include "cdi_os_api.h"#include "cdi_logger_api.h"#include "riff.h"Functions | |
| static int | ParseOption (const char *option_str) |
| static void | PrintUsage () |
| Print usage message. | |
| static bool | DumpFile (const char *filename, int mode) |
| int | main (int argc, char **argv) |
A tool to dump the contents of a RIFF file.
|
static |
Dump certain data in a RIFF file, or print an error message when file cannot be dumped.
| filename | Name of the RIFF file. |
| mode | Dump mode. |
| int main | ( | int | argc, |
| char ** | argv ) |
C main entry function.
| argc | Number of command line arguments. |
| argv | Pointer to array of pointers to command line arguments |
|
static |
Parse command line option.
| option_str | Option string given on command line. |