Data Structures | |
struct | _ntar_option |
This structure represents an option of a block, at the user level. More... | |
struct | _ntar_file_handlers |
This structure contains the read/write/seek callbacks that ntar uses to manage an ntar file when the application provides its own read/write/seek functions to deal with the underlying storage. More... | |
Typedefs | |
typedef _ntar_option | ntar_option |
This structure represents an option of a block, at the user level. | |
typedef _ntar_block_handle | ntar_block_handle |
This structure represents a generic block contained in a section. | |
typedef _ntar_section_handle | ntar_section_handle |
This structure represents the root block for a file. It corresponds to a Section Header Block of the draft, see 3.1. | |
typedef _ntar_file_handle | ntar_file_handle |
This structure represents the handle to a dump file. | |
typedef int(* | ntar_write_handler )(void *handle, void *buffer, size_t size) |
This is the callback that is called when the library needs to write some data to the underlying storage. This callback should be defined when the storage (file, or memory) is opened (with ntar_open_by_handlers) in write mode. | |
typedef int(* | ntar_read_handler )(void *handle, void *buffer, size_t size, size_t *read_bytes) |
This is the callback that is called when the library needs to read some data from the underlying storage. This callback should be defined when the storage (file, or memory) is opened (with ntar_open_by_handlers) in read mode. | |
typedef int(* | ntar_seek_handler )(void *handle, ntar_foff new_position, int origin, ntar_foff *pold_position) |
This is the callback that is called when the library needs to obtain the current position in the file, and eventually seek to a new position. This callback is optional (both in read and write mode). Nonetheless, if this callback is not defined, not all the features of the library are available, in particular WRITE MODE
| |
typedef _ntar_file_handlers | ntar_file_handlers |
This structure contains the read/write/seek callbacks that ntar uses to manage an ntar file when the application provides its own read/write/seek functions to deal with the underlying storage. |
|
This structure represents a generic block contained in a section.
|
|
This structure represents the handle to a dump file.
|
|
This structure contains the read/write/seek callbacks that ntar uses to manage an ntar file when the application provides its own read/write/seek functions to deal with the underlying storage. These callbacks are useful when the application wants to read and write data from non-standard files, or compressed/cripted files, or directly to memory. |
|
This structure represents an option of a block, at the user level.
|
|
This is the callback that is called when the library needs to read some data from the underlying storage. This callback should be defined when the storage (file, or memory) is opened (with ntar_open_by_handlers) in read mode.
|
|
This structure represents the root block for a file. It corresponds to a Section Header Block of the draft, see 3.1.
|
|
This is the callback that is called when the library needs to obtain the current position in the file, and eventually seek to a new position. This callback is optional (both in read and write mode). Nonetheless, if this callback is not defined, not all the features of the library are available, in particular WRITE MODE
|
|
This is the callback that is called when the library needs to write some data to the underlying storage. This callback should be defined when the storage (file, or memory) is opened (with ntar_open_by_handlers) in write mode.
|
NTAR documentation. Copyright (c) 2004 - 2005 Condor Engineering, Inc. All rights reserved.