~ubuntu-branches/debian/wheezy/haproxy/wheezy

« back to all changes in this revision

Viewing changes to doc/internals/ebtree

  • Committer: Bazaar Package Importer
  • Author(s): Arnaud Cornet
  • Date: 2010-04-15 20:00:34 UTC
  • mfrom: (1.2.6 upstream)
  • mto: This revision was merged to the branch mainline in revision 11.
  • Revision ID: james.westby@ubuntu.com-20100415200034-mtlky4sy39tk0dfi
Tags: upstream-1.4.4
ImportĀ upstreamĀ versionĀ 1.4.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Version 3.0 of ebtree has been imported in haproxy 1.3.14. The files have
2
 
been split into two directories :
3
 
  - src/eb*.c
4
 
  - include/common/eb*.h
5
 
 
6
 
The .c files had their #include changed to find the include files in the
7
 
common subdirectory. Changes have been committed right after the merge
8
 
without the files being used. They are known to build without warnings
9
 
on Linux at this stage.
10
 
 
11
 
Also, some optimizations are not redefined if already known: REGPRM*
12
 
and likely/unlikely which are used in ebtree are also used and defined
13
 
in haproxy. Thus, we just conditionally define them.
14
 
 
15
 
Last, all eb*tree*.h have been adapted to support being included multiple
16
 
times, using #ifndef/#define/#endif.