NSS Shared DB: Difference between revisions

Jump to navigation Jump to search
Line 101: Line 101:
The database layer must be multi-thread safe. If the underlying database is not thread safe, sdb_ layer must implement the appropriate locking.
The database layer must be multi-thread safe. If the underlying database is not thread safe, sdb_ layer must implement the appropriate locking.


===== sdb_FindObjectsInit =====
===== s_open =====


The database API consists of an initalization call, which returns an SDB data structure (defined below).
The database API consists of an initalization call, which returns an SDB data structure (defined below).
Line 160: Line 160:
us to handle future expansion of the sdb data structure safely.
us to handle future expansion of the sdb data structure safely.
* The rest are function pointers to database primitives described next.
* The rest are function pointers to database primitives described next.


===== sdb_FindObjectsInit =====
===== sdb_FindObjectsInit =====
439

edits

Navigation menu