Skip to content

Commit 07e5475

Browse files
committed
PHPC-665: Remove private libmongoc and libbson header includes
1 parent baeb45e commit 07e5475

File tree

11 files changed

+0
-18
lines changed

11 files changed

+0
-18
lines changed

php_phongo.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@
2727
/* External libs */
2828
#include "bson.h"
2929
#include "mongoc.h"
30-
#include "mongoc-cursor-cursorid-private.h"
31-
#include "mongoc-bulk-operation-private.h"
32-
#include "mongoc-read-concern-private.h"
33-
#include "mongoc-write-concern-private.h"
3430
#include "mongoc-trace.h"
3531

3632

php_phongo.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
/* External libs */
2323
#include "bson.h"
2424
#include "mongoc.h"
25-
#include "mongoc-topology-description-private.h"
2625

2726
#define phpext_mongodb_ptr &mongodb_module_entry
2827
extern zend_module_entry mongodb_module_entry;

php_phongo_structs-5.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626

2727
/* PHP Core stuff */
2828
#include <php.h>
29-
#include <mongoc-bulk-operation-private.h>
3029

3130
/* Our stuffz */
3231
#include "php_bson.h"

php_phongo_structs-7.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626

2727
/* PHP Core stuff */
2828
#include <php.h>
29-
#include <mongoc-bulk-operation-private.h>
3029

3130
/* Our stuffz */
3231
#include "php_bson.h"

src/MongoDB/BulkWrite.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@
2828
#include <bson.h>
2929
#include <mongoc.h>
3030

31-
/* We need to access the internal bulk structure to access the bulk op count */
32-
#include <mongoc-bulk-operation-private.h>
33-
3431
/* PHP Core stuff */
3532
#include <php.h>
3633
#include <php_ini.h>

src/MongoDB/Cursor.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727
/* External libs */
2828
#include <bson.h>
2929
#include <mongoc.h>
30-
#include <mongoc-cursor-private.h>
31-
#include <mongoc-bulk-operation-private.h>
3230

3331
/* PHP Core stuff */
3432
#include <php.h>

src/MongoDB/Manager.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727
/* External libs */
2828
#include <bson.h>
2929
#include <mongoc.h>
30-
#include <mongoc-client-private.h>
31-
#include <mongoc-host-list-private.h>
3230

3331
/* PHP Core stuff */
3432
#include <php.h>

src/MongoDB/ReadConcern.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
/* External libs */
2828
#include <bson.h>
2929
#include <mongoc.h>
30-
#include <mongoc-read-concern-private.h>
3130

3231
/* PHP Core stuff */
3332
#include <php.h>

src/MongoDB/Server.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
/* External libs */
2828
#include <bson.h>
2929
#include <mongoc.h>
30-
#include <mongoc-client-private.h>
3130

3231
/* PHP Core stuff */
3332
#include <php.h>

src/MongoDB/WriteConcern.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
/* External libs */
2828
#include <bson.h>
2929
#include <mongoc.h>
30-
#include <mongoc-write-concern-private.h>
3130

3231
/* PHP Core stuff */
3332
#include <php.h>

src/MongoDB/WriteResult.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
/* External libs */
2828
#include <bson.h>
2929
#include <mongoc.h>
30-
#include <mongoc-write-concern-private.h>
3130

3231
/* PHP Core stuff */
3332
#include <php.h>

0 commit comments

Comments
 (0)