CHAPTER 12Berkeley DB C API

Most of the older Berkeley DB applications were written using the C API, while a large percentage of the applications being written today use the C++ or the Java API. The C API doesn't have some of the higher-level constructs available in the C++ or the Java APIs. In that respect, the C API is primitive when compared to the other APIs. However, all other Berkeley DB APIs are wrappers around the C API. The Berkeley DB library itself has been implemented in C, and it even uses the C API methods internally. It is useful to understand how the lowest-level API works, even if you're not planning to use it in your application.

In this chapter, I'll go over the Berkeley DB C API. This chapter is meant for you to use as an ...

Get The Berkeley DB Book now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.