rpm
5.4.15
|
BSON Declarations. More...
#include <stdint.h>
#include <stdio.h>
#include <time.h>
Go to the source code of this file.
Data Structures | |
struct | bson_iterator |
struct | bson |
union | bson_oid_t |
struct | bson_timestamp_t |
Macros | |
#define | MONGO_INLINE static |
#define | MONGO_EXPORT __declspec(dllimport) |
#define | MONGO_EXTERN_C_START |
#define | MONGO_EXTERN_C_END |
#define | BSON_OK 0 |
#define | BSON_ERROR -1 |
Typedefs | |
typedef int | bson_bool_t |
typedef int64_t | bson_date_t |
typedef void(* | bson_err_handler )(const char *errmsg) |
typedef int(* | bson_printf_func )(const char *,...) |
typedef int(* | bson_fprintf_func )(FILE *, const char *,...) |
typedef int(* | bson_sprintf_func )(char *, const char *,...) |
Enumerations | |
enum | bson_error_t { BSON_SIZE_OVERFLOW = (1 << 0), BSON_ALREADY_FINISHED = (1 << 4), BSON_NOT_IN_SUBOBJECT = (1 << 5), BSON_DOES_NOT_OWN_DATA = (1 << 6) } |
enum | bson_validity_t { BSON_VALID = 0, BSON_NOT_UTF8 = (1 << 1), BSON_FIELD_HAS_DOT = (1 << 2), BSON_FIELD_INIT_DOLLAR = (1 << 3) } |
enum | bson_binary_subtype_t { BSON_BIN_BINARY = 0, BSON_BIN_FUNC = 1, BSON_BIN_BINARY_OLD = 2, BSON_BIN_UUID = 3, BSON_BIN_MD5 = 5, BSON_BIN_USER = 128 } |
enum | bson_type { BSON_EOO = 0, BSON_DOUBLE = 1, BSON_STRING = 2, BSON_OBJECT = 3, BSON_ARRAY = 4, BSON_BINDATA = 5, BSON_UNDEFINED = 6, BSON_OID = 7, BSON_BOOL = 8, BSON_DATE = 9, BSON_NULL = 10, BSON_REGEX = 11, BSON_DBREF = 12, BSON_CODE = 13, BSON_SYMBOL = 14, BSON_CODEWSCOPE = 15, BSON_INT = 16, BSON_TIMESTAMP = 17, BSON_LONG = 18, BSON_MAXKEY = 127, BSON_MINKEY = 255 } |
Functions | |
void | bson_little_endian64 (void *outp, const void *inp) |
void | bson_little_endian32 (void *outp, const void *inp) |
void | bson_big_endian64 (void *outp, const void *inp) |
void | bson_big_endian32 (void *outp, const void *inp) |
__declspec (dllimport) void bson_init_zero(bson *b) | |
Zero a bson struct. More... | |
int | bson_init_finished_data (bson *b, char *data, bson_bool_t ownsData) |
Initialize a BSON object for reading and set its data pointer to the provided char*. More... | |
int | bson_init_finished_data_with_copy (bson *b, const char *data) |
Initialize a BSON object for reading and copy finalized BSON data from the provided char*. More... | |
double | bson_iterator_double_raw (const bson_iterator *i) |
Get the double value of the BSON object currently pointed to by the iterator. More... | |
int | bson_iterator_int_raw (const bson_iterator *i) |
Get the int value of the BSON object currently pointed to by the iterator. More... | |
int64_t | bson_iterator_long_raw (const bson_iterator *i) |
Get the long value of the BSON object currently pointed to by the iterator. More... | |
bson_bool_t | bson_iterator_bool_raw (const bson_iterator *i) |
Get the bson_bool_t value of the BSON object currently pointed to by the iterator. More... | |
int | bson_iterator_string_len (const bson_iterator *i) |
Get the string length of the BSON object currently pointed to by the iterator. More... | |
int | bson_init_size (bson *b, int size) |
Initialize a BSON object for building and allocate a data buffer of a given size. More... | |
int | bson_init_unfinished_data (bson *b, char *data, int dataSize, bson_bool_t ownsData) |
Initialize a BSON object for building, using the provided char* of the given size. More... | |
int | bson_ensure_space (bson *b, const size_t bytesNeeded) |
Grow a bson object. More... | |
void | bson_numstr (char *str, int i) |
void | bson_incnumstr (char *str) |
void * | bson_realloc (void *ptr, size_t size) |
Changes the size of allocated memory and checks return value, exiting fatally if realloc() fails. More... | |
void | bson_fatal (int ok) |
Exit fatally. More... | |
void | bson_fatal_msg (int ok, const char *msg) |
Exit fatally with an error message. More... | |
void | bson_builder_error (bson *b) |
Invoke the error handler, but do not exit. More... | |
Variables | |
int | depth |
const bson * | obj |
const bson const char * | name |
const bson * | b |
const char * | buffer |
bson * | scope |
bson bson_bool_t | copyData |
bson * | sub |
const char * | str |
const bson * | in |
const char const bson_oid_t * | oid |
const char const int | i |
const char const double | d |
const char const char size_t | len |
const char const char * | code |
const char const char size_t | size |
const char char | type |
const char const bson_bool_t | v |
const char const char * | pattern |
const char const char const char * | opts |
const char const bson * | bson |
const char * | name_or_null |
const char const bson_iterator * | elem |
const char bson_timestamp_t * | ts |
const char int | time |
const char int int | increment |
const char bson_date_t | millis |
const char time_t | secs |
void *(* | bson_malloc_func )(size_t) |
void *(* | bson_realloc_func )(void *, size_t) |
void(* | bson_free_func )(void *) |
bson_printf_func | bson_printf |
bson_fprintf_func | bson_fprintf |
bson_sprintf_func | bson_sprintf |
bson_printf_func | bson_errprintf |
const void * | inp |
BSON Declarations.
Definition in file bson.h.
#define BSON_ERROR -1 |
Definition at line 57 of file bson.h.
Referenced by _bson_append_grow_stack(), bson_append_estart(), bson_append_string_base(), bson_ensure_space(), bson_init_finished_data_with_copy(), bson_init_size(), and bson_validate_string().
#define BSON_OK 0 |
Definition at line 56 of file bson.h.
Referenced by _bson_append_grow_stack(), bson_append_estart(), bson_append_string_base(), bson_ensure_space(), bson_init_finished_data(), bson_init_finished_data_with_copy(), bson_init_size(), bson_init_unfinished_data(), and bson_validate_string().
#define MONGO_EXPORT __declspec(dllimport) |
typedef int bson_bool_t |
typedef int64_t bson_date_t |
enum bson_error_t |
enum bson_type |
enum bson_validity_t |
__declspec | ( | dllimport | ) |
Zero a bson struct.
Cast an int64_t to double.
Set a function for error handling.
Allocates memory and checks return value, exiting fatally if malloc() fails.
Finish appending a new object or array to a bson.
Start appending a new array to a bson.
Start appending a new object to a bson.
Append a time_t value to a bson.
Append a bson_date_t value to a bson.
Append a bson_timestamp_t value to a bson.
Append a BSON element to a bson from the current point of an iterator.
Append bson data to a bson.
Append a regex value to a bson.
Append a minkey value to a bson.
Append a maxkey value to a bson.
Append an undefined value to a bson.
Append a null value to a bson.
Append a bson_bool_t to a bson.
Append binary data to a bson.
Append len bytes of code to a bson with scope.
Append code to a bson with scope.
Append len bytes of code to a bson.
Append code to a bson.
Append len bytes of a symbol to a bson.
Append a symbol to a bson.
Append len bytes of a string to a bson.
Append a string to a bson.
Append an double to a bson.
Append an long to a bson.
Append an int to a bson.
Append a bson_oid_t to a bson.
Append a previously created bson_oid_t to a bson object.
Make a complete copy of the a BSON object.
Return a pointer to an empty, shared, static BSON object.
Initialize a BSON object to an emoty object with a shared, static data buffer.
Destroy a bson object and deallocate its data buffer.
Finalize a bson object.
Initialize a BSON object for building and allocate a data buffer.
Get the time a bson_oid_t was created.
Set a function to be used to generate the incrementing part of an object id (last four bytes).
Set a function to be used to generate the second four bytes of an object id.
Create a bson_oid object.
Create a string representation of the bson_oid_t.
Create a bson_oid_t from a string.
Get a bson_iterator that on the BSON subobject.
Get the BSON subobject currently pointed to by the iterator.
Get the options of the BSON regex object currently pointed to by the iterator.
Get the value of the BSON regex object currently pointed to by the iterator.
Get the value of the BSON binary object currently pointed to by the iterator.
Get the type of the BSON binary object currently pointed to by the iterator.
Get the length of the BSON binary object currently pointed to by the iterator.
Get the time value of the BSON object currently pointed to by the iterator.
Get the date value of the BSON object currently pointed to by the iterator.
Get the code scope value of the BSON object currently pointed to by the iterator.
Get the code value of the BSON object currently pointed to by the iterator.
Get the string value of the BSON object currently pointed to by the iterator.
Get the bson_oid_t value of the BSON object currently pointed to by the iterator.
Get the boolean value of the BSON object currently pointed to by the iterator.
Get the timestamp value of the BSON object currently pointed to by the iterator.
Get the long value of the BSON object currently pointed to by the iterator.
Get the int value of the BSON object currently pointed to by the iterator.
Get the double value of the BSON object currently pointed to by the iterator.
Get the value of the BSON object currently pointed to by the iterator.
Get the key of the BSON object currently pointed to by the iterator.
Get the type of the BSON object currently pointed to by the iterator.
Point the iterator at the next BSON object.
Check to see if the bson_iterator has more data.
Initialize a bson iterator from a const char* buffer.
Initialize a bson_iterator.
Advance a bson_iterator to the named field.
Returns true if bson_data(b) {b->data} is not null; else, false.
Return a pointer to the raw buffer stored by this bson object.
Print a string representation of a BSON object.
Minimum finished size of an unfinished BSON object given current contents.
Size of a BSON object.
Deallocate a BSON object.
Allocate memory for a new BSON object.
All fields are set to zero except the stack.
b | the BSON object to zero. |
b | the BSON object. |
b | the BSON object. |
b | the BSON object to print. |
b | a BSON object |
b | the bson struct to inspect. |
bson | the raw data to print. |
depth | the depth to recurse the object.x |
it | the bson_iterator to use. |
obj | the BSON object to use. |
name | the name of the field to find. |
i | the bson_iterator to initialize. |
bson | the BSON object to associate with the iterator. |
Note that this is mostly used internally.
i | the bson_iterator to initialize. |
buffer | the buffer to point to. |
i | the iterator. |
i | the bson_iterator. |
i | the bson_iterator |
i | the bson_iterator |
i | the bson_iterator |
Works with bson_code, bson_codewscope, and BSON_STRING returns NULL for everything else.
i | the bson_iterator |
Calls bson_init_empty on scope if current object is not BSON_CODEWSCOPE.
i | the bson_iterator. |
scope | an uninitialized BSON object to receive the scope. |
copyData | when true, makes a copy of the scope data which will remain valid when the iterator's data buffer is deallocated. |
i | the bson_iterator |
i | the bson_iterator |
i | the bson_iterator |
i | the bson_iterator |
i | the bson_iterator |
i | the bson_iterator |
i | the bson_iterator. |
i | the bson_iterator. |
sub | an unitialized BSON object which will become the new subobject. |
i | the bson_iterator. |
sub | the iterator to point at the BSON subobject. |
oid | the bson_oid_t destination. |
str | a null terminated string comprised of at least 24 hex chars. |
oid | the bson_oid_t source. |
str | the string representation destination. |
oid | the destination for the newly created bson_oid_t. |
func | a pointer to a function that returns an int. |
If you need thread-safety in generating object ids, you should set this function.
func | a pointer to a function that returns an int. |
oid | the bson_oid_t. |
b | the BSON object to initialize. |
b | the bson object to finalize. |
b | the bson object to destroy. |
obj | the BSON object to initialize. |
The source bson object must be in a finished state; otherwise, the copy will fail.
out | the copy destination BSON object. |
in | the copy source BSON object. |
b | the bson to append to. |
name | the key for the bson_oid_t. |
oid | the bson_oid_t to append. |
b | the bson to append to. |
name | the key for the bson_oid_t. |
b | the bson to append to. |
name | the key for the int. |
i | the int to append. |
b | the bson to append to. |
name | the key for the long. |
i | the long to append. |
b | the bson to append to. |
name | the key for the double. |
d | the double to append. |
b | the bson to append to. |
name | the key for the string. |
str | the string to append. |
b | the bson to append to. |
name | the key for the string. |
str | the string to append. |
len | the number of bytes from str to append. |
b | the bson to append to. |
name | the key for the symbol. |
str | the symbol to append. |
b | the bson to append to. |
name | the key for the symbol. |
str | the symbol to append. |
len | the number of bytes from str to append. |
b | the bson to append to. |
name | the key for the code. |
str | the code to append. |
len | the number of bytes from str to append. |
b | the bson to append to. |
name | the key for the code. |
str | the string to append. |
scope | a BSON object containing the scope. |
b | the bson to append to. |
name | the key for the code. |
str | the string to append. |
len | the number of bytes from str to append. |
scope | a BSON object containing the scope. |
b | the bson to append to. |
name | the key for the data. |
type | the binary data type. |
str | the binary data. |
len | the length of the data. |
b | the bson to append to. |
name | the key for the boolean value. |
v | the bson_bool_t to append. |
b | the bson to append to. |
name | the key for the null value. |
b | the bson to append to. |
name | the key for the undefined value. |
b | the bson to append to. |
name | the key for the maxkey value. |
b | the bson to append to. |
name | the key for the minkey value. |
b | the bson to append to. |
name | the key for the regex value. |
pattern | the regex pattern to append. |
the | regex options. |
b | the bson to append to. |
name | the key for the bson data. |
bson | the bson object to append. |
b | the bson to append to. |
name_or_null | the key for the BSON element, or NULL. |
elem | the bson_iterator. |
b | the bson to append to. |
name | the key for the timestampe value. |
ts | the bson_timestamp_t value to append. |
b | the bson to append to. |
name | the key for the date value. |
millis | the bson_date_t to append. |
b | the bson to append to. |
name | the key for the date value. |
secs | the time_t to append. |
b | the bson to append to. |
name | the name of the new object. |
b | the bson to append to. |
name | the name of the new array. |
b | the bson to append to. |
This is simply an alias for bson_append_finish_object.
b | the bson to append to. |
size | bytes to allocate. |
func | a bson_err_handler function. |
This is necessary for embedding in certain environments.
void bson_big_endian32 | ( | void * | outp, |
const void * | inp | ||
) |
Definition at line 92 of file bson.c.
References in, out, _dbswap::uc, and _dbswap::ui.
void bson_big_endian64 | ( | void * | outp, |
const void * | inp | ||
) |
Definition at line 71 of file bson.c.
References in, out, _dbswap::uc, and _dbswap::ui.
void bson_builder_error | ( | bson * | b | ) |
Invoke the error handler, but do not exit.
b | the buffer object. |
Invoke the error handler, but do not exit.
Calls the error handler if available.
Definition at line 1433 of file bson.c.
References err_handler.
Referenced by bson_append_estart().
int bson_ensure_space | ( | bson * | b, |
const size_t | bytesNeeded | ||
) |
Grow a bson object.
b | the bson to grow. |
bytesNeeded | the additional number of bytes needed. |
Definition at line 1020 of file bson.c.
References _bson_position(), BSON_DOES_NOT_OWN_DATA, BSON_ERROR, bson_fatal_msg(), BSON_OK, bson_realloc(), BSON_SIZE_OVERFLOW, bson::cur, bson::data, bson::dataSize, bson::err, and bson::ownsData.
Referenced by bson_append_estart().
void bson_fatal | ( | int | ok | ) |
Exit fatally.
ok | exits if ok is equal to 0. |
Definition at line 1438 of file bson.c.
References bson_fatal_msg().
void bson_fatal_msg | ( | int | ok, |
const char * | msg | ||
) |
Exit fatally with an error message.
ok | exits if ok is equal to 0. |
msg | prints to stderr before exiting. |
Definition at line 1442 of file bson.c.
References bson_errprintf, and err_handler.
Referenced by bson_ensure_space(), bson_fatal(), bson_realloc(), gridfile_fill_buf_from_chunk(), and mongo_cursor_op_query().
void bson_incnumstr | ( | char * | str | ) |
int bson_init_finished_data | ( | bson * | b, |
char * | data, | ||
bson_bool_t | ownsData | ||
) |
Initialize a BSON object for reading and set its data pointer to the provided char*.
b | the BSON object to initialize. |
data | the finalized raw BSON data. |
ownsData | when true, bson_destroy() will free the data block. |
Definition at line 408 of file bson.c.
References _bson_zero(), bson_finished_data_size(), BSON_OK, bson::data, data, bson::dataSize, bson::finished, and bson::ownsData.
Referenced by mongo_cursor_next(), and mongo_cursor_op_query().
int bson_init_finished_data_with_copy | ( | bson * | b, |
const char * | data | ||
) |
Initialize a BSON object for reading and copy finalized BSON data from the provided char*.
b | the BSON object to initialize. |
data | the finalized raw BSON data to copy. |
Definition at line 417 of file bson.c.
References BSON_ERROR, bson_finished_data_size(), bson_init_size(), BSON_OK, bson::data, and bson::finished.
int bson_init_size | ( | bson * | b, |
int | size | ||
) |
Initialize a BSON object for building and allocate a data buffer of a given size.
b | the BSON object to initialize. |
size | the initial size of the buffer. |
Definition at line 941 of file bson.c.
References _bson_zero(), BSON_ERROR, BSON_OK, bson::cur, bson::data, data, bson::dataSize, bson::ownsData, and size.
Referenced by bson_init_finished_data_with_copy(), and chunk_new().
int bson_init_unfinished_data | ( | bson * | b, |
char * | data, | ||
int | dataSize, | ||
bson_bool_t | ownsData | ||
) |
Initialize a BSON object for building, using the provided char* of the given size.
When ownsData is true, the BSON object may reallocate the data block as needed, and bson_destroy will free it.
See also bson_init_finished_data( )
b | the BSON object to initialize. |
data | the raw BSON data. |
dataSize | |
ownsData | when true, bson_ensure_space() may reallocate the block and bson_destroy() will free it |
Definition at line 955 of file bson.c.
References _bson_zero(), BSON_OK, bson::data, data, bson::dataSize, and bson::ownsData.
bson_bool_t bson_iterator_bool_raw | ( | const bson_iterator * | i | ) |
Get the bson_bool_t value of the BSON object currently pointed to by the iterator.
Assumes the correct type is used.
i | the bson_iterator |
double bson_iterator_double_raw | ( | const bson_iterator * | i | ) |
Get the double value of the BSON object currently pointed to by the iterator.
Assumes the correct type is used.
i | the bson_iterator |
Definition at line 744 of file bson.c.
References bson_little_endian64(), and out.
int bson_iterator_int_raw | ( | const bson_iterator * | i | ) |
Get the int value of the BSON object currently pointed to by the iterator.
Assumes the correct type is used.
i | the bson_iterator |
Definition at line 738 of file bson.c.
References bson_little_endian32(), and out.
Referenced by bson_iterator_string_len().
int64_t bson_iterator_long_raw | ( | const bson_iterator * | i | ) |
Get the long value of the BSON object currently pointed to by the iterator.
Assumes the correct type is used.
i | the bson_iterator |
Definition at line 750 of file bson.c.
References bson_little_endian64(), and out.
int bson_iterator_string_len | ( | const bson_iterator * | i | ) |
Get the string length of the BSON object currently pointed to by the iterator.
i | the bson_iterator |
Definition at line 853 of file bson.c.
References bson_iterator_int_raw().
Referenced by mongo_set_last_error().
void bson_little_endian32 | ( | void * | outp, |
const void * | inp | ||
) |
Definition at line 55 of file bson.c.
References in, out, _dbswap::uc, and _dbswap::ui.
Referenced by bson_append32(), bson_append32_as_int(), bson_finished_data_size(), bson_iterator_int_raw(), mongo_data_append32(), mongo_message_send(), and mongo_read_response().
void bson_little_endian64 | ( | void * | outp, |
const void * | inp | ||
) |
Definition at line 34 of file bson.c.
References in, out, _dbswap::uc, and _dbswap::ui.
Referenced by bson_append64(), bson_iterator_double_raw(), bson_iterator_long_raw(), mongo_data_append64(), and mongo_read_response().
void bson_numstr | ( | char * | str, |
int | i | ||
) |
Definition at line 1459 of file bson.c.
References bson_sprintf.
void* bson_realloc | ( | void * | ptr, |
size_t | size | ||
) |
Changes the size of allocated memory and checks return value, exiting fatally if realloc() fails.
ptr | pointer to the space to reallocate. |
size | bytes to allocate. |
Definition at line 1408 of file bson.c.
References bson_fatal_msg(), and bson_realloc_func.
Referenced by _bson_append_grow_stack(), and bson_ensure_space().
const bson* b |
Definition at line 280 of file bson.h.
Referenced by argvFgets(), chunk_new(), compareFileListRecs(), dbiMireKeys(), doDefine(), doFoo(), extractRegular(), findEntry(), fsmStage(), genCpioListAndHeader(), grabArgs(), gridfs_init(), gridfs_remove_filename(), hBlobDigest(), hdrNumCmp(), headerCheck(), htAddEntry(), htFini(), htGetEntry(), htGetKeys(), htHasEntry(), indexcmp(), intFormat(), labelCompare(), matchTok(), mongo_create_capped_collection(), mongo_create_index(), mongo_create_simple_index(), odbcDumpColAttrs(), odbcGetCursorName(), odbcPrint(), orderListIndexCmp(), pointRpmEVR(), PRCOSkip(), queryArgCallback(), rdLead(), rpm_mergesort(), rpmaugFprintf(), rpmdsCompare(), rpmEVRcmp(), rpmficlNew(), rpmfiNew(), rpmgitCmdCommit(), rpmgitCmdDiff(), rpmgitWrite(), rpmiobSlurp(), rpmioParse(), rpmmgFile(), rpmReadHeader(), rpmsquirrelRunFile(), rpmts_Check(), rpmVerifySignatures(), rpmwfPullXAR(), rpmwfPushRPM(), rpmwfPushXAR(), rpmxarPull(), rpmxarSwapBuf(), statFormat(), tagCmpName(), tagCmpValue(), tagSwab(), uint32Cmp(), uint64Cmp(), unsatisfiedDepend(), writeRPM(), and xarRead().
bson_printf_func bson_errprintf |
Definition at line 376 of file bson.c.
Referenced by bson_fatal_msg(), mongo_connect(), mongo_env_socket_connect(), mongo_replset_add_seed(), mongo_replset_connect(), and mongo_replset_init().
bson_fprintf_func bson_fprintf |
bson_printf_func bson_printf |
void*( * bson_realloc_func)(void *, size_t) |
Definition at line 365 of file bson.c.
Referenced by bson_realloc().
bson_sprintf_func bson_sprintf |
Definition at line 373 of file bson.c.
Referenced by _get_host_port(), bson_numstr(), mongo_env_socket_connect(), and mongo_validate_ns().
const char* buffer |
Definition at line 289 of file bson.h.
Referenced by compare(), compile_pattern(), compile_single_pattern(), grep_or_recurse(), gridfile_write_file(), gridfs_store_file(), mireLoadPatternFiles(), mtreeReadExcludes(), mtreeVisitF(), pcregrep(), rpmfiDecideFate(), rpmrepoReadHeader(), statFormat(), and strdup_iconv_check().
const char const char * code |
Definition at line 882 of file bson.h.
Referenced by rpmjsRunFile(), and vrpmlog().
bson bson_bool_t copyData |
const char const double d |
Definition at line 800 of file bson.h.
Referenced by addRpmTags(), extractRegular(), fsmStage(), genCpioListAndHeader(), glob_in_dir(), gridfs_insert_file(), init_rpm(), pgpPubkeyFingerprint(), rpmcliImportPubkey(), rpmDigestInit(), rpmgitCmdCommit(), rpmioMkpath(), rpmpythonRun(), and vfs_parse_filedate().
int depth |
Definition at line 258 of file bson.h.
Referenced by _rpmtsOrder(), and next_brace_sub().
const char const bson_iterator* elem |
const char const int64_t i |
Definition at line 778 of file bson.h.
Referenced by __crc32(), __crc64(), _orgrpmtsOrder(), _rpmtsOrder(), _tagName(), _tagType(), _tagValue(), addChangelog(), addFile(), addRelation(), addTE(), arHeaderRead(), arSetup(), avReaddir(), bin2hex(), bson_finished_data_size(), cache_decode_set(), cacheStashLatest(), checkHardLinks(), checkUnpackagedFiles(), cmd_ls(), cmd_match(), cmpArgvStr(), coder_set_compression_settings(), collectSCC(), compare(), compare_nodes(), compressFilelist(), copyEntry(), db3Acallback(), db3open(), decode_golomb(), detectSCCs(), dnlInitIterator(), dnlNextIterator(), doFoo(), doScript(), downsample_set(), encode_golomb(), fdbg(), fdFini(), fdFiniDigest(), FDGSkip(), FDGsqlTag(), FDGxmlTag(), FDGyamlTag(), fdStealDigest(), fdUpdateDigests(), Ferror(), Fileno(), findTag(), fmtBits(), fmtDBT(), formatValue(), fpLookupList(), fpLookupSubdir(), freeArgs(), freeFormat(), freeGlobs(), freeItems(), freeSl(), freeSt(), fsmCommitLinks(), fsmMakeLinks(), fsmMapAttrs(), fsmMapFContext(), fsmMapPath(), fsmMkdirs(), fsmStage(), ftpReq(), ftsCachePrint(), ftsCacheUpdate(), genCpioListAndHeader(), getFilesystemList(), getMachineInfo(), getSource(), glob(), globfree(), gridfile_load_from_chunks(), gridfs_find_query(), handleOneTrigger(), handleOverlappedFiles(), hasSqlType(), hdr_subscript(), headerCheck(), headerLoad(), headerScrub(), headerSizeof(), headerUnload(), headerVerifyInfo(), hGetColor(), htFini(), htGetKeys(), IDTXfree(), IDTXglob(), ignoreDep(), initGlobs(), initSourceHeader(), insertionsort(), intFormat(), iosmCommitLinks(), iosmMakeLinks(), iosmMapAttrs(), iosmMapFContext(), iosmMapPath(), iosmMkdirs(), iosmStage(), loadDBT(), localeTag(), machAddEquiv(), machCacheEntryVisit(), machCacheFindEntry(), main(), map_html_tags(), mapNextIterator(), message_filters(), mireApply(), mireSkip(), missingokTag(), mongo_insert_batch(), mtreeSWalk(), mtreeVisitF(), needswhatTag(), odbcDumpColAttrs(), odbcDumpEnvAttr(), odbcDumpInfo(), odbcDumpStmt(), odbcPrint(), orgrpmAddRelation(), packageBinaries(), parse_options(), parseForLang(), parseFormat(), pcregrep(), pgpCRC(), pgpGrab(), pgpHashAlgoStringToNumber(), pgpHexCvt(), pgpPrtComment(), pgpPrtPkts(), pgpPrtPubkeyParams(), pgpPrtSeckeyParams(), pgpPrtSigParams(), pgpPrtSubType(), pgpStashKeyid(), pkgUnpackagedSubdirs(), PRCOsqlTag(), PRCOxmlTag(), PRCOyamlTag(), prefix_array(), prepFetchVerbose(), printHash(), printNewSpecfile(), processBinaryFile(), processPackageFiles(), providePackageNVR(), rdSignature(), rebuildCompatTables(), relocateFileList(), removeSillyDeps(), rpm_mergesort(), rpm_rb_raise(), rpmalAllFileSatisfiesDepend(), rpmalFini(), rpmalMakeIndex(), rpmbagAdd(), rpmbagDel(), rpmbcExportPubkey(), rpmbfIntersect(), rpmbfUnion(), rpmcliImportPubkeys(), rpmcliInit(), rpmcliInstallElementPath(), rpmcliInstallSuggests(), rpmdbTriggerGlobs(), rpmDigestFinal(), rpmdsCpuinfo(), rpmdsELF(), rpmdsNew(), rpmdsNext(), rpmdsSearch(), rpmdsSetIx(), rpmDumpMacroTable(), rpmEVRparse(), rpmfcApply(), rpmfcExpandAppend(), rpmfcExpandRegexps(), rpmfcGenerateDepends(), rpmfcHelper(), rpmfcMatchRegexps(), rpmfcSCRIPT(), rpmfi_Digest(), rpmfi_FDigest_get(), rpmfiBuildFNames(), rpmfiDupeRelocations(), rpmfiFNBF(), rpmfiNew(), rpmfiNext(), rpmfiOpendir(), rpmfiSetFX(), rpmfiStat(), rpmFreeFilesystems(), rpmFreeMacros(), rpmFreeRpmrc(), rpmGetFilesystemUsage(), rpmGetMacroEntries(), rpmgitCmdDiff(), rpmgitCmdInit(), rpmgitInfo(), rpmgitNew(), rpmGlob(), rpmhdrLoadTag(), rpmhkpValidate(), rpmHmacInit(), rpmhookArgsParse(), rpmhookTableRehash(), rpmInitMacros(), rpmInstallSourcePackage(), rpmioInit(), rpmLoadMacroFile(), rpmLoadMacros(), rpmlogClose(), rpmlogPrint(), rpmmc_list(), rpmmiGrowBasename(), rpmmiInit(), rpmmiPrune(), rpmmiSort(), rpmnsProbe(), rpmnsProbeSignature(), rpmPlatformScore(), rpmps_subscript(), rpmpsFini(), rpmpsNextIterator(), rpmpsPrint(), rpmQueryVerify(), rpmrbLoadClasses(), rpmReadPackageManifest(), rpmrepoInitPopt(), rpmReSign(), rpmRollback(), rpmsetCmp(), rpmsetFini(), rpmsetFinish(), rpmShowRC(), rpmsmRun(), rpmsquirrelNew(), rpmswInit(), rpmteChain(), rpmteColorDS(), rpmtpmDump(), rpmts_Check(), rpmts_IDTXglob(), rpmts_IDTXload(), rpmtsAddFingerprints(), rpmtsCheckDSIProblems(), rpmtsCheckInstalledFiles(), rpmtsCloseSDB(), rpmtsFindBaseNamesInDB(), rpmtsInitDSI(), rpmtsLoadNVRA(), rpmtsOpenSDB(), rpmtsPrepare(), rpmtsSanityCheck(), rpmtsSkipFiles(), rpmtsSolve(), rpmvfNew(), rpmzInit(), rpnFormat(), runImmedTriggers(), runScript(), runTriggersLoop(), setup(), shownode(), showQueryPackage(), showVerifyPackage(), signalsCaught(), singleSprintf(), sortMacroTable(), spec_get_macros(), sql_bind_key(), sql_step(), statFormat(), strsubFormat(), tag2uuidv5(), tagStoreFree(), tagSwab(), tarHeaderRead(), tarHeaderWriteBlock(), tblName(), timeCheck(), triggercondsTag(), triggertypeTag(), uniqv(), unsatisfiedDepend(), urlFind(), urlFreeCache(), uuidFormat(), valueMakeInteger(), vfs_parse_ls_lga(), whatneedsTag(), writeLinkedFile(), XpoptDupArgv(), and yamlstrcpy().
const bson* in |
Definition at line 746 of file bson.h.
Referenced by bson_big_endian32(), bson_big_endian64(), bson_little_endian32(), bson_little_endian64(), rpmgitCmdInit(), and rpmrepoDoPkgMetadata().
const char char const char size_t len |
Definition at line 823 of file bson.h.
Referenced by addReqProv(), bson_append(), bson_append_estart(), cache_decode_set(), compressFilelist(), crc(), encode_set(), expandMacro(), findPreambleTag(), ftpCommand(), fts_alloc(), fts_build(), fts_load(), fts_maxarglen(), Fts_open(), gidToGname(), glob(), glob_in_dir(), handlePreambleTag(), hdrLoad(), hdrUnload(), headerUnload(), httpReq(), isPart(), jsonstrlen(), miFreeHeader(), mongo_create_index(), mongo_data_append(), mongo_env_unix_socket_connect(), mongo_ns_to_cmd_db(), mongo_parse_host(), mongo_read_response(), mongo_set_last_error(), mtreeReadExcludes(), mtreeVisitF(), pgpGrabPkts(), pgpGrabSubTagVal(), pgpPrtPkts(), queryArgCallback(), relocateFileList(), rlink(), rpmdb_Match(), rpmdbAdd(), rpmdsNew(), rpmGetFilesystemUsage(), rpmhkpLoadKey(), rpmiobNew(), rpmmiInit(), rpmpkgSizeof(), rpmts_Match(), rpmtsSkipFiles(), rpmzInit(), rpnFormat(), runScript(), sqlstrlen(), uidToUname(), xmlstrlen(), and yamlstrlen().
const char bson_date_t millis |
Definition at line 1017 of file bson.h.
Referenced by mongo_set_op_timeout().
const bson* obj |
Definition at line 269 of file bson.h.
Referenced by hdrLoad(), rpmgitCmdCommit(), rpmgitRead(), rpmmc_alloc(), rpmps_alloc(), and rpmte_alloc().
const char const bson_oid_t* oid |
Definition at line 757 of file bson.h.
Referenced by rpmgitInfo(), rpmgitOid(), rpmgitRead(), rpmgitWalk(), and rpmgitWrite().
const char const char const char* opts |
Definition at line 971 of file bson.h.
Referenced by grabArgs(), rpmgitCmdCommit(), rpmgitCmdDiff(), rpmgitCmdInit(), rpmgitInit(), rpmgitNew(), and rpmmc_list().
const char const char* pattern |
Definition at line 971 of file bson.h.
Referenced by cacheWalkPathFilter(), cmd_match(), fnmatch(), glob(), initGlobs(), mireLoadPatterns(), rpmmi_Pattern(), rpmShowRC(), runTriggersLoop(), and tagValidate().
const char time_t secs |
Definition at line 1028 of file bson.h.
Referenced by dateToTimet(), fdFgets(), fdReadable(), fdWritable(), and tvsub().
const char const char size_t size |
Definition at line 895 of file bson.h.
Referenced by bson_init_size(), convert_and_copy(), db3open(), gridfile_read_buffer(), headerSizeof(), insertionsort(), loadDBT(), map_html_tags(), mongo_bson_valid(), mongo_insert_batch(), rpm_mergesort(), rpmalAdd(), rpmavxAdd(), rpmfiBuildFNames(), rpmhookTableNew(), rpmioNewPool(), rpmmiInit(), rpmvfVerify(), setup(), statFormat(), and verifySize().
const char char const char * str |
Definition at line 593 of file bson.h.
Referenced by _strupr(), cache_decode_set(), hdr_subscript(), initSourceHeader(), parseExpression(), parseFormat(), pgpHashAlgoStringToNumber(), queryHeader(), rpmrbLoadFile(), rpmrepoDoPkgMetadata(), rpmrepoDoRepoMetadata(), rpmSigString(), rpmsqlRun(), rpmtsSolve(), showQueryPackage(), tagNumFromPyObject(), tagStoreFree(), and xstrtolocale().
bson_iterator * sub |
const char int time |
Definition at line 1005 of file bson.h.
Referenced by addChangelog(), addFile(), getBuildTime(), gridfs_insert_file(), iosmSetup(), main(), printFileInfo(), rpmbcExportPubkey(), rpmbcExportSignature(), rpmdsSingle(), rpmhkpValidate(), rpmhkpVerify(), rpmrepoDoRepoMetadata(), rpmTempFile(), rpmtsSetup(), timeCheck(), and xarTime().
const char bson_timestamp_t* ts |
Definition at line 1004 of file bson.h.
Referenced by _spec_get_ts(), cpio_doio(), fsmSetup(), fsmStage(), genCpioListAndHeader(), hdr_fiFromHeader(), iosmSetup(), main(), psmWait(), rpmfi_init(), rpmfi_new(), rpmfiNew(), rpmgiNext(), rpmmi_new(), rpmnsProbeSignature(), rpmpsmStage(), rpmrepoFclose(), rpmrepoReadHeader(), rpmrepoRfileDigest(), rpmts_mi(), rpmts_new(), rpmts_parse_spec(), rpmts_rootdir_get(), rpmts_rootdir_set(), rpmts_vsflags_get(), rpmts_vsflags_set(), rpmtsDig(), rpmtsGetPool(), rpmtsLoadNVRA(), and spec_build().
const char char type |
Definition at line 908 of file bson.h.
Referenced by freeFormat(), getMachineInfo(), headerSizeof(), headerUnload(), headerVerifyInfo(), mtreeArgCallback(), mtreeMiss(), rebuildCompatTables(), regionSwab(), rpmdsProblem(), rpmmi_Pattern(), rpmps_Append(), rpmps_push(), rpmpsAppend(), rpmteNew(), rpmtsSetType(), and set().
const char const bson_bool_t v |
Definition at line 919 of file bson.h.
Referenced by dbiMireKeys(), decode_base62_golomb(), decode_golomb(), doPrimary(), lookupPackage(), miFreeHeader(), parse_options(), parseExpressionBoolean(), parseExpressionString(), parseRCPOT(), pgpPrtKey(), pgpPrtSig(), pgpPubkeyFingerprint(), pgpsigFormat(), rdToken(), rpmcliImportPubkey(), rpmdbAdd(), rpmdbCount(), rpmdbRemove(), rpmfi_FClass_get(), rpmgitCmdInit(), rpmhdrLoadTag(), rpmjsRun(), rpmmc_list(), rpmmiCount(), rpmmiInit(), rpmmiNext(), rpmpythonRun(), rpmsquirrelNew(), sql_step(), valueMakeInteger(), and valueMakeString().