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 = [
220220 'mongo/bson/bson.h' ,
221221 'mongo/bson/bson_db.h' ,
222222 'mongo/bson/bson_field.h' ,
223+ 'mongo/bson/bson_validate.h' ,
223224 'mongo/bson/bsonelement.h' ,
224225 'mongo/bson/bsonmisc.h' ,
225226 'mongo/bson/bsonobj.h' ,
Original file line number Diff line number Diff line change 6969
7070#include "mongo/client/autolib.h"
7171
72+ #include "mongo/bson/bson_validate.h"
7273#include "mongo/bson/bsonelement.h"
7374#include "mongo/bson/bsonobj.h"
7475#include "mongo/bson/bsonobjbuilder.h"
Original file line number Diff line number Diff line change 2020#include " mongo/base/status.h"
2121#include " mongo/base/string_data.h"
2222#include " mongo/bson/bsontypes.h"
23+ #include " mongo/client/export_macros.h"
2324#include " mongo/platform/cstdint.h"
2425
2526namespace mongo {
@@ -29,7 +30,6 @@ namespace mongo {
2930 * @param maxLength - maxLength of buffer
3031 * this is NOT the bson size, but how far we know the buffer is valid
3132 */
32- Status validateBSON ( const char * buf, uint64_t maxLength );
33+ MONGO_CLIENT_API Status MONGO_CLIENT_FUNC validateBSON ( const char * buf, uint64_t maxLength );
3334
3435}
35-
You can’t perform that action at this time.
0 commit comments