Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

xref and fileidx files specification

Guillermo
2005-09-30
2013-01-02
  • Guillermo
    Guillermo
    2005-09-30

    Hi,

    I am interested in the contents of the intermediate files xref and fileidx (I have been studing the stable release of lxr, I guess that the development version uses the same files) used by lxr for fast symbol access.

    This is the first time I read a program written in Perl, so I cannot determine clearly the contets of those files (xref and fileidx) only by looking at the code. I have found that the xref file is written using the DB_HASH format provided by DB_File class, but I cannot guess the data types of the pairs (key, value).

    Where can I found this information? Perl data types will be enough for this.

    Thanks and regards,

    Guillermo