Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pcrf json dbi #1

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open
2 changes: 2 additions & 0 deletions lib/dbi/dbi.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,15 @@
#ifdef WITH_MONGOC
#include "mongo/mongo-private.h"
#endif
#include "json/json-private.h"

int __ogs_dbi_domain;

static ogs_dbi_t *dbi_interfaces[] = {
#ifdef WITH_MONGOC
&ogs_dbi_mongo_interface,
#endif
&ogs_dbi_json_interface,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so how is one or the other selected for use? I don't recall seeing any explanation anywhere.

NULL,
};

Expand Down
Loading