|
libmongo-client
0.1.8
|
Opaque GridFS file stream object type. More...
#include <libmongo-private.h>

Data Fields | |
| mongo_sync_gridfs_file_common | file |
| Common file data. More... | |
| mongo_sync_gridfs * | gfs |
| The GridFS the file is on. More... | |
| union { | |
| struct { | |
| bson * bson | |
| The current chunk as BSON. More... | |
| struct { | |
| const guint8 * data | |
| The current chunk data, pointing into ->reader.bson. More... | |
| gint32 start_offset | |
| Offset to start reading data from, needed to support the binary subtype. More... | |
| gint32 size | |
| Size of the current chunk. More... | |
| gint32 offset | |
| Offset we're into the chunk. More... | |
| } chunk | |
| Chunk state information. | |
| } reader | |
| Reader-specific data. | |
| struct { | |
| bson * metadata | |
| Copy of the user-supplied metadata. More... | |
| guint8 * buffer | |
| The current output buffer. More... | |
| gint32 buffer_offset | |
| Offset into the output buffer. More... | |
| GChecksum * checksum | |
| The running checksum of the output file. More... | |
| } writer | |
| Writer-specific data. | |
| }; | |
| Reader & Writer structure union. | |
Opaque GridFS file stream object type.
GridFS file stream object.
| bson* mongo_sync_gridfs_stream::bson |
The current chunk as BSON.
| guint8* mongo_sync_gridfs_stream::buffer |
The current output buffer.
| gint32 mongo_sync_gridfs_stream::buffer_offset |
Offset into the output buffer.
| GChecksum* mongo_sync_gridfs_stream::checksum |
The running checksum of the output file.
| const guint8* mongo_sync_gridfs_stream::data |
The current chunk data, pointing into ->reader.bson.
| mongo_sync_gridfs_file_common mongo_sync_gridfs_stream::file |
Common file data.
| mongo_sync_gridfs* mongo_sync_gridfs_stream::gfs |
The GridFS the file is on.
| bson* mongo_sync_gridfs_stream::metadata |
Copy of the user-supplied metadata.
| gint32 mongo_sync_gridfs_stream::offset |
Offset we're into the chunk.
| gint32 mongo_sync_gridfs_stream::size |
Size of the current chunk.
| gint32 mongo_sync_gridfs_stream::start_offset |
Offset to start reading data from, needed to support the binary subtype.
1.8.9.1