Functions | |
int | ntar_open (char *filename, char *flags, ntar_file_handle **pfile_handle) |
This functions open a new dump file for reading or writing. | |
int | ntar_open_by_handlers (ntar_file_handlers file_handlers, char *flags, ntar_file_handle **pfile_handle) |
This functions open a new dump file for reading or writing using some external read/write/seek callbacks defined by the caller. | |
int | ntar_close (ntar_file_handle *file_handle) |
This function closes a dump file flushing all the unwritten data to disk. | |
int | ntar_create_section (ntar_file_handle *file_handle, ntar_section_handle **psection_handle) |
This function creates a new section (SHB as specified in 3.1 in the draft) into a dump file. | |
int | ntar_close_section (ntar_section_handle *section_handle) |
This function closes a section in a dump file, eventually flushing all the unsaved data to disk (if in write mode). | |
int | ntar_add_section_option (ntar_section_handle *section_handle, ntar_option *option) |
This function adds a new option value to a section. | |
int | ntar_create_block (ntar_section_handle *section_handle, u_int32 block_type, void *data, ntar_block_handle **pblock_handle) |
This function creates a new block into a section of a dump file. | |
int | ntar_close_block (ntar_block_handle *block_handle) |
This function closes a block in a dump file, eventually flushing all the unsaved data to disk (if in write mode). | |
int | ntar_add_block_option (ntar_block_handle *block_handle, ntar_option *option) |
This function adds a specified option value to a block handle. | |
int | ntar_get_next_section (ntar_file_handle *file_handle, ntar_section_handle **psection_handle) |
This function returns the next available section in a dump file. | |
int | ntar_get_previous_section (ntar_file_handle *file_handle, ntar_section_handle **psection_handle) |
This function returns the section in a dump file prior to the current one. | |
int | ntar_get_section_options (ntar_section_handle *section_handle, ntar_option **options) |
This function reads the option value of a given section in a dump file. | |
int | ntar_get_next_block (ntar_section_handle *section_handle, ntar_block_handle **pblock_handle) |
This function returns the next available block (excluding the SHB) in a section of a dump file. | |
int | ntar_get_previous_block (ntar_section_handle *section_handle, ntar_block_handle **pblock_handle) |
This function returns the block in a section of a dump file prior to the current one (excluding the SHB). | |
int | ntar_get_block_type (ntar_block_handle *block_handle, u_int32 *pblock_type) |
This function returns the block type of a given block. | |
int | ntar_get_block_data (ntar_block_handle *block_handle, void **data) |
This function retrieves the fixed data of a block. | |
int | ntar_get_block_options (ntar_block_handle *block_handle, ntar_option **options) |
This function reads all the options of a given block in a section. | |
int | ntar_getversion (char *buffer, u_int32 *pbuffer_size) |
This function returns the version of the library. |
|
This function adds a specified option value to a block handle.
|
|
This function adds a new option value to a section.
|
|
This function closes a dump file flushing all the unwritten data to disk.
|
|
This function closes a block in a dump file, eventually flushing all the unsaved data to disk (if in write mode).
|
|
This function closes a section in a dump file, eventually flushing all the unsaved data to disk (if in write mode).
|
|
This function creates a new block into a section of a dump file.
|
|
This function creates a new section (SHB as specified in 3.1 in the draft) into a dump file.
|
|
This function retrieves the fixed data of a block.
|
|
This function reads all the options of a given block in a section.
|
|
This function returns the block type of a given block.
|
|
This function returns the next available block (excluding the SHB) in a section of a dump file.
|
|
This function returns the next available section in a dump file.
|
|
This function returns the block in a section of a dump file prior to the current one (excluding the SHB).
|
|
This function returns the section in a dump file prior to the current one.
|
|
This function reads the option value of a given section in a dump file.
|
|
This function returns the version of the library.
|
|
This functions open a new dump file for reading or writing.
|
|
This functions open a new dump file for reading or writing using some external read/write/seek callbacks defined by the caller.
|
NTAR documentation. Copyright (c) 2004 - 2005 Condor Engineering, Inc. All rights reserved.