summaryrefslogtreecommitdiff
path: root/HACKING
blob: 55a681926440cd624635f0b46d9fe0ed739c53fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Coding Style
===

 - Please follow the coding style already used - it's not a must, but it's
   nice to have consistency.

 - Write docs for all functions and structs and so on. We use gtkdoc format.

 - All external interfaces (network protocols, file formats, etc.)
   should have documented specifications sufficient to allow an
   alternative implementation to be written. Our implementation should
   be strict about specification compliance (should not for example
   heuristically parse a file and accept not-well-formed
   data). Avoiding heuristics is also important for security reasons;
   if it looks funny, ignore it (or exit, or disconnect).