The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

db3.c (3)
  • >> db3.c (3) ( Linux man: Библиотечные вызовы )
  •  

    NAME

    rpmdb/db3.c -  
     
    

    SYNOPSIS


    #include 'system.h'
    #include 'rpmlib.h'
    #include 'rpmmacro.h'
    #include 'rpmurl.h'
    #include 'rpmdb.h'
    #include 'debug.h'
     

    Data Structures


    struct dbiBStats_s

    struct dbiHStats_s
     

    Functions


    int cvtdberr (dbiIndex dbi, const char *msg, int error, int printit)

    int db_fini (dbiIndex dbi, const char *dbhome, const char *dbfile, const char *dbsubfile)

    int db3_fsync_disable (int fd)

    int db_init (dbiIndex dbi, const char *dbhome, const char *dbfile, const char *dbsubfile, void **dbenvp)

    int db3sync (dbiIndex dbi, unsigned int flags)

    int db3c_del (dbiIndex dbi, void *dbcursor, u_int32_t flags)

    int db3c_dup (dbiIndex dbi, DBC *dbcursor, DBC **dbcp, u_int32_t flags)

    int db3c_get (dbiIndex dbi, void *dbcursor, void *key, void *data, u_int32_t flags)

    int db3c_put (dbiIndex dbi, void *dbcursor, void *key, void *data, u_int32_t flags)

    int db3c_close (dbiIndex dbi, void *dbcursor)

    int db3c_open (dbiIndex dbi, void **dbcp, int dbiflags)

    int db3cclose (dbiIndex dbi, void *dbcursor, unsigned int flags)

    int db3copen (dbiIndex dbi, void **dbcp, unsigned int flags)

    int db3cput (dbiIndex dbi, void *dbcursor, const void *keyp, size_t keylen, const void *datap, size_t datalen, unsigned int flags)

    int db3cdel (dbiIndex dbi, void *dbcursor, const void *keyp, size_t keylen, unsigned int flags)

    int db3cget (dbiIndex dbi, void *dbcursor, void **keyp, size_t *keylen, void **datap, size_t *datalen, unsigned int flags)

    int db3ccount (dbiIndex dbi, void *dbcursor, unsigned int *countp, unsigned int flags)

    int db3byteswapped (dbiIndex dbi)

    int db3stat (dbiIndex dbi, unsigned int flags)

    int db3close (dbiIndex dbi, unsigned int flags)

    int parseYesNo (const char *s)

    int do_wait_for_lock (void)

    int db3open (rpmdb rpmdb, int rpmtag, dbiIndex *dbip)
     

    Variables


    int _debug = 1

    _dbiVec db3vec
     

    DETAILED DESCRIPTION

    Definition in file db3.c.  

    FUNCTION DOCUMENTATION

     

    int cvtdberr (dbiIndex dbi, const char * msg, int error, int printit) [static]

    Definition at line 93 of file db3.c.

    References _, RPMERR_DBERR, and rpmError.

    Referenced by db1cdel(), db1cget(), db1close(), db1cput(), db1sync(), db3c_close(), db3c_del(), db3c_dup(), db3c_get(), db3c_open(), db3c_put(), db3ccount(), db3cdel(), db3cget(), db3close(), db3cput(), db3open(), db3stat(), db3sync(), db_fini(), and db_init().  

    int db3_fsync_disable (int fd) [static]

    Definition at line 158 of file db3.c.

    Referenced by db_init().  

    int db3byteswapped (dbiIndex dbi) [static]

    Definition at line 615 of file db3.c.

    References DB.  

    int db3c_close (dbiIndex dbi, void * dbcursor) [inline, static]

    Definition at line 385 of file db3.c.

    References _debug, cvtdberr(), and DBC.

    Referenced by db3cclose().  

    int db3c_del (dbiIndex dbi, void * dbcursor, u_int32_t flags) [static]

    Definition at line 322 of file db3.c.

    References _debug, cvtdberr(), and DBC.

    Referenced by db3cdel().  

    int db3c_dup (dbiIndex dbi, DBC * dbcursor, DBC ** dbcp, u_int32_t flags) [static]

    Definition at line 333 of file db3.c.

    References _debug, cvtdberr(), and DBC.  

    int db3c_get (dbiIndex dbi, void * dbcursor, void * key, void * data, u_int32_t flags) [static]

    Definition at line 348 of file db3.c.

    References _debug, cvtdberr(), and DBC.

    Referenced by db3cdel(), and db3cget().  

    int db3c_open (dbiIndex dbi, void ** dbcp, int dbiflags) [inline, static]

    Definition at line 398 of file db3.c.

    References _debug, cvtdberr(), DB, DBC, and DBI_WRITECURSOR.

    Referenced by db3copen().  

    int db3c_put (dbiIndex dbi, void * dbcursor, void * key, void * data, u_int32_t flags) [static]

    Definition at line 372 of file db3.c.

    References _debug, cvtdberr(), and DBC.

    Referenced by db3cput().  

    int db3cclose (dbiIndex dbi, void * dbcursor, unsigned int flags) [static]

    Definition at line 422 of file db3.c.

    References db3c_close(), DBC, and DBI_ITERATOR.

    Referenced by db3close().  

    int db3ccount (dbiIndex dbi, void * dbcursor, unsigned int * countp, unsigned int flags) [static]

    Definition at line 597 of file db3.c.

    References _debug, cvtdberr(), and DBC.  

    int db3cdel (dbiIndex dbi, void * dbcursor, const void * keyp, size_t keylen, unsigned int flags) [static]

    Definition at line 510 of file db3.c.

    References _debug, cvtdberr(), DB, db3c_del(), db3c_get(), and DBC.  

    int db3cget (dbiIndex dbi, void * dbcursor, void ** keyp, size_t * keylen, void ** datap, size_t * datalen, unsigned int flags) [static]

    Definition at line 545 of file db3.c.

    References _debug, cvtdberr(), DB, db3c_get(), and DBC.  

    int db3close (dbiIndex dbi, unsigned int flags) [static]

    Definition at line 661 of file db3.c.

    References _, _debug, _free(), cvtdberr(), DB, db3cclose(), db3Free(), rpmdb_s::db_chrootDone, rpmdb_s::db_dbenv, DB_ENV, rpmdb_s::db_errcall, rpmdb_s::db_errfile, rpmdb_s::db_errpfx, db_fini(), rpmdb_s::db_home, rpmdb_s::db_opens, rpmdb_s::db_root, rpmGenPath(), rpmGetPath(), RPMMESS_DEBUG, rpmMessage, tagName(), and urlPath().

    Referenced by db3open().  

    int db3copen (dbiIndex dbi, void ** dbcp, unsigned int flags) [static]

    Definition at line 450 of file db3.c.

    References db3c_open(), DBC, and DBI_ITERATOR.  

    int db3cput (dbiIndex dbi, void * dbcursor, const void * keyp, size_t keylen, const void * datap, size_t datalen, unsigned int flags) [static]

    Definition at line 478 of file db3.c.

    References _debug, cvtdberr(), DB, db3c_put(), and DBC.  

    int db3open (rpmdb rpmdb, int rpmtag, dbiIndex * dbip) [static]

    Definition at line 838 of file db3.c.

    References _, _debug, _free(), alloca(), cvtdberr(), DB, db3close(), db3New(), DB_ENV, db_init(), DB_VERSION_MAJOR, DBC, _dbiIndex::dbi_api, _dbiIndex::dbi_bt_compare_fcn, _dbiIndex::dbi_bt_dup_compare_fcn, _dbiIndex::dbi_bt_flags, _dbiIndex::dbi_bt_minkey, _dbiIndex::dbi_bt_prefix_fcn, _dbiIndex::dbi_cachesize, _dbiIndex::dbi_cflags, _dbiIndex::dbi_db, _dbiIndex::dbi_eflags, _dbiIndex::dbi_file, _dbiIndex::dbi_get_rmw_cursor, _dbiIndex::dbi_h_dup_compare_fcn, _dbiIndex::dbi_h_ffactor, _dbiIndex::dbi_h_flags, _dbiIndex::dbi_h_hash_fcn, _dbiIndex::dbi_h_nelem, _dbiIndex::dbi_home, _dbiIndex::dbi_lockdbfd, _dbiIndex::dbi_lorder, _dbiIndex::dbi_mode, _dbiIndex::dbi_oeflags, _dbiIndex::dbi_oflags, _dbiIndex::dbi_pagesize, _dbiIndex::dbi_perms, _dbiIndex::dbi_q_extentsize, _dbiIndex::dbi_re_delim, _dbiIndex::dbi_re_len, _dbiIndex::dbi_re_pad, _dbiIndex::dbi_re_source, _dbiIndex::dbi_rmw, _dbiIndex::dbi_root, _dbiIndex::dbi_rpmtag, _dbiIndex::dbi_subfile, _dbiIndex::dbi_temporary, _dbiIndex::dbi_type, _dbiIndex::dbi_use_dbenv, _dbiIndex::dbi_vec, _dbiIndex::dbi_verify_on_close, do_wait_for_lock(), errno, F_OK, prDbiOpenFlags(), RPMERR_FLOCK, rpmError, rpmGenPath(), rpmGetPath(), RPMMESS_DEBUG, rpmMessage, RPMWARN_FLOCK, stpcpy(), tagName(), urlPath(), and W_OK.  

    int db3stat (dbiIndex dbi, unsigned int flags) [static]

    Definition at line 635 of file db3.c.

    References _debug, _free(), cvtdberr(), and DB.  

    int db3sync (dbiIndex dbi, unsigned int flags) [static]

    Definition at line 306 of file db3.c.

    References _debug, cvtdberr(), and DB.  

    int db_fini (dbiIndex dbi, const char * dbhome, const char * dbfile, const char * dbsubfile) [static]

    Definition at line 116 of file db3.c.

    References _, _debug, cvtdberr(), rpmdb_s::db_dbenv, DB_ENV, rpmdb_s::db_remove_env, RPMMESS_DEBUG, and rpmMessage.

    Referenced by db3close().  

    int db_init (dbiIndex dbi, const char * dbhome, const char * dbfile, const char * dbsubfile, void ** dbenvp) [static]

    Definition at line 165 of file db3.c.

    References _, _debug, _free(), cvtdberr(), db3_fsync_disable(), rpmdb_s::db_chrootDone, DB_ENV, rpmdb_s::db_errcall, rpmdb_s::db_errfile, rpmdb_s::db_errpfx, rpmdb_s::db_root, prDbiOpenFlags(), rpmGenPath(), RPMMESS_DEBUG, and rpmMessage.

    Referenced by db3open().  

    int do_wait_for_lock (void) [static]

    Definition at line 822 of file db3.c.

    References _free(), parseYesNo(), and rpmExpand().

    Referenced by db3open().  

    int parseYesNo (const char * s) [inline, static]

    Definition at line 809 of file db3.c.

    Referenced by do_wait_for_lock().  

    VARIABLE DOCUMENTATION

     

    int _debug = 1 [static]

    Definition at line 7 of file db3.c.

    Referenced by db3c_close(), db3c_del(), db3c_dup(), db3c_get(), db3c_open(), db3c_put(), db3ccount(), db3cdel(), db3cget(), db3close(), db3cput(), db3open(), db3stat(), db3sync(), db_fini(), and db_init().  

    AUTHOR

    Generated automatically by Doxygen for rpm from the source code.


     

    Index

    NAME
    SYNOPSIS
    Data Structures
    Functions
    Variables
    DETAILED DESCRIPTION
    FUNCTION DOCUMENTATION
    int cvtdberr (dbiIndex dbi, const char * msg, int error, int printit) [static]
    int db3_fsync_disable (int fd) [static]
    int db3byteswapped (dbiIndex dbi) [static]
    int db3c_close (dbiIndex dbi, void * dbcursor) [inline, static]
    int db3c_del (dbiIndex dbi, void * dbcursor, u_int32_t flags) [static]
    int db3c_dup (dbiIndex dbi, DBC * dbcursor, DBC ** dbcp, u_int32_t flags) [static]
    int db3c_get (dbiIndex dbi, void * dbcursor, void * key, void * data, u_int32_t flags) [static]
    int db3c_open (dbiIndex dbi, void ** dbcp, int dbiflags) [inline, static]
    int db3c_put (dbiIndex dbi, void * dbcursor, void * key, void * data, u_int32_t flags) [static]
    int db3cclose (dbiIndex dbi, void * dbcursor, unsigned int flags) [static]
    int db3ccount (dbiIndex dbi, void * dbcursor, unsigned int * countp, unsigned int flags) [static]
    int db3cdel (dbiIndex dbi, void * dbcursor, const void * keyp, size_t keylen, unsigned int flags) [static]
    int db3cget (dbiIndex dbi, void * dbcursor, void ** keyp, size_t * keylen, void ** datap, size_t * datalen, unsigned int flags) [static]
    int db3close (dbiIndex dbi, unsigned int flags) [static]
    int db3copen (dbiIndex dbi, void ** dbcp, unsigned int flags) [static]
    int db3cput (dbiIndex dbi, void * dbcursor, const void * keyp, size_t keylen, const void * datap, size_t datalen, unsigned int flags) [static]
    int db3open (rpmdb rpmdb, int rpmtag, dbiIndex * dbip) [static]
    int db3stat (dbiIndex dbi, unsigned int flags) [static]
    int db3sync (dbiIndex dbi, unsigned int flags) [static]
    int db_fini (dbiIndex dbi, const char * dbhome, const char * dbfile, const char * dbsubfile) [static]
    int db_init (dbiIndex dbi, const char * dbhome, const char * dbfile, const char * dbsubfile, void ** dbenvp) [static]
    int do_wait_for_lock (void) [static]
    int parseYesNo (const char * s) [inline, static]
    VARIABLE DOCUMENTATION
    int _debug = 1 [static]
    AUTHOR


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру