| dirfile.h | | dirfile.h | |
| | | | |
| skipping to change at line 112 | | skipping to change at line 112 | |
| | | | |
| size_t PutConstant(const char *field_code, DataType type, | | size_t PutConstant(const char *field_code, DataType type, | |
| const void *data_in); | | const void *data_in); | |
| | | | |
| size_t PutData(const char *field_code, off_t first_frame, | | size_t PutData(const char *field_code, off_t first_frame, | |
| off_t first_sample, size_t num_frames, size_t num_samples, | | off_t first_sample, size_t num_frames, size_t num_samples, | |
| DataType type, const void* data_in); | | DataType type, const void* data_in); | |
| | | | |
| size_t PutString(const char *field_code, const char *data_in); | | size_t PutString(const char *field_code, const char *data_in); | |
| | | | |
|
| | | const char *ReferenceFilename(); | |
| | | | |
| unsigned int SamplesPerFrame(const char *field_code); | | unsigned int SamplesPerFrame(const char *field_code); | |
| | | | |
| const char **Strings(); | | const char **Strings(); | |
| | | | |
| const char **VectorList(); | | const char **VectorList(); | |
| | | | |
| private: | | private: | |
| DIRFILE* D; | | DIRFILE* D; | |
| | | | |
| char *error_string; | | char *error_string; | |
| | | | |
End of changes. 1 change blocks. |
| 0 lines changed or deleted | | 2 lines changed or added | |
|
| getdata.h | | getdata.h | |
| | | | |
| skipping to change at line 347 | | skipping to change at line 347 | |
| | | | |
| extern int dirfile_add_raw(DIRFILE* D, const char* field_code, | | extern int dirfile_add_raw(DIRFILE* D, const char* field_code, | |
| gd_type_t data_type, unsigned int spf, int fragment_index) | | gd_type_t data_type, unsigned int spf, int fragment_index) | |
| __gd_nonnull((1,2)); | | __gd_nonnull((1,2)); | |
| | | | |
| extern int dirfile_add(DIRFILE* D, const gd_entry_t* entry) __gd_nonnull((1
,2)); | | extern int dirfile_add(DIRFILE* D, const gd_entry_t* entry) __gd_nonnull((1
,2)); | |
| | | | |
| extern int dirfile_add_spec(DIRFILE* D, const char* line, int fragment_inde
x) | | extern int dirfile_add_spec(DIRFILE* D, const char* line, int fragment_inde
x) | |
| __gd_nonnull ((1,2)); | | __gd_nonnull ((1,2)); | |
| | | | |
|
| | | extern const char* get_reference(DIRFILE* D) __gd_nonnull ((1)); | |
| | | | |
| | | extern const char* get_raw_filename(DIRFILE* D, const char* field_code); | |
| | | | |
| /* the following functions are _FILE_OFFSET_BITS sensitive */ | | /* the following functions are _FILE_OFFSET_BITS sensitive */ | |
| #ifndef __USE_FILE_OFFSET64 | | #ifndef __USE_FILE_OFFSET64 | |
| extern off_t get_nframes(DIRFILE* dirfile) __THROW __gd_nonnull ((1)); | | extern off_t get_nframes(DIRFILE* dirfile) __THROW __gd_nonnull ((1)); | |
| | | | |
| extern size_t getdata(DIRFILE* dirfile, const char *field_code, | | extern size_t getdata(DIRFILE* dirfile, const char *field_code, | |
| off_t first_frame, off_t first_sample, size_t num_frames, | | off_t first_frame, off_t first_sample, size_t num_frames, | |
| size_t num_samples, gd_type_t return_type, | | size_t num_samples, gd_type_t return_type, | |
| void *data_out) __gd_nonnull ((1, 2)); | | void *data_out) __gd_nonnull ((1, 2)); | |
| | | | |
| extern size_t putdata(DIRFILE* dirfile, const char *field_code, | | extern size_t putdata(DIRFILE* dirfile, const char *field_code, | |
| | | | |
End of changes. 1 change blocks. |
| 0 lines changed or deleted | | 4 lines changed or added | |
|
| getdata_legacy.h | | getdata_legacy.h | |
| | | | |
| skipping to change at line 95 | | skipping to change at line 95 | |
| struct MultiplyEntryType *multiplyEntries; | | struct MultiplyEntryType *multiplyEntries; | |
| int n_multiply; | | int n_multiply; | |
| struct MplexEntryType *mplexEntries; | | struct MplexEntryType *mplexEntries; | |
| int n_mplex; | | int n_mplex; | |
| struct BitEntryType *bitEntries; | | struct BitEntryType *bitEntries; | |
| int n_bit; | | int n_bit; | |
| struct PhaseEntryType *phaseEntries; | | struct PhaseEntryType *phaseEntries; | |
| int n_phase; | | int n_phase; | |
| }; | | }; | |
| | | | |
|
| extern const struct FormatType *GetFormat(const char *filedir, int *error_c | | #ifdef __cplusplus | |
| ode) | | extern "C" { | |
| | | #endif | |
| | | | |
| | | extern struct FormatType *GetFormat(const char *filedir, int *error_code) | |
| __THROW __gd_nonnull ((1,2)) __attribute_deprecated__; | | __THROW __gd_nonnull ((1,2)) __attribute_deprecated__; | |
| | | | |
| /* legacy API for get_error_string() */ | | /* legacy API for get_error_string() */ | |
| extern char* GetDataErrorString(char* buffer, size_t buflen) __THROW | | extern char* GetDataErrorString(char* buffer, size_t buflen) __THROW | |
| __gd_nonnull ((1)) __attribute_deprecated__; | | __gd_nonnull ((1)) __attribute_deprecated__; | |
| | | | |
| /* legacy API for getdata() */ | | /* legacy API for getdata() */ | |
| extern int GetData(const char *dirfilename, const char *field_code, | | extern int GetData(const char *dirfilename, const char *field_code, | |
| int first_frame, int first_samp, int num_frames, int num_samp, | | int first_frame, int first_samp, int num_frames, int num_samp, | |
| char return_type, void *data_out, int *error_code) __gd_nonnull ((1,2,9
)) | | char return_type, void *data_out, int *error_code) __gd_nonnull ((1,2,9
)) | |
| | | | |
| skipping to change at line 122 | | skipping to change at line 126 | |
| /* legacy API for get_spf() */ | | /* legacy API for get_spf() */ | |
| extern int GetSamplesPerFrame(const char *dirfilename, const char *field_co
de, | | extern int GetSamplesPerFrame(const char *dirfilename, const char *field_co
de, | |
| int *error_code) __THROW __gd_nonnull ((1,2,3)) __attribute_deprecated_
_; | | int *error_code) __THROW __gd_nonnull ((1,2,3)) __attribute_deprecated_
_; | |
| | | | |
| /* legacy API for putdata() */ | | /* legacy API for putdata() */ | |
| extern int PutData(const char *filename_in, const char *field_code, | | extern int PutData(const char *filename_in, const char *field_code, | |
| int first_frame, int first_samp, int num_frames, int num_samp, | | int first_frame, int first_samp, int num_frames, int num_samp, | |
| char data_type, const void *data_in, int *error_code) | | char data_type, const void *data_in, int *error_code) | |
| __gd_nonnull ((1,2,9)) __attribute_deprecated__; | | __gd_nonnull ((1,2,9)) __attribute_deprecated__; | |
| | | | |
|
| | | #ifdef __cplusplus | |
| | | } | |
| | | #endif | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 2 change blocks. |
| 2 lines changed or deleted | | 9 lines changed or added | |
|