Home
last modified time | relevance | path

Searched refs:dbopen (Results 1 – 25 of 38) sorted by relevance

12

/openbsd/distrib/special/libstubs/
H A Ddb.c44 dbopen(const char *fname, int flags, int mode, DBTYPE type, in dbopen() function
64 DEF_WEAK(dbopen);
/openbsd/lib/libc/db/db/
H A Ddb.c44 dbopen(const char *fname, int flags, int mode, DBTYPE type, in dbopen() function
69 DEF_WEAK(dbopen);
/openbsd/usr.sbin/sa/
H A Dusrdb.c57 usracct_db = dbopen(NULL, O_RDWR, 0, DB_BTREE, &bti); in usracct_init()
66 saved_usracct_db = dbopen(_PATH_USRACCT, O_RDONLY, 0, DB_BTREE, in usracct_init()
178 saved_usracct_db = dbopen(_PATH_USRACCT, O_RDWR|O_CREAT|O_TRUNC, 0644, in usracct_update()
H A Dpdb.c54 pacct_db = dbopen(NULL, O_RDWR, 0, DB_BTREE, NULL); in pacct_init()
63 saved_pacct_db = dbopen(_PATH_SAVACCT, O_RDONLY, 0, DB_BTREE, in pacct_init()
161 saved_pacct_db = dbopen(_PATH_SAVACCT, O_RDWR|O_CREAT|O_TRUNC, 0644, in pacct_update()
224 output_pacct_db = dbopen(NULL, O_RDWR, 0, DB_BTREE, &bti); in pacct_print()
/openbsd/regress/usr.bin/grep/
H A Dt14.in26 * The following flags are included in the dbopen(3) call as part of the
30 * a problem. Wish I'd left another flags word in the dbopen call.
/openbsd/usr.sbin/pwd_mkdb/
H A Dpwd_mkdb.c197 dp = dbopen(_PATH_MP_DB, O_RDONLY, 0, DB_HASH, NULL); in main()
222 edp = dbopen(buf, in main()
225 edp = dbopen(buf, in main()
246 dp = dbopen(buf, O_RDWR, PERM_INSECURE, DB_HASH, in main()
249 dp = dbopen(buf, O_RDWR|O_CREAT|O_EXCL, PERM_INSECURE, in main()
/openbsd/usr.sbin/ypserv/common/
H A Dypdb.c69 db = (DBM *)dbopen(path, flags, mode, DB_BTREE, (void *)&info); in ypdb_open()
93 db = (DBM *)dbopen(file, flags, mode, DB_BTREE, (void *)&info); in ypdb_open_suf()
/openbsd/usr.sbin/netgroup_mkdb/
H A Dnetgroup_mkdb.c152 db = dbopen(buf, O_RDWR | O_CREAT | O_EXCL, in main()
203 db = dbopen(NULL, O_RDWR | O_CREAT | O_EXCL, 0, DB_HASH, NULL); in ng_load()
305 xdb = dbopen(NULL, O_RDWR | O_CREAT | O_EXCL, 0, DB_HASH, NULL); in ng_insert()
429 udb = dbopen(NULL, O_RDWR | O_CREAT | O_EXCL, 0, DB_HASH, NULL); in ng_reverse()
/openbsd/usr.sbin/ypserv/makedbm/
H A Ddb.c51 db = dbopen(path, O_RDONLY, 0, DB_HASH, NULL); in db_hash_list_database()
/openbsd/usr.sbin/kvm_mkdb/
H A Dtestdb.c64 if ((db = dbopen(dbname, O_RDONLY, 0, DB_HASH, NULL)) == NULL) in testdb()
H A Dkvm_mkdb.c188 db = dbopen(dbtemp, O_CREAT | O_EXLOCK | O_TRUNC | O_RDWR, in kvm_mkdb()
/openbsd/lib/libc/hidden/
H A Ddb.h81 PROTO_NORMAL(dbopen);
/openbsd/lib/libc/db/
H A DMakefile.inc20 MAN+= btree.3 dbopen.3 hash.3 ndbm.3 recno.3
/openbsd/include/
H A Ddb.h159 DB *dbopen(const char *, int, int, DBTYPE, const void *);
/openbsd/usr.bin/vi/docs/
H A Dspell.ok51 dbopen
/openbsd/usr.sbin/dev_mkdb/
H A Ddev_mkdb.c96 db = dbopen(dbtmp, O_CREAT|O_EXLOCK|O_RDWR|O_TRUNC, in main()
/openbsd/usr.bin/vi/docs/USD.doc/vi.man/
H A Dspell.ok49 dbopen
/openbsd/usr.sbin/smtpd/
H A Dmakemap.c194 db = dbopen(dbname, O_TRUNC|O_RDWR, 0644, dbtype, NULL); in makemap()
449 db = dbopen(dbname, O_RDONLY, 0644, dbtype, NULL); in dump_db()
H A Dtable_db.c133 handle->db = dbopen(table->t_config, O_RDONLY, 0600, DB_HASH, NULL); in table_db_open2()
/openbsd/libexec/spamd/
H A Dgrey.c534 db = dbopen(dbname, O_EXLOCK|O_RDWR, 0600, DB_HASH, &hashinfo); in greyscan()
690 db = dbopen(dbname, O_EXLOCK|O_RDWR, 0600, DB_HASH, &hashinfo); in twupdate()
774 db = dbopen(dbname, O_EXLOCK|O_RDWR, 0600, DB_HASH, &hashinfo); in greyupdate()
1042 db = dbopen(PATH_SPAMD_DB, O_EXLOCK|O_RDWR, 0600, DB_HASH, &hashinfo); in check_spamd_db()
/openbsd/usr.bin/cap_mkdb/
H A Dcap_mkdb.c107 if ((capdbp = dbopen(capname, O_CREAT | O_TRUNC | O_RDWR, in main()
/openbsd/libexec/login_token/
H A Dtokendb.c210 dbopen(tt->db, O_CREAT | O_RDWR, 0640, DB_BTREE, 0)) ) in tokendb_open()
/openbsd/lib/libcurses/tinfo/
H A Dhashed_db.c163 if ((result = dbopen(path, in _nc_db_open()
/openbsd/usr.bin/vi/
H A DLAYOUT27 into requests to the dbopen(3) database code. It also has the
/openbsd/usr.bin/vi/docs/USD.doc/vi.ref/
H A Dspell.ok132 dbopen

12