-static uint64_t stacked_getfullkeyid(struct onak_dbctx *dbctx,
- uint64_t keyid)
-{
- struct onak_stacked_dbctx *privctx =
- (struct onak_stacked_dbctx *) dbctx->priv;
- struct onak_dbctx *backend =
- (struct onak_dbctx *) privctx->backends->object;
- uint64_t res = 0;
-
- res = backend->getfullkeyid(backend, keyid);
- if (res == 0) {
- res = generic_getfullkeyid(dbctx, keyid);
- }
-
- return res;
-}
-