~ubuntu-branches/ubuntu/quantal/maradns/quantal

« back to all changes in this revision

Viewing changes to doc/en/tutorial/coding_style.html

  • Committer: Package Import Robot
  • Author(s): Iain Lane
  • Date: 2012-01-12 23:35:38 UTC
  • mto: This revision was merged to the branch mainline in revision 26.
  • Revision ID: package-import@ubuntu.com-20120112233538-5jkaqrh9nbqtf1ey
Tags: upstream-2.0.04+really1.4.09
ImportĀ upstreamĀ versionĀ 2.0.04+really1.4.09

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<!-- Do *not* edit this file; it was automatically generated by ej2html
2
2
     Look for a name.ej file with the same name as this filename -->
3
 
<!-- Last updated Mon Sep 27 15:36:25 2010 -->
 
3
<!-- Last updated Fri Jan  8 10:07:49 2010 -->
4
4
 
5
5
<HTML><HEAD>
6
6
<TITLE>MaraDNS coding style</TITLE>
15
15
<H1>MaraDNS' coding style</H1>
16
16
 
17
17
MaraDNS is a divergent body of code that has been developed, in some 
18
 
form or other, for nearly a decade.  While some changes have been made 
 
18
form or other, for over seven years.  While some changes have been made 
19
19
to that code during this time period, notably the tab and bracing style, 
20
20
some other things about the code have stayed the same.  These coding 
21
21
style guidelines have always been in mind as I was writing MaraDNS code.  
25
25
 
26
26
<p>
27
27
 
28
 
Please note that the only patches I will accept for MaraDNS 1.4 and
29
 
MaraDNS 2.0 are patches that fix bugs and do not add any features to the
30
 
code.  MaraDNS is open-source and people interesting in adding features
31
 
to the code are free to make their own MaraDNS fork.  Please do not name
32
 
any such fork "MaraDNS".
33
 
 
34
 
<p>
35
 
 
36
28
So, without further ado:
37
29
 
38
30
<h2>All indexed writes must be protected against overflows</h2>
142
134
 
143
135
Note that MaraDNS 2.0 will break many configurations, since the same
144
136
IP will be unable to be both a recursive and authoritative DNS server.
145
 
This is why I will continue to support MaraDNS 1.4 for the foreseeable
146
 
future even though MaraDNS 2.0 has been released.
 
137
This is why I will continue to support MaraDNS 1.4 after when and if
 
138
MaraDNS 2.0 comes out.
147
139
 
148
140
<h2>Brace and tab style</h2>
149
141
 
176
168
which is a BSD license as follows:
177
169
 
178
170
<blockquote>
179
 
Copyright (c) 2002-2010 Sam Trenholme and others
 
171
Copyright (c) 2002-2009 Sam Trenholme and others
180
172
<p>
181
173
TERMS
182
174
<p>