Get the name of a subdocument
Retrieves the name of the specified subdocument and returns a pointer to it.
#include <xar/xar.h> int main(int argc, char *argv[]) { xar_t x; xar_subdoc_t s; x = xar_open(argv[1], READ); if( x == NULL ) { fprintf(stderr, "Error opening xarchive: %s\n", argv[1]); exit(1); } for(s = xar_subdoc_first(x); s; s = xar_subdoc_next(s)) { const char *name = xar_subdoc_name(s); ... } ... xar_close(x); ... }
There was an error while loading. Please reload this page.