File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -220,6 +220,7 @@ clientHeaders = [
220
220
'mongo/bson/bson.h' ,
221
221
'mongo/bson/bson_db.h' ,
222
222
'mongo/bson/bson_field.h' ,
223
+ 'mongo/bson/bson_validate.h' ,
223
224
'mongo/bson/bsonelement.h' ,
224
225
'mongo/bson/bsonmisc.h' ,
225
226
'mongo/bson/bsonobj.h' ,
Original file line number Diff line number Diff line change 69
69
70
70
#include "mongo/client/autolib.h"
71
71
72
+ #include "mongo/bson/bson_validate.h"
72
73
#include "mongo/bson/bsonelement.h"
73
74
#include "mongo/bson/bsonobj.h"
74
75
#include "mongo/bson/bsonobjbuilder.h"
Original file line number Diff line number Diff line change 20
20
#include " mongo/base/status.h"
21
21
#include " mongo/base/string_data.h"
22
22
#include " mongo/bson/bsontypes.h"
23
+ #include " mongo/client/export_macros.h"
23
24
#include " mongo/platform/cstdint.h"
24
25
25
26
namespace mongo {
@@ -29,7 +30,6 @@ namespace mongo {
29
30
* @param maxLength - maxLength of buffer
30
31
* this is NOT the bson size, but how far we know the buffer is valid
31
32
*/
32
- Status validateBSON ( const char * buf, uint64_t maxLength );
33
+ MONGO_CLIENT_API Status MONGO_CLIENT_FUNC validateBSON ( const char * buf, uint64_t maxLength );
33
34
34
35
}
35
-
You can’t perform that action at this time.
0 commit comments