_cmessagemodule.c File Reference

#include <Python.h>
#include "_cbson.h"
#include "buffer.h"
Include dependency graph for _cmessagemodule.c:

Go to the source code of this file.

Functions

static PyObject * _cbson_get_more_message (PyObject *self, PyObject *args)
static PyObject * _cbson_insert_message (PyObject *self, PyObject *args)
static PyObject * _cbson_query_message (PyObject *self, PyObject *args)
static PyObject * _cbson_update_message (PyObject *self, PyObject *args)
static PyObject * _error (char *name)
static int add_last_error (buffer_t buffer, int request_id, PyObject *args)
PyMODINIT_FUNC init_cmessage (void)

Variables

static PyMethodDef _CMessageMethods []

Function Documentation

static PyObject* _cbson_get_more_message ( PyObject *  self,
PyObject *  args 
) [static]

Definition at line 380 of file _cmessagemodule.c.

static PyObject* _cbson_insert_message ( PyObject *  self,
PyObject *  args 
) [static]

Definition at line 105 of file _cmessagemodule.c.

static PyObject* _cbson_query_message ( PyObject *  self,
PyObject *  args 
) [static]

Definition at line 297 of file _cmessagemodule.c.

static PyObject* _cbson_update_message ( PyObject *  self,
PyObject *  args 
) [static]

Definition at line 197 of file _cmessagemodule.c.

static PyObject* _error ( char *  name  )  [static]

Definition at line 31 of file _cmessagemodule.c.

static int add_last_error ( buffer_t  buffer,
int  request_id,
PyObject *  args 
) [static]

Definition at line 44 of file _cmessagemodule.c.

PyMODINIT_FUNC init_cmessage ( void   ) 

Definition at line 453 of file _cmessagemodule.c.


Variable Documentation

PyMethodDef _CMessageMethods[] [static]
Initial value:
 {
    {"_insert_message", _cbson_insert_message, METH_VARARGS,
     "create an insert message to be sent to MongoDB"},
    {"_update_message", _cbson_update_message, METH_VARARGS,
     "create an update message to be sent to MongoDB"},
    {"_query_message", _cbson_query_message, METH_VARARGS,
     "create a query message to be sent to MongoDB"},
    {"_get_more_message", _cbson_get_more_message, METH_VARARGS,
     "create a get more message to be sent to MongoDB"},
    {NULL, NULL, 0, NULL}
}

Definition at line 441 of file _cmessagemodule.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


pymongo
Author(s): Bhaskara Marthi
autogenerated on Fri Jan 11 10:09:03 2013