CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Thu, 28 Aug 2025 09:38:02 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20100310162927
location: https://web.archive.org/web/20100310162927/https://github.com/mongodb/mongo-c-driver
server-timing: captures_list;dur=0.722859, exclusion.robots;dur=0.028644, exclusion.robots.policy;dur=0.012949, esindex;dur=0.014056, cdx.remote;dur=8.259580, LoadShardBlock;dur=230.626412, PetaboxLoader3.datanode;dur=77.806998, PetaboxLoader3.resolve;dur=37.594076
x-app-server: wwwb-app219
x-ts: 302
x-tr: 274
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app219; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Thu, 28 Aug 2025 09:38:03 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.7.61
x-archive-orig-date: Wed, 10 Mar 2010 16:29:27 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "1c508465778b5ce1222491b133ebc41c"
x-archive-orig-x-runtime: 81ms
x-archive-orig-content-length: 22953
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Wed, 10 Mar 2010 16:29:27 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Mon, 25 Jan 2010 18:54:44 GMT", ; rel="prev memento"; datetime="Sun, 31 Jan 2010 10:09:00 GMT", ; rel="memento"; datetime="Wed, 10 Mar 2010 16:29:27 GMT", ; rel="next memento"; datetime="Wed, 14 Apr 2010 00:21:07 GMT", ; rel="last memento"; datetime="Tue, 12 Aug 2025 05:02:00 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 51_14_20100310115552_crawl103-c/51_14_20100310162848_crawl101.arc.gz
server-timing: captures_list;dur=0.705607, exclusion.robots;dur=0.025216, exclusion.robots.policy;dur=0.009686, esindex;dur=0.017367, cdx.remote;dur=33.689909, LoadShardBlock;dur=394.025935, PetaboxLoader3.datanode;dur=393.799048, PetaboxLoader3.resolve;dur=302.627947, load_resource;dur=339.923739
x-app-server: wwwb-app219
x-ts: 200
x-tr: 848
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
mongodb's mongo-c-driver at master - GitHub
This service is courtesy of Pledgie.
mongodb / mongo-c-driver
- Source
- Commits
- Network (3)
- Graphs
-
Branch:
master
click here to add a description
click here to add a homepage
Sending Request…
Enable Donations
Pledgie Donations
Once activated, we'll place the following badge in your repository's detail box:
Simple C Driver for MongoDB — Read more

Richard Kreuter (author)
Tue Mar 02 06:31:36 -0800 2010
name | age | message | |
---|---|---|---|
![]() |
.gitignore | Tue Mar 02 06:25:28 -0800 2010 | Add support for building a shared library. [Richard Kreuter] |
![]() |
README | Mon Dec 21 14:14:18 -0800 2009 | Replica Pair support CDRIVER-4 [RedBeard0531] |
![]() |
SConstruct | Tue Mar 02 06:25:28 -0800 2010 | Add support for building a shared library. [Richard Kreuter] |
![]() |
src/ | Tue Mar 02 06:31:36 -0800 2010 | Just in case: don't include <unistd.h> on Windows. [Richard Kreuter] |
![]() |
test/ | Thu Feb 04 15:36:52 -0800 2010 | Make everything work on linux again [RedBeard0531] |
README
This is a very basic MongoDB c driver. This is an alpha release, please email mathias@10gen.com if you run into issues or have API suggestions. The goal is to be super strict for ultimate portability, no dependencies, and very embeddable anywhere. You will need JSON-C (https://oss.metaparadigm.com/json-c/) to compile the unit tests, but it is not required for the main libraries. Building with scons: scons # this will produce libbson.a and libmongoc.a scons --c99 # this will use c99 mode in gcc (recommended) scons test # this will compile and run the unit tests (optional) scons test --test-server=123.4.5.67 # use remote server for tests Building with gcc: gcc --std=c99 -Isrc src/*.c YOUR_APP.c # No -Ddefines are needed in c99 mode on little endien Building with MSVC: TODO #define options (you must use the same flags to compile all apps and libs): MONGO_BIG_ENDIAN This must be defined if on a big endian architecture one of these (defaults to unsigned char if neither is defined) MONGO_HAVE_BOOL Define this if your compiler has a plain 'bool' type MONGO_HAVE_STDBOOL Define this if you must include <stdbool.h> to get 'bool' one of these (required if not using c99): MONGO_HAVE_STDINT Define this if you have <stdint.h> for int64_t MONGO_HAVE_UNISTD Define this if you have <unistd.h> for int64_t MONGO_USE__INT64 Define this if '__int64' is your compiler's 64bit type (MSVC) MONGO_USE_LONG_LONG_INT Define this if 'long long int' is your compiler's 64bit type Error Handling: I'm using an exception system based on cexcept. If you would like to gracefully handle errors, take a look at src/mongo_except.h. It is currently only used for network failures, but more errors will be used in the future. TODO: building on windows more documentation checking for $err in query results query helper for sort and hint explain and profiler helpers GridFS safe-mode modifications (maybe) cached ensure_index (maybe)