~ubuntu-branches/ubuntu/dapper/rdesktop/dapper

« back to all changes in this revision

Viewing changes to doc/HACKING

  • Committer: Bazaar Package Importer
  • Author(s): Sam Johnston
  • Date: 2004-02-04 17:52:26 UTC
  • Revision ID: james.westby@ubuntu.com-20040204175226-87kz4bzs1nimji68
Tags: upstream-1.3.1
ImportĀ upstreamĀ versionĀ 1.3.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
Code style / indentation
 
3
------------------------
 
4
The file indent-all.sh contains information about the current code
 
5
style.  Run this script before commits.
 
6
 
 
7
Variable argument macros
 
8
------------------------
 
9
Variable argument macros are non-portable in general, and should be
 
10
avoided.  Either use a second set of parentheses like DEBUG, or create
 
11
a variable argument function like error.
 
12
 
 
13
Structure
 
14
---------
 
15
The core protocol stack should be system-independent (i.e. ANSI C
 
16
only) so that it is easy to port. This currently applies to the
 
17
following files:
 
18
 
 
19
bitmap.c licence.c orders.c rdp.c cache.c iso.c mcs.c rdesktop.c
 
20
secure.c