June 2001
Intermediate to advanced
688 pages
19h 18m
English
The Berkeley DB library is careful to avoid C language programmer name spaces, but there are a few potential areas for concern, mostly in the Berkeley DB include file db.h. The db.h include file defines a number of types and strings. Where possible, all of these types and strings are prefixed with “DB_” or “db_”. There are a few notable exceptions.
The Berkeley DB library uses a macro named “__P” to configure for systems that do not provide ANSI C function prototypes. This could potentially collide with other systems using a “__P” macro for similar or different purposes.
The Berkeley DB library needs information about specifically sized types for each architecture. If they are not provided by the system, they ...