| SERIALBOX_API serialboxArrayOfString_t * | serialboxArchiveGetRegisteredArchives (void) |
| Get an array of C-strings of all registered archives. More... | |
| SERIALBOX_API char * | serialboxArchiveGetArchiveFromExtension (const char *filename) |
Deduce the name of the archive according to the extension of the filename More... | |
| SERIALBOX_API char* serialboxArchiveGetArchiveFromExtension | ( | const char * | filename | ) |
Deduce the name of the archive according to the extension of the filename
| Extensions | Archives |
|---|---|
| .dat, .bin | Binary |
| .nc | NetCDF |
| filename | Path or name of the file |
Definition at line 38 of file Archive.cpp.
| SERIALBOX_API serialboxArrayOfString_t* serialboxArchiveGetRegisteredArchives | ( | void | ) |
Get an array of C-strings of all registered archives.
The function will allocate a sufficiently large array of char*. Each element (as well as the array itself) needs to be freed by the user using free().
Definition at line 21 of file Archive.cpp.