O'Reilly logo

The Berkeley DB Book by Himanshu Yadava

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required