-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Himanshu Gupta wrote:
> Hi,
Hi!
> Can somebody please point me to a document, which could provide me an
> overview of the classes in source code. I've downloaded the code and
> have no idea of how to go about reading the code.
>
> I warmly welcome any suggestions on "how to understand the wget source
> code?" or any document, tutorial.
Unfortunately, there isn't one; and isn't likely to be one in the near
future especially since a lot of the code is likely to be reworked
before too terribly long.
The best thing to do is just to read it, and follow up the parts you
don't understand.
BTW, there aren't any "classes", which may be part of your confusion: C
has no such concept; the closest is C "structs" (which in C++ define
classes). While some of the code is at least vaguely object-oriented in
style, I don't really think you could apply that term to Wget's source
in general.
However, the source files are fairly clearly named, and most (all?)
functions have a brief description associated with them, as do the
source files. For example, http.c contains the HTTP protocol-related
code, recur.c manages recursive fetching, html-parse.c handles HTML
parsing, etc.
- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer...
http://micah.cowan.name/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGpNDH7M8hyUobTrERCFMvAJ9tiFY2JUWwyllORzYLtTn3Mja3MgCfb1Xv
doQQczsoQofB6hmYNt1gRCY=
=QMU3
-END PGP SIGNATURE-