rpm
5.4.15
|
#include <bson.h>
Go to the source code of this file.
Data Structures | |
struct | mongo_header |
struct | mongo_message |
struct | mongo_reply_fields |
struct | mongo_reply |
struct | mongo_host_port |
struct | mongo_write_concern |
struct | mongo_replica_set |
struct | mongo |
struct | mongo_cursor |
Macros | |
#define | MONGO_MAJOR 0 |
#define | MONGO_MINOR 7 |
#define | MONGO_PATCH 0 |
#define | MONGO_OK 0 |
#define | MONGO_ERROR -1 |
#define | MONGO_DEFAULT_PORT 27017 |
#define | MONGO_DEFAULT_MAX_BSON_SIZE 4 * 1024 * 1024 |
#define | MONGO_ERR_LEN 128 |
#define | MAXHOSTNAMELEN 256 |
#define | rpmmgoUnlink(_mgo) ((rpmmgo)rpmioUnlinkPoolItem((rpmioItem)(_mgo), __FUNCTION__, __FILE__, __LINE__)) |
#define | rpmmgoLink(_mgo) ((rpmmgo)rpmioLinkPoolItem((rpmioItem)(_mgo), __FUNCTION__, __FILE__, __LINE__)) |
#define | rpmmgoFree(_mgo) ((rpmmgo)rpmioFreePoolItem((rpmioItem)(_mgo), __FUNCTION__, __FILE__, __LINE__)) |
Typedefs | |
typedef struct rpmmgo_s * | rpmmgo |
typedef size_t | SOCKET |
typedef enum mongo_error_t | mongo_error_t |
typedef enum mongo_cursor_error_t | mongo_cursor_error_t |
typedef struct mongo_host_port | mongo_host_port |
typedef struct mongo_write_concern | mongo_write_concern |
typedef struct mongo | mongo |
Functions | |
__declspec (dllimport) void mongo_init_sockets(void) | |
Initialize sockets for Windows. More... | |
void | mongo_parse_host (const char *host_string, mongo_host_port *host_port) |
Utility function for converting a host-port string to a mongo_host_port. More... | |
rpmmgo | rpmmgoUnlink (rpmmgo mgo) |
Unreference a mongo wrapper instance. More... | |
rpmmgo | rpmmgoLink (rpmmgo mgo) |
Reference a mongo wrapper instance. More... | |
rpmmgo | rpmmgoFree (rpmmgo mgo) |
Destroy a mongo wrapper. More... | |
rpmmgo | rpmmgoNew (const char *fn, int flags) |
Create and load a mongo wrapper. More... | |
Variables | |
int | _rpmmgo_debug |
rpmmgo | _rpmmgoI |
const char * | host |
const char int | port |
const char * | name |
const char * | ns |
int | millis |
mongo_write_concern * | write_concern |
int | w |
int | wtimeout |
int | j |
int | fsync |
const char * | mode |
const char const bson * | data |
const char const bson mongo_write_concern * | custom_write_concern |
const char const bson int | num |
const char const bson int mongo_write_concern int | flags |
const char const bson * | cond |
const char const bson const bson * | op |
const char const bson * | query |
const char const bson const bson * | fields |
const char const bson const bson int | limit |
const char const bson const bson int int | skip |
const char const bson const bson int int int | options |
mongo * | conn |
const char const bson const bson bson * | out |
const char * | db |
const char const char * | coll |
const char const bson * | key |
const char const char * | field |
const char const char * | collection |
const char const char int | size |
const char const char int int | max |
const char const bson * | command |
const char const char * | cmd |
const char const char int | arg |
const char const char * | user |
const char const char const char * | pass |
int | i |
mongo_error_t | err |
mongo_error_t const char * | errstr |
mongo_error_t const char int | errorcode |
#define MAXHOSTNAMELEN 256 |
Definition at line 63 of file mongo.h.
Referenced by main(), mongo_client(), mongo_replica_set_add_node(), and mongo_replica_set_client().
#define MONGO_DEFAULT_MAX_BSON_SIZE 4 * 1024 * 1024 |
Definition at line 58 of file mongo.h.
Referenced by mongo_check_is_master(), mongo_init(), and mongo_replica_set_check_host().
#define MONGO_DEFAULT_PORT 27017 |
Definition at line 56 of file mongo.h.
Referenced by mongo_parse_host().
#define MONGO_ERR_LEN 128 |
Definition at line 60 of file mongo.h.
Referenced by __mongo_set_error(), and mongo_set_last_error().
#define MONGO_ERROR -1 |
Definition at line 54 of file mongo.h.
Referenced by gridfile_init(), gridfile_load_pending_data_with_pos_chunk(), gridfs_find_query(), gridfs_init(), gridfs_remove_filename(), gridfs_store_buffer(), gridfs_store_file(), mongo_bson_valid(), mongo_check_connection(), mongo_check_is_master(), mongo_check_last_error(), mongo_choose_write_concern(), mongo_client(), mongo_cmd_authenticate(), mongo_cmd_get_error_helper(), mongo_count(), mongo_create_index(), mongo_cursor_bson_valid(), mongo_cursor_destroy(), mongo_cursor_get_more(), mongo_cursor_next(), mongo_cursor_op_query(), mongo_env_read_socket(), mongo_env_set_socket_op_timeout(), mongo_env_socket_connect(), mongo_env_unix_socket_connect(), mongo_env_write_socket(), mongo_insert(), mongo_insert_batch(), mongo_message_send_and_check_write_concern(), mongo_pass_digest(), mongo_remove(), mongo_replica_set_check_host(), mongo_replica_set_client(), mongo_run_command(), mongo_update(), mongo_validate_ns(), and mongo_write_concern_finish().
#define MONGO_OK 0 |
Definition at line 53 of file mongo.h.
Referenced by gridfile_flush_pendingchunk(), gridfile_get_chunk(), gridfile_init(), gridfile_load_from_chunks(), gridfile_load_pending_data_with_pos_chunk(), gridfile_read_buffer(), gridfile_seek(), gridfile_truncate(), gridfile_write_buffer(), gridfile_writer_done(), gridfile_writer_init(), gridfs_find_query(), gridfs_init(), gridfs_insert_file(), gridfs_remove_filename(), gridfs_store_buffer(), gridfs_store_file(), mongo_bson_valid(), mongo_check_is_master(), mongo_check_last_error(), mongo_choose_write_concern(), mongo_client(), mongo_cmd_add_user(), mongo_cmd_authenticate(), mongo_cmd_get_error_helper(), mongo_cmd_ismaster(), mongo_count(), mongo_create_index(), mongo_cursor_bson_valid(), mongo_cursor_destroy(), mongo_cursor_get_more(), mongo_cursor_next(), mongo_cursor_op_query(), mongo_env_read_socket(), mongo_env_set_socket_op_timeout(), mongo_env_socket_connect(), mongo_env_unix_socket_connect(), mongo_env_write_socket(), mongo_find(), mongo_find_one(), mongo_insert(), mongo_insert_batch(), mongo_message_send(), mongo_pass_digest(), mongo_read_response(), mongo_remove(), mongo_replica_set_check_host(), mongo_replica_set_check_seed(), mongo_replica_set_client(), mongo_run_command(), mongo_set_op_timeout(), mongo_update(), mongo_validate_ns(), and mongo_write_concern_finish().
#define rpmmgoFree | ( | _mgo | ) | ((rpmmgo)rpmioFreePoolItem((rpmioItem)(_mgo), __FUNCTION__, __FILE__, __LINE__)) |
#define rpmmgoLink | ( | _mgo | ) | ((rpmmgo)rpmioLinkPoolItem((rpmioItem)(_mgo), __FUNCTION__, __FILE__, __LINE__)) |
#define rpmmgoUnlink | ( | _mgo | ) | ((rpmmgo)rpmioUnlinkPoolItem((rpmioItem)(_mgo), __FUNCTION__, __FILE__, __LINE__)) |
typedef enum mongo_cursor_error_t mongo_cursor_error_t |
typedef enum mongo_error_t mongo_error_t |
typedef struct mongo_host_port mongo_host_port |
typedef struct mongo_write_concern mongo_write_concern |
enum mongo_cursor_error_t |
enum mongo_cursor_flags |
enum mongo_cursor_opts |
enum mongo_error_t |
enum mongo_index_opts |
enum mongo_insert_opts |
enum mongo_operations |
enum mongo_update_opts |
__declspec | ( | dllimport | ) |
Initialize sockets for Windows.
Clear all errors stored on a mongo connection object.
Set an error on a mongo connection object.
Reset the error state for the connection.
Get the most recent error with the current connection.
Get the error for the last command with the current connection.
Check if the current server is a master.
Authenticate a user.
Add a database user.
Drop a collection.
Drop a database.
Run a command that accepts a simple string key and value.
Run a command that accepts a simple string key and integer value.
Run a command on a MongoDB server.
Create a capped collection.
Create an index with a single key.
Create a compound index.
Count the number of documents in a collection matching a query.
Find a single document in a MongoDB server.
Destroy a cursor object.
Iterate the cursor, returning the next item.
Return the current BSON object data as a const char*.
Set any of the available query options (e.g., MONGO_TAILABLE).
Set the number of documents to return.
Set the number of documents to skip.
Set the fields to return for this cursor.
Set the bson object specifying this cursor's query spec.
Initalize a new cursor object.
Find documents in a MongoDB server.
Free the write_concern object (specifically, the BSON that it owns).
Finish this write concern object by serializing the literal getlasterror command that will be sent to the server.
Initialize a mongo_write_concern object.
Remove a document from a MongoDB server.
Update a document in a MongoDB server.
Insert a batch of BSON documents into a MongoDB server.
Insert a BSON document into a MongoDB server.
The following functions set the attributes of the write_concern object.
The following functions get the attributes of the write_concern object.
Specify the write concern object that this connection should use by default for all writes (inserts, updates, and deletes).
Close any existing connection to the server and free all allocated memory associated with the conn object.
Close the current connection to the server.
Try reconnecting to the server using the existing connection settings.
Ensure that this connection is healthy by performing a round-trip to the server.
Set a timeout for operations on this connection.
DEPRECATED - use mongo_replica_set_client.
Connect to a replica set.
Utility function for validation database and collection names.
DEPRECATED - use mongo_replica_set_add_seed.
Add a seed node to the replica set connection object.
DEPRECATED - use mongo_replica_set_init.
Set up this connection object for connecting to a replica set.
DEPRECATED - use mongo_client.
Connect to a single MongoDB server.
Initialize a new mongo connection object.
You must initialize each mongo object using this function.
conn | a mongo connection object allocated on the stack or heap. |
conn | a mongo object. |
host | a numerical network address or a network hostname. |
port | the port to connect to. |
Connect to a single MongoDB server.
conn | a mongo object. |
host | a numerical network address or a network hostname. |
port | the port to connect to. |
To connect, pass the object to mongo_replica_set_client().
conn | a mongo object. |
name | the name of the replica set to connect to. |
Set up this connection object for connecting to a replica set. To connect, pass the object to mongo_replset_connect().
conn | a mongo object. |
name | the name of the replica set to connect to. |
You must specify at least one seed node before connecting to a replica set.
conn | a mongo object. |
host | a numerical network address or a network hostname. |
port | the port to connect to. |
Add a seed node to the replica set connection object.
You must specify at least one seed node before connecting to a replica set.
conn | a mongo object. |
host | a numerical network address or a network hostname. |
port | the port to connect to. |
conn | a mongo object. |
Before passing a connection object to this function, you must already have called mongo_set_replica_set and mongo_replica_set_add_seed.
conn | a mongo object. |
Connect to a replica set.
Before passing a connection object to this function, you must already have called mongo_set_replset and mongo_replset_add_seed.
conn | a mongo object. |
This is a platform-specific feature, and only work on *nix system. You must also compile for linux to support this.
conn | a mongo object. |
millis | timeout time in milliseconds. |
conn | a mongo connection |
This function will disconnect the current socket. If you've authenticated, you'll need to re-authenticate after calling this function.
conn | a mongo object. |
After calling this function, you may call mongo_reconnect with the same connection object.
conn | a mongo object. |
You must always call this function when finished with the connection object.
conn | a mongo object. |
This value can be overridden by passing a write_concern object to any write function.
conn | a mongo object. |
write_concern | pointer to a write concern object. |
This function will fail if the supplied BSON struct is not UTF-8 or if the keys are invalid for insert (contain '.' or start with '$').
The default write concern set on the conn object will be used.
conn | a mongo object. |
ns | the namespace. |
data | the bson data. |
custom_write_concern | a write concern object that will override any write concern set on the conn object. |
This function will fail if any of the documents to be inserted is invalid.
The default write concern set on the conn object will be used.
conn | a mongo object. |
ns | the namespace. |
data | the bson data. |
num | the number of documents in data. |
custom_write_concern | a write concern object that will override any write concern set on the conn object. |
flags | flags on this batch insert. Currently, this value may be 0 or MONGO_CONTINUE_ON_ERROR, which will cause the batch insert to continue even if a given insert in the batch fails. |
The default write concern set on the conn object will be used.
conn | a mongo object. |
ns | the namespace. |
cond | the bson update query. |
op | the bson update data. |
flags | flags for the update. |
custom_write_concern | a write concern object that will override any write concern set on the conn object. |
The default write concern set on the conn object will be used.
conn | a mongo object. |
ns | the namespace. |
cond | the bson query. |
custom_write_concern | a write concern object that will override any write concern set on the conn object. |
Effectively zeroes out the struct.
You must call mongo_write_concern_destroy() to free the serialized BSON.
conn | a mongo object. |
ns | the namespace. |
query | the bson query. |
fields | a bson document of fields to be returned. |
limit | the maximum number of documents to return. |
skip | the number of documents to skip. |
options | A bitfield containing cursor options. |
cursor | |
ns | the namespace, represented as the the database name and collection name separated by a dot. e.g., "test.users" |
If your query is the empty bson object "{}", then you need not set this value.
cursor | |
query | a bson object representing the query spec. This may be either a simple query spec or a complex spec storing values for $query, $orderby, $hint, and/or $explain. See http://www.mongodb.org/display/DOCS/Mongo+Wire+Protocol for details. |
If you want to return all fields, you need not set this value.
cursor | |
fields | a bson object representing the fields to return. See http://www.mongodb.org/display/DOCS/Retrieving+a+Subset+of+Fields. |
cursor | |
skip | |
cursor | |
limit | |
cursor | |
options | a bitfield storing query options. See mongo_cursor_bitfield_t for available constants. |
This is useful for creating bson iterators with bson_iterator_init.
cursor | When successful, the returned object will be stored in cursor->current; |
cursor |
When finished with a cursor, you must pass it to this function.
cursor | the cursor to destroy. |
conn | a mongo object. |
ns | the namespace. |
query | the bson query. |
fields | a bson document of the fields to be returned. |
out | a bson document in which to put the query result. |
conn | a mongo object. |
db | the db name. |
coll | the collection name. |
query | the BSON query. |
conn | a mongo object. |
ns | the namespace. |
key | the bson index key. |
name | the optional name, use NULL to generate a default name. |
options | a bitfield for setting index options. Possibilities include MONGO_INDEX_UNIQUE, MONGO_INDEX_DROP_DUPS, MONGO_INDEX_BACKGROUND, and MONGO_INDEX_SPARSE. |
out | a bson document containing errors, if any. |
conn | a mongo object. |
ns | the namespace. |
field | the index key. |
options | index options. |
out | a BSON document containing errors, if any. |
conn | a mongo object. |
ns | the namespace (e.g., "dbname.collectioname") |
size | the size of the capped collection in bytes. |
max | the max number of documents this collection is allowed to contain. If zero, this argument will be ignored and the server will use the collection's size to age document out. If using this option, ensure that the total size can contain this number of documents. |
conn | a mongo object. |
db | the name of the database. |
command | the BSON command to run. |
out | the BSON result of the command. |
conn | a mongo object. |
db | the name of the database. |
cmd | the command to run. |
arg | the integer argument to the command. |
out | the BSON result of the command. |
conn | a mongo object. |
db | the name of the database. |
cmd | the command to run. |
arg | the string argument to the command. |
out | the BSON result of the command. |
conn | a mongo object. |
db | the name of the database to drop. |
conn | a mongo object. |
db | the name of the database. |
collection | the name of the collection to drop. |
out | a BSON document containing the result of the command. |
conn | a mongo object. |
db | the database in which to add the user. |
user | the user name |
pass | the user password |
conn | a mongo object. |
db | the database to authenticate against. |
user | the user name to authenticate. |
pass | the user's password. |
conn | a mongo object. |
out | a BSON result of the command. |
conn | a mongo object. |
db | the name of the database. |
out | a BSON object containing the error details. |
conn | a mongo object. |
db | the name of the database. |
Mostly for internal use.
conn | a mongo connection object. |
err | a driver error code of mongo_error_t. |
errstr | a string version of the error. |
errorcode | Currently errno or WSAGetLastError(). |
conn | a mongo connection object. |
void mongo_parse_host | ( | const char * | host_string, |
mongo_host_port * | host_port | ||
) |
Utility function for converting a host-port string to a mongo_host_port.
host_string | a string containing either a host or a host and port separated by a colon. |
host_port | the mongo_host_port object to write the result to. |
Definition at line 2253 of file mongo.c.
References mongo_host_port::host, len, MONGO_DEFAULT_PORT, and mongo_host_port::port.
Referenced by mongo_replica_set_check_seed().
Destroy a mongo wrapper.
mgo | mongo wrapper |
Referenced by rpmioClean().
Reference a mongo wrapper instance.
mgo | mongo wrapper |
Referenced by rpmmgoNew().
rpmmgo rpmmgoNew | ( | const char * | fn, |
int | flags | ||
) |
Create and load a mongo wrapper.
fn | mongo file |
flags | mongo flags |
Definition at line 3576 of file mongo.c.
References rpmmgoGetPool(), rpmmgoLink(), and xstrdup().
Unreference a mongo wrapper instance.
mgo | mongo wrapper |
int _rpmmgo_debug |
Definition at line 42 of file mongo.c.
Referenced by rpmmgoGetPool().
rpmmgo _rpmmgoI |
Definition at line 45 of file mongo.c.
Referenced by rpmioClean().
const char const char const char * arg |
Definition at line 777 of file mongo.h.
Referenced by doSetupMacro(), initGlobs(), main(), parseDescription(), parseFiles(), parseScript(), queryArgCallback(), rpmcliAllArgCallback(), rpmErase(), rpmgiGlobArgv(), rpmgitNew(), rpmgitPopt(), rpmQueryVerify(), rpmzArgCallback(), and rpnFormat().
const char const char * cmd |
Definition at line 777 of file mongo.h.
Referenced by ftpReq(), getOutputFrom(), makeGPGSignature(), mongo_cmd_authenticate(), mongo_count(), mongo_simple_int_command(), mongo_simple_str_command(), open_dso(), rpmCheckPassPhrase(), rpmgitRun(), rpmlioPostin(), rpmlioPostun(), rpmlioPrein(), rpmlioPreun(), rpmlock_acquire(), rpmsmRun(), sql_stat(), and ufdOpen().
const char const bson* command |
Definition at line 762 of file mongo.h.
Referenced by gridfile_get_chunks(), gridfs_insert_file(), mongo_write_concern_finish(), and rpmgitCmdInit().
mongo* conn |
Definition at line 579 of file mongo.h.
Referenced by mongo_cursor_destroy(), and mongo_cursor_init().
const char const bson mongo_write_concern * custom_write_concern |
Definition at line 463 of file mongo.h.
Referenced by mongo_choose_write_concern().
const char const bson ** data |
Definition at line 463 of file mongo.h.
Referenced by __crc32(), __crc64(), bson_init_finished_data(), bson_init_size(), bson_init_unfinished_data(), cacheContainsDirectory(), ftpAbort(), gridfile_write_buffer(), headerAddEntry(), headerRemoveEntry(), htAddEntry(), loadDBT(), mongo_cursor_destroy(), mongo_cursor_get_more(), mongo_cursor_op_query(), mongo_insert(), mongo_insert_batch(), mongo_remove(), mongo_replica_set_check_seed(), mongo_update(), open_dso(), rpmdsELF(), rpmgitCmdCommit(), rpmgitRead(), rpmhookTableAddItem(), rpmlogSetCallback(), rpmrepoDoRepoMetadata(), rpmShowProgress(), rpmtsCallback(), and unsatisfiedDepend().
const char * db |
Definition at line 697 of file mongo.h.
Referenced by _rpmvtLoadArgv(), odbcConnect(), rpmdbCheckTerminate(), rpmdbClose(), rpmdbGetPool(), rpmdbNew(), rpmdbOpenDatabase(), rpmpsmStage(), rpmsqlRun(), rpmtsRebuildDB(), rpmvtNew(), and tagLoadArgv().
mongo_error_t err |
Definition at line 922 of file mongo.h.
Referenced by __mongo_set_error(), fts_stat(), hdrSprintf(), rpmfd_Fopen(), rpmfd_init(), rpmgitCmdCommit(), rpmtpmErr(), and strdup_iconv_check().
mongo_error_t const char int errorcode |
mongo_error_t const char* errstr |
Definition at line 922 of file mongo.h.
Referenced by getFdErrstr(), parseForDev(), parseForSimple(), printNewSpecfile(), queryHeader(), rpmfiNew(), rpmhdr_sprintf(), and rpmtsSolve().
const char const char* field |
Definition at line 734 of file mongo.h.
Referenced by cpioHeaderWrite(), handlePreambleTag(), and parseNoSource().
Definition at line 569 of file mongo.h.
Referenced by mongo_cursor_set_fields(), and mongo_read_response().
Definition at line 485 of file mongo.h.
Referenced by __fdOpen(), addReqProv(), cvtfmode(), doPatch(), fdSetOpen(), Fopen(), genCpioListAndHeader(), getFilesystemList(), glob(), gridfile_set_flags(), gridfile_writer_init(), hdr_dsFromHeader(), hdr_fiFromHeader(), headerMap(), main(), mongo_env_write_socket(), odbcNew(), orgrpmAddRelation(), rdSignature(), rpmaugNew(), rpmbagNew(), rpmcudfNew(), rpmDigestInit(), rpmds_init(), rpmds_new(), rpmdsCpuinfoCtagFlags(), rpmfcELF(), rpmfi_init(), rpmfi_new(), rpmgiSetArgs(), rpmgitNew(), rpmhdr_ds(), rpmhdr_fi(), rpmioNewPool(), rpmjsNew(), rpmReadHeader(), rpmShowProgress(), rpmsqlNew(), rpmsxNew(), rpmxarNew(), spec_build(), triggertypeTag(), and unsatisfiedDepend().
int fsync |
Definition at line 439 of file mongo.h.
Referenced by extractRegular(), mongo_write_concern_set_fsync(), and writeFile().
const char * host |
int j |
Definition at line 438 of file mongo.h.
Referenced by __crc32(), __crc64(), _orgrpmtsOrder(), _rpmtsOrder(), checkHardLinks(), detectSCCs(), dnlInitIterator(), doFoo(), fsmStage(), ftpReq(), getMachineInfo(), handleOverlappedFiles(), headerLoad(), iosmStage(), main(), mireSkip(), mireStudy(), mongo_write_concern_set_j(), packagedDir(), parse_options(), pgpPrtComment(), pkgUnpackagedSubdirs(), printNewSpecfile(), relocateFileList(), removeSillyDeps(), rpmalAllFileSatisfiesDepend(), rpmdsMerge(), rpmfcApply(), rpmfiFNlink(), rpmfiNew(), rpmfiNextD(), rpmfiOpendir(), rpmfiSetDX(), rpmFreeRpmrc(), rpmGetFilesystemUsage(), rpmGlob(), rpmmiInit(), rpmpsPrint(), rpmReadPackageManifest(), rpmsmList(), rpmtsCheckInstalledFiles(), rpmtsSkipFiles(), runTriggersLoop(), saveHardLink(), showQueryPackage(), singleSprintf(), tagSwab(), triggercondsTag(), triggertypeTag(), and uniqv().
const char const bson* key |
Definition at line 717 of file mongo.h.
Referenced by _orgrpmtsOrder(), _RequestPass(), _rpmtsOrder(), addRelation(), addTE(), alKey2Num(), alNum2Key(), findEntry(), hashFunctionString(), htAddEntry(), nwlookupTag(), orgrpmAddRelation(), rebuildCompatTables(), rpmal_Add(), rpmalAdd(), rpmdb_Match(), rpmdsProblem(), rpmkuFindPubkey(), rpmkuPassPhrase(), rpmps_Append(), rpmps_push(), rpmpsAppend(), rpmts_AddInstall(), rpmts_Check(), rpmts_Match(), unsatisfiedDepend(), and wnlookupTag().
int limit |
Definition at line 569 of file mongo.h.
Referenced by mongo_cursor_get_more(), mongo_cursor_set_limit(), rpmgitCmdInit(), and rpmioNewPool().
const char const char int int max |
Definition at line 749 of file mongo.h.
Referenced by fts_maxarglen(), and parse_options().
const char* mode |
Definition at line 440 of file mongo.h.
Referenced by compare(), dbiFindMatches(), doFoo(), extractRegular(), fdSetOpen(), fsmStage(), io_copy_attrs(), message_filters(), mireNew(), mireSetCOptions(), mongo_write_concern_set_mode(), rpmfcClassify(), rpmfd_Fopen(), rpmfd_init(), rpmReadConfigFiles(), rpmReSign(), and rpmvfVerify().
const char * ns |
Definition at line 326 of file mongo.h.
Referenced by armorFormat(), base64Format(), db3Acallback(), dbiFindMatches(), dbiMireKeys(), digestFormat(), fpLookupSubdir(), loadDBT(), mongo_cmd_add_user(), mongo_run_command(), mongo_validate_ns(), odbcDumpColAttrs(), odbcDumpEnvAttr(), odbcDumpInfo(), odbcDumpStmt(), odbcGetCursorName(), odbcPrint(), rpmbcExportPubkey(), rpmdsNewN(), rpmgitAddFile(), rpmiobAppend(), rpmjsRun(), rpmnsProbeSignature(), rpmsquirrelRun(), rpmtsFindBaseNamesInDB(), and str2uuid().
const char const bson int num |
Definition at line 485 of file mongo.h.
Referenced by addSource(), alKey2Num(), alNum2Key(), doSetupMacro(), getSource(), handlePreambleTag(), parseNoSource(), parsePreamble(), and strntoul().
Definition at line 505 of file mongo.h.
Referenced by debevrfmtTag(), doAddSubtract(), doLogical(), doMultiplyDivide(), doRelational(), doScript(), fdstat_op(), fdstat_print(), fmtDBCflags(), hBlobDigest(), headerGetStats(), mongo_message_create(), rpmps_ass_sub(), rpmReadPackageFile(), rpmrepoRfileDigest(), rpmtsOp(), rpmtsProcess(), runScript(), verifyDSA(), verifyECDSA(), verifyMD5(), verifyRSA(), and verifySHA1().
const char const char int options |
Definition at line 569 of file mongo.h.
Referenced by coder_add_filter(), Fts_open(), mireSetCOptions(), mongo_cursor_set_options(), options_delta(), options_lzma(), options_subblock(), rpmfts_init(), rpmfts_initialize(), rpmfts_Open(), rpmgitCmdInit(), set_delta(), set_lzma(), and set_subblock().
const char bson * out |
Definition at line 678 of file mongo.h.
Referenced by addChangelog(), bson_big_endian32(), bson_big_endian64(), bson_iterator_double_raw(), bson_iterator_int_raw(), bson_iterator_long_raw(), bson_little_endian32(), bson_little_endian64(), gridfs_find_query(), mongo_check_is_master(), mongo_cmd_get_error_helper(), mongo_cmd_ismaster(), mongo_count(), mongo_read_response(), mongo_replica_set_check_host(), mongo_replica_set_check_seed(), rpmsqExecve(), rpmsqFork(), runScript(), and Symlink().
const char int port |
Definition at line 251 of file mongo.h.
Referenced by ftpLogin(), ftpReq(), httpReq(), mongo_client(), mongo_replica_set_add_node(), and urlFind().
const char const char const bson * query |
Definition at line 569 of file mongo.h.
Referenced by gridfile_get_chunk(), gridfile_get_chunks(), gridfs_find_filename(), gridfs_remove_filename(), mongo_cursor_set_query(), and rpmrepoDoPkgMetadata().
int skip |
Definition at line 569 of file mongo.h.
Referenced by compare(), and mongo_cursor_set_skip().
const char const char * user |
Definition at line 828 of file mongo.h.
Referenced by ftpLogin(), rpmgitCmdInit(), rpmhkpValidate(), rpmvfVerify(), and urlFind().
int w |
Definition at line 436 of file mongo.h.
Referenced by decode_base62_golomb(), downsample_set(), and mongo_write_concern_set_w().
mongo_write_concern* write_concern |
Definition at line 419 of file mongo.h.
Referenced by mongo_insert(), mongo_insert_batch(), mongo_remove(), mongo_set_write_concern(), and mongo_update().
int wtimeout |
Definition at line 437 of file mongo.h.
Referenced by mongo_write_concern_set_wtimeout().