- May 15, 2013
-
-
Christian Hergert authored
-
Christian Hergert authored
-
- May 11, 2013
-
-
Christian Hergert authored
-
Christian Hergert authored
This allows you to find a child document using the dot notation such as "a.b.c.0". The children can be documents or arrays.
-
Christian Hergert authored
-
- May 09, 2013
-
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-
- May 08, 2013
-
-
Christian Hergert authored
-
- May 07, 2013
-
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-
- May 04, 2013
-
-
Christian Hergert authored
-
- May 02, 2013
-
-
Christian Hergert authored
This includes data hiding via an opaque structure. This should help us maintain ABI compatibility a little better. This also reduces the difference between all the various uses of a bson_t into a single question. Is it an inline data or allocated data section.
-
- May 01, 2013
-
-
Christian Hergert authored
-
- Apr 26, 2013
-
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-
- Apr 25, 2013
-
-
Christian Hergert authored
-
Christian Hergert authored
We intend to be C89, so this is not going to work.
-
- Apr 24, 2013
-
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
bson_uint32_to_string() will allow for fast conversion if the string is in a known area. It does this by using a lookup table. Test case went from 2.69 seconds to 1.25.
-
Christian Hergert authored
-
Christian Hergert authored
This structure is used for writing a series of bson documents to a buffer than can be realloc'd. Helpful for building packets.
-
Christian Hergert authored
-
- Apr 23, 2013
-
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-
- Apr 21, 2013
-
-
Christian Hergert authored
Add error type for tracking errors.
-
- Apr 20, 2013
-
-
Christian Hergert authored
-
- Apr 19, 2013
-
-
Christian Hergert authored
This makes it the same as bson_append_utf8() and BSON_TYPE_UTF8.
-
Christian Hergert authored
This allows you to iterate children documents or arrays on the stack using another bson_iter_t. bson_iter_t iter; bson_iter_t child; if (bson_iter_init_find(&iter, bson, "key")) { if (bson_iter_recurse(&iter, &child)) { /* do things with sub document. */ } } -
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
Counts the number of fields found in the BSON document.
-
Christian Hergert authored
This function locates a key within a BSON document using strcasecmp(). This means the find is case-insensitive.
-
- Apr 18, 2013
-
-
Christian Hergert authored
strndup() is not available everywhere, so implement our own simple version.
-
Christian Hergert authored
These are some useful routines for building strings. Especially when dealing with situations like host:port strings.
-