libmongo-client 0.1.4
Functions
src/sync-gridfs-stream.h File Reference

MongoDB GridFS Streaming API. More...

#include <sync-gridfs.h>
#include <glib.h>
Include dependency graph for sync-gridfs-stream.h:
This graph shows which files directly or indirectly include this file:

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.

Detailed Description

MongoDB GridFS Streaming API.

Definition in file sync-gridfs-stream.h.

 All Data Structures Files Functions Variables Enumerations Enumerator Defines