Changed freshly introduced iso_file_get_external_filter()
to iso_stream_get_external_filter().
This commit is contained in:
parent
b27bcc7022
commit
6389bbbf58
@ -757,13 +757,11 @@ int iso_file_add_external_filter(IsoFile *file, IsoExternalFilterCommand *cmd,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int iso_file_get_external_filter(IsoFile *file, IsoExternalFilterCommand **cmd,
|
int iso_stream_get_external_filter(IsoStream *stream,
|
||||||
int flag)
|
IsoExternalFilterCommand **cmd, int flag)
|
||||||
{
|
{
|
||||||
IsoStream *stream;
|
|
||||||
ExternalFilterStreamData *data;
|
ExternalFilterStreamData *data;
|
||||||
|
|
||||||
stream = iso_file_get_stream(file);
|
|
||||||
if (stream->class != &extf_stream_class)
|
if (stream->class != &extf_stream_class)
|
||||||
return 0;
|
return 0;
|
||||||
data = stream->data;
|
data = stream->data;
|
||||||
|
@ -4743,7 +4743,7 @@ struct iso_external_filter_command
|
|||||||
* not smaller than the number of input blocks. Block size is 2048.
|
* not smaller than the number of input blocks. Block size is 2048.
|
||||||
* Assume that non-empty input yields non-empty output and thus do
|
* Assume that non-empty input yields non-empty output and thus do
|
||||||
* not attempt to attach a filter to files smaller than 2049 bytes.
|
* not attempt to attach a filter to files smaller than 2049 bytes.
|
||||||
* bit3= suffix was removed rather than to be added.
|
* bit3= suffix removed rather than added.
|
||||||
* (Removal and adding suffixes is the task of the application.
|
* (Removal and adding suffixes is the task of the application.
|
||||||
* This behavior bit serves only as reminder for the application.)
|
* This behavior bit serves only as reminder for the application.)
|
||||||
*/
|
*/
|
||||||
@ -4811,23 +4811,24 @@ int iso_file_remove_filter(IsoFile *file, int flag);
|
|||||||
|
|
||||||
/* ts A90402 */
|
/* ts A90402 */
|
||||||
/**
|
/**
|
||||||
* Obtain the IsoExternalFilterCommand which is associated with the top filter
|
* Obtain the IsoExternalFilterCommand which is eventually associated with the
|
||||||
* stream from a data file.
|
* given stream. (Typically obtained from an IsoFile by iso_file_get_stream()
|
||||||
* @param file
|
* or from an IsoStream by iso_stream_get_input_stream()).
|
||||||
* The data file node which shall show filtered content.
|
* @param stream
|
||||||
|
* The stream to be inquired.
|
||||||
* @param cmd
|
* @param cmd
|
||||||
* Will return the external IsoExternalFilterCommand. This does not
|
* Will return the external IsoExternalFilterCommand. This does not
|
||||||
* increment .refcount.
|
* increment .refcount.
|
||||||
* @param flag
|
* @param flag
|
||||||
* Bitfield for control purposes, unused yet, submit 0.
|
* Bitfield for control purposes, unused yet, submit 0.
|
||||||
* @return
|
* @return
|
||||||
* 1 on success, 0 if the top stream of the file is not an external filter
|
* 1 on success, 0 if the stream is not an external filter
|
||||||
* <0 on error
|
* <0 on error
|
||||||
*
|
*
|
||||||
* @since 0.6.18
|
* @since 0.6.18
|
||||||
*/
|
*/
|
||||||
int iso_file_get_external_filter(IsoFile *file, IsoExternalFilterCommand **cmd,
|
int iso_stream_get_external_filter(IsoStream *stream,
|
||||||
int flag);
|
IsoExternalFilterCommand **cmd, int flag);
|
||||||
|
|
||||||
|
|
||||||
/* ------------------------------------------------------------------------- */
|
/* ------------------------------------------------------------------------- */
|
||||||
|
Loading…
Reference in New Issue
Block a user