|
libmongo-client 0.1.4
|
#include <libmongo-private.h>
Data Fields | |
| gint32 | chunk_size |
| Maximum chunk size for this file. | |
| gint64 | length |
| Total length of the file. | |
| union { | |
| struct { | |
| const guint8 * oid | |
| The file's ObjectID. | |
| const gchar * md5 | |
| MD5 sum of the file. | |
| gint64 date | |
| The upload date. | |
| bson * metadata | |
| Full file metadata, including user-set keys. | |
| } | |
| struct { | |
| gint64 offset | |
| Offset we're into the file. | |
| gint64 current_chunk | |
| The current chunk we're on. | |
| guint8 * id | |
| A copy of the file's ObjectID. | |
| } | |
| }; | |
| _mongo_gridfs_type | type |
| The type of the GridFS file. | |
GridFS common file properties.
This is shared between chunked and streamed files.
Definition at line 125 of file libmongo-private.h.
Maximum chunk size for this file.
Definition at line 127 of file libmongo-private.h.
The current chunk we're on.
Definition at line 146 of file libmongo-private.h.
The upload date.
Definition at line 137 of file libmongo-private.h.
A copy of the file's ObjectID.
Definition at line 147 of file libmongo-private.h.
Total length of the file.
Definition at line 128 of file libmongo-private.h.
| const gchar* mongo_sync_gridfs_file_common::md5 |
MD5 sum of the file.
Definition at line 136 of file libmongo-private.h.
Full file metadata, including user-set keys.
Definition at line 138 of file libmongo-private.h.
Offset we're into the file.
Definition at line 145 of file libmongo-private.h.
| const guint8* mongo_sync_gridfs_file_common::oid |
The file's ObjectID.
Definition at line 135 of file libmongo-private.h.
The type of the GridFS file.
Definition at line 151 of file libmongo-private.h.
1.7.4