libmp3splt  0.9.2
Lossless library for splitting audio formats like mp3, ogg vorbis and FLAC.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Wrap utilities

Typedefs

typedef struct _splt_wrap splt_wrap
 
typedef struct _splt_one_wrap splt_one_wrap
 

Functions

splt_wrapmp3splt_get_wrap_files (splt_state *state, splt_code *error)
 
void mp3splt_wrap_init_iterator (splt_wrap *wrap)
 
const splt_one_wrapmp3splt_wrap_next (splt_wrap *wrap)
 
char * mp3splt_wrap_get_wrapped_file (const splt_one_wrap *one_wrap)
 

Detailed Description

Typedef Documentation

typedef struct _splt_wrap splt_wrap

Structure containg the wrapped filenames found inside the input filename.

All members are private.

See Also
mp3splt_get_wrap_files
mp3splt_wrap_init_iterator
mp3splt_wrap_next

Definition at line 2020 of file mp3splt.h.

typedef struct _splt_one_wrap splt_one_wrap

Structure containing one wrapped file All members are private.

See Also
mp3splt_wrap_get_wrapped_file

Definition at line 2028 of file mp3splt.h.

Function Documentation

splt_wrap* mp3splt_get_wrap_files ( splt_state state,
splt_code error 
)

Returns the wrapped files found from the input filename set with mp3splt_set_filename_to_split.

Parameters
[in]stateMain state.
[out]errorPossible error; can be NULL.
Returns
Wrapped files found.
See Also
mp3splt_wrap_init_iterator
mp3splt_wrap_next
void mp3splt_wrap_init_iterator ( splt_wrap wrap)

Initialisation of the iterator for use with mp3splt_wrap_next.

Parameters
[in]wrapWrapped files returned with mp3splt_get_wrap_files.
See Also
mp3splt_wrap_next
const splt_one_wrap* mp3splt_wrap_next ( splt_wrap wrap)

Returns the next wrapped file from the wrap.

Parameters
[in]wrapWrapped files to be processed.
Returns
Next wrapped file of wrap or NULL if none found or no wrapped file remains.
See Also
mp3splt_wrap_get_wrapped_file
char* mp3splt_wrap_get_wrapped_file ( const splt_one_wrap one_wrap)

Returns the wrapped file from one_wrap.

Result must be freed.