pbc_info

Langue: en

Version: 2007-05-15 (ubuntu - 07/07/09)

Section: 1 (Commandes utilisateur)

NAME

pbc_info - PacFile demo

SYNOPSIS

  pbc_info file.pbc
 
 

DESCRIPTION

Sample program for dumping PackFile segment names by iterating over the main directory.
"static INTVAL iter(Interp*, PackFile_Segment *seg, void *user_data)"
This function is passed the callback to PackFile_map_segments() to print out the name of each segment in the directory.
"int main(int argc, char **argv)"
Reads the PBC from argv[1], adds a few extra sections, and then iterates over the directory using PackFile_map_segments() and iter().

SEE ALSO

src/pbc.c, include/parrot/pbc.h.