| CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Mon, 22 Dec 2025 13:10:07 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20100125185444
location: https://web.archive.org/web/20100125185444/https://github.com/mongodb/mongo-c-driver
server-timing: captures_list;dur=0.761482, exclusion.robots;dur=0.056254, exclusion.robots.policy;dur=0.044006, esindex;dur=0.010653, cdx.remote;dur=40.104738, LoadShardBlock;dur=217.808197, PetaboxLoader3.datanode;dur=106.614938, PetaboxLoader3.resolve;dur=57.030620
x-app-server: wwwb-app220-dc8
x-ts: 302
x-tr: 306
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app220; path=/
x-location: All
x-as: 14061
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: Mon, 22 Dec 2025 13:10:08 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.7.61
x-archive-orig-date: Mon, 25 Jan 2010 18:54:44 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "98262460379428ad9625226962ed2b29"
x-archive-orig-x-runtime: 89ms
x-archive-orig-content-length: 22653
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: Mon, 25 Jan 2010 18:54:44 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate"
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_13_20100125181948_crawl102-c/51_13_20100125185441_crawl101.arc.gz
server-timing: captures_list;dur=0.597522, exclusion.robots;dur=0.018144, exclusion.robots.policy;dur=0.008361, esindex;dur=0.011269, cdx.remote;dur=5.655282, LoadShardBlock;dur=185.270953, PetaboxLoader3.datanode;dur=135.907726, PetaboxLoader3.resolve;dur=168.928057, load_resource;dur=147.524243
x-app-server: wwwb-app220-dc8
x-ts: 200
x-tr: 427
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-as: 14061
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
-
Branches (1)
- master ✓
- Tags (1)
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
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Tue Nov 17 20:43:54 -0800 2009 | Start of benchmark script [RedBeard0531] |
| |
README | Mon Dec 21 14:14:18 -0800 2009 | Replica Pair support CDRIVER-4 [RedBeard0531] |
| |
SConstruct | Mon Dec 21 14:14:18 -0800 2009 | Replica Pair support CDRIVER-4 [RedBeard0531] |
| |
src/ | Mon Dec 21 14:14:18 -0800 2009 | Replica Pair support CDRIVER-4 [RedBeard0531] |
| |
test/ | Mon Dec 21 14:14:18 -0800 2009 | Replica Pair support CDRIVER-4 [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)
