# C Programming Style in libwww

The W3C Reference Library (a.k.a. libwww) is written with a certain house style that almost certainly differs from what you are used to. However, we have our reasons for doing this - well not all of it but most of it! Anyway, the purpose of all W3C code is to be:

- Highly portable so that it works on any thinkable platform
- Consistent in style so that it is easy to read by other contributors

Please also have a look at the existing W3C source code - then some of the things below might make more sense. The style guide is divided into sections on

- C++ emulation in libwww
- Calling libwww from C++
- Special Language 'features'
- Libwww Modules and Documentation
- PRIVATE and PUBLIC Macros
- Identifiers
- Function Declarations
- Function Definitions
- Function Body Layout