[dbi]: ogs_mongoc.h: remove include <mongoc.h>

To allow the include to work even when build without mongo installed.
No data types require mongoc.h to be in ogs_mongoc.h.
This commit is contained in:
Alexander Couzens 2022-08-22 21:33:16 +02:00
parent 53d75e74cb
commit c72f41fdd3
6 changed files with 10 additions and 2 deletions

View File

@ -17,6 +17,8 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include <mongoc.h>
#include "ogs-dbi.h"
int ogs_dbi_msisdn_data(

View File

@ -24,8 +24,6 @@
#ifndef OGS_MONGOC_H
#define OGS_MONGOC_H
#include <mongoc.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

View File

@ -17,6 +17,8 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include <mongoc.h>
#include "ogs-dbi.h"
int ogs_dbi_session_data(char *supi, ogs_s_nssai_t *s_nssai, char *dnn,

View File

@ -17,6 +17,8 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include <mongoc.h>
#include "ogs-dbi.h"
int ogs_dbi_auth_info(char *supi, ogs_dbi_auth_info_t *auth_info)

View File

@ -17,6 +17,8 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include <mongoc.h>
#include "test-config-private.h"
#include "test-common.h"

View File

@ -24,6 +24,8 @@
#ifndef TEST_COMMON_CONTEXT_H
#define TEST_COMMON_CONTEXT_H
#include <mongoc.h>
#ifdef __cplusplus
extern "C" {
#endif