6 #endif /* HAVE_CONFIG_H */
8 #ifdef CNID_BACKEND_CDB
11 #include "cnid_cdb_private.h"
13 /* return the next id. we use the fact that ad files are memory
15 cnid_t cnid_cdb_nextid(struct _cnid_db *cdb)
20 if (!cdb || !(db = cdb->_private))
23 memcpy(&id, ad_entry(&db->rootinfo, ADEID_DID), sizeof(id));
28 #endif /* CNID_BACKEND_CDB */