ARCHIVE_READ_HEADER(3)	 BSD Library Functions Manual	ARCHIVE_READ_HEADER(3)

1mNAME0m
     1marchive_read_next_header22m, 1marchive_read_next_header2 22m— functions for read‐
     ing streaming archives

1mLIBRARY0m
     Streaming Archive Library (libarchive, -larchive)

1mSYNOPSIS0m
     1m#include <archive.h>0m

     4mint0m
     1marchive_read_next_header22m(4mstruct24m 4marchive24m 4m*24m, 4mstruct24m 4marchive_entry24m 4m**24m);

     4mint0m
     1marchive_read_next_header222m(4mstruct24m 4marchive24m 4m*24m, 4mstruct24m 4marchive_entry24m 4m*24m);

1mDESCRIPTION0m
     1marchive_read_next_header22m()
	     Read the header for the next entry and return a pointer to a
	     struct archive_entry.  This is a convenience wrapper around
	     1marchive_read_next_header222m() that reuses an internal struct
	     archive_entry object for each request.
     1marchive_read_next_header222m()
	     Read the header for the next entry and populate the provided
	     struct archive_entry.

1mRETURN VALUES0m
     These functions return 1mARCHIVE_OK 22m(the operation succeeded), 1mARCHIVE_WARN0m
     (the operation succeeded but a non-critical error was encountered),
     1mARCHIVE_EOF 22m(end-of-archive was encountered), 1mARCHIVE_RETRY 22m(the opera‐
     tion failed but can be retried), and 1mARCHIVE_FATAL 22m(there was a fatal
     error; the archive should be closed immediately).

1mERRORS0m
     Detailed error codes and textual descriptions are available from the
     1marchive_errno22m() and 1marchive_error_string22m() functions.

1mSEE ALSO0m
     tar(1), libarchive(3), archive_read(3), archive_read_data(3),
     archive_read_extract(3), archive_read_filter(3), archive_read_format(3),
     archive_read_open(3), archive_read_set_options(3), archive_util(3),
     tar(5)

BSD			       February 2, 2012 			   BSD
