|
libmongo-client
0.1.8
|
#include <libmongo-private.h>
Data Fields | |
| gint32 | chunk_size |
| Maximum chunk size for this file. More... | |
| gint64 | length |
| Total length of the file. More... | |
| union { | |
| struct { | |
| const guint8 * oid | |
| The file's ObjectID. More... | |
| const gchar * md5 | |
| MD5 sum of the file. More... | |
| gint64 date | |
| The upload date. More... | |
| bson * metadata | |
| Full file metadata, including user-set keys. More... | |
| } | |
| Chunked file data. More... | |
| struct { | |
| gint64 offset | |
| Offset we're into the file. More... | |
| gint64 current_chunk | |
| The current chunk we're on. More... | |
| guint8 * id | |
| A copy of the file's ObjectID. More... | |
| } | |
| Streamed file data. | |
| }; | |
| _mongo_gridfs_type | type |
| The type of the GridFS file. More... | |
GridFS common file properties.
This is shared between chunked and streamed files.
| gint32 mongo_sync_gridfs_file_common::chunk_size |
Maximum chunk size for this file.
| gint64 mongo_sync_gridfs_file_common::current_chunk |
The current chunk we're on.
| gint64 mongo_sync_gridfs_file_common::date |
The upload date.
| guint8* mongo_sync_gridfs_file_common::id |
A copy of the file's ObjectID.
| gint64 mongo_sync_gridfs_file_common::length |
Total length of the file.
| const gchar* mongo_sync_gridfs_file_common::md5 |
MD5 sum of the file.
| bson* mongo_sync_gridfs_file_common::metadata |
Full file metadata, including user-set keys.
| gint64 mongo_sync_gridfs_file_common::offset |
Offset we're into the file.
| const guint8* mongo_sync_gridfs_file_common::oid |
The file's ObjectID.
| _mongo_gridfs_type mongo_sync_gridfs_file_common::type |
The type of the GridFS file.
1.8.9.1