|
libmongo-client 0.1.4
|
MongoDB GridFS Streaming API implementation. More...
#include "sync-gridfs-stream.h"#include "libmongo-private.h"#include <unistd.h>#include <errno.h>
Go to the source code of this file.
Functions | |
| mongo_sync_gridfs_stream * | mongo_sync_gridfs_stream_find (mongo_sync_gridfs *gfs, const bson *query) |
| Create a stream reader by finding the file matching a query. | |
| mongo_sync_gridfs_stream * | mongo_sync_gridfs_stream_new (mongo_sync_gridfs *gfs, const bson *metadata) |
| Create a new GridFS stream writer. | |
| gint64 | mongo_sync_gridfs_stream_read (mongo_sync_gridfs_stream *stream, guint8 *buffer, gint64 size) |
| Read an arbitrary number of bytes from a GridFS stream. | |
| gboolean | mongo_sync_gridfs_stream_write (mongo_sync_gridfs_stream *stream, const guint8 *buffer, gint64 size) |
| Write an arbitrary number of bytes to a GridFS stream. | |
| gboolean | mongo_sync_gridfs_stream_seek (mongo_sync_gridfs_stream *stream, gint64 pos, gint whence) |
| Seek to an arbitrary position in a GridFS stream. | |
| gboolean | mongo_sync_gridfs_stream_close (mongo_sync_gridfs_stream *stream) |
| Close a GridFS stream. | |
MongoDB GridFS Streaming API implementation.
Definition in file sync-gridfs-stream.c.
1.7.4