pbc_info.c(1)
NAME
pbc_info - PackFile demo
SYNOPSIS
pbc_info file.pbc
DESCRIPTION
- Sample program for dumping PackFile segment names by iterating over the
main directory.
- Functions
- "static INTVAL iter(PARROT_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/packfile.c, include/parrot/packfile.h.