Searched refs:db_path (Results 1 - 25 of 42) sorted by relevance

12

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/minidlna/
H A Dupnpglobalvars.c89 char db_path[PATH_MAX] = {'\0'}; variable
H A Dupnpglobalvars.h230 extern char db_path[];
H A Dminidlna.c293 snprintf(path, sizeof(path), "%s/files.db", db_path);
297 make_dir(db_path, S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO);
363 DPRINTF(E_WARN, L_GENERAL, "Creating new database at %s/files.db\n", db_path);
502 snprintf(path, sizeof(path), "%s/scantag", db_path);
513 snprintf(path, sizeof(path), "%s/scantag", db_path);
701 strncpyt(db_path, path, PATH_MAX);
790 if (db_path[0] == '\0')
793 strncpyt(log_path, db_path, PATH_MAX);
795 if (db_path[0] == '\0')
796 strncpyt(db_path, DEFAULT_DB_PAT
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/minidlna/
H A Dupnpglobalvars.c89 char db_path[PATH_MAX] = {'\0'}; variable
H A Dupnpglobalvars.h230 extern char db_path[];
H A Dminidlna.c293 snprintf(path, sizeof(path), "%s/files.db", db_path);
297 make_dir(db_path, S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO);
363 DPRINTF(E_WARN, L_GENERAL, "Creating new database at %s/files.db\n", db_path);
502 snprintf(path, sizeof(path), "%s/scantag", db_path);
513 snprintf(path, sizeof(path), "%s/scantag", db_path);
701 strncpyt(db_path, path, PATH_MAX);
790 if (db_path[0] == '\0')
793 strncpyt(log_path, db_path, PATH_MAX);
795 if (db_path[0] == '\0')
796 strncpyt(db_path, DEFAULT_DB_PAT
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/minidlna/
H A Dupnpglobalvars.c89 char db_path[PATH_MAX] = {'\0'}; variable
H A Dupnpglobalvars.h230 extern char db_path[];
H A Dminidlna.c293 snprintf(path, sizeof(path), "%s/files.db", db_path);
297 make_dir(db_path, S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO);
363 DPRINTF(E_WARN, L_GENERAL, "Creating new database at %s/files.db\n", db_path);
502 snprintf(path, sizeof(path), "%s/scantag", db_path);
513 snprintf(path, sizeof(path), "%s/scantag", db_path);
701 strncpyt(db_path, path, PATH_MAX);
790 if (db_path[0] == '\0')
793 strncpyt(log_path, db_path, PATH_MAX);
795 if (db_path[0] == '\0')
796 strncpyt(db_path, DEFAULT_DB_PAT
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.0.25b/source/include/
H A Dsmb_share_modes.h61 struct smbdb_ctx *smb_share_mode_db_open(const char *db_path);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source3/include/
H A Dsmb_share_modes.h61 struct smbdb_ctx *smb_share_mode_db_open(const char *db_path);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.0.25b/source/include/
H A Dsmb_share_modes.h61 struct smbdb_ctx *smb_share_mode_db_open(const char *db_path);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source3/include/
H A Dsmb_share_modes.h61 struct smbdb_ctx *smb_share_mode_db_open(const char *db_path);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.0.25b/source/include/
H A Dsmb_share_modes.h61 struct smbdb_ctx *smb_share_mode_db_open(const char *db_path);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source3/include/
H A Dsmb_share_modes.h61 struct smbdb_ctx *smb_share_mode_db_open(const char *db_path);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source3/winbindd/
H A Didmap_tdb2.c99 char *db_path; local
106 db_path = lp_parm_talloc_string(-1, "tdb", "idmap2.tdb", NULL);
107 if (db_path == NULL) {
110 db_path = talloc_asprintf(NULL, "%s/idmap2.tdb", lp_private_dir());
112 NT_STATUS_HAVE_NO_MEMORY(db_path);
115 idmap_tdb2 = db_open(NULL, db_path, 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0644);
116 TALLOC_FREE(db_path);
120 db_path));
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source3/winbindd/
H A Didmap_tdb2.c99 char *db_path; local
106 db_path = lp_parm_talloc_string(-1, "tdb", "idmap2.tdb", NULL);
107 if (db_path == NULL) {
110 db_path = talloc_asprintf(NULL, "%s/idmap2.tdb", lp_private_dir());
112 NT_STATUS_HAVE_NO_MEMORY(db_path);
115 idmap_tdb2 = db_open(NULL, db_path, 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0644);
116 TALLOC_FREE(db_path);
120 db_path));
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source3/winbindd/
H A Didmap_tdb2.c99 char *db_path; local
106 db_path = lp_parm_talloc_string(-1, "tdb", "idmap2.tdb", NULL);
107 if (db_path == NULL) {
110 db_path = talloc_asprintf(NULL, "%s/idmap2.tdb", lp_private_dir());
112 NT_STATUS_HAVE_NO_MEMORY(db_path);
115 idmap_tdb2 = db_open(NULL, db_path, 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0644);
116 TALLOC_FREE(db_path);
120 db_path));
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source3/groupdb/
H A Dmapping_ldb.c47 const char *db_path, *tdb_path; local
58 db_path = state_path("group_mapping.ldb");
66 existed = file_exist(db_path);
76 ret = ldb_connect(ldb, db_path, flags, NULL);
83 if (chmod(db_path, 0600) != 0) {
111 db_path, ldb?ldb_errstring(ldb):strerror(errno)));
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source3/groupdb/
H A Dmapping_ldb.c47 const char *db_path, *tdb_path; local
58 db_path = state_path("group_mapping.ldb");
66 existed = file_exist(db_path);
76 ret = ldb_connect(ldb, db_path, flags, NULL);
83 if (chmod(db_path, 0600) != 0) {
111 db_path, ldb?ldb_errstring(ldb):strerror(errno)));
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source3/groupdb/
H A Dmapping_ldb.c47 const char *db_path, *tdb_path; local
58 db_path = state_path("group_mapping.ldb");
66 existed = file_exist(db_path);
76 ret = ldb_connect(ldb, db_path, flags, NULL);
83 if (chmod(db_path, 0600) != 0) {
111 db_path, ldb?ldb_errstring(ldb):strerror(errno)));
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/mt-daapd/src/
H A Ddb-gdbm.c281 char db_path[PATH_MAX + 1]; local
288 snprintf(db_path,sizeof(db_path),"%s/%s",parameters,"songs.gdb");
293 db_songs=gdbm_open(db_path, 0, reload | GDBM_SYNC | GDBM_NOLOCK,
306 db_songs=gdbm_open(db_path,0,GDBM_NEWDB|GDBM_SYNC|GDBM_NOLOCK,0600,NULL);
320 db_path,strerror(errno));
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/mt-daapd/src/
H A Ddb-gdbm.c281 char db_path[PATH_MAX + 1]; local
288 snprintf(db_path,sizeof(db_path),"%s/%s",parameters,"songs.gdb");
293 db_songs=gdbm_open(db_path, 0, reload | GDBM_SYNC | GDBM_NOLOCK,
306 db_songs=gdbm_open(db_path,0,GDBM_NEWDB|GDBM_SYNC|GDBM_NOLOCK,0600,NULL);
320 db_path,strerror(errno));
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source3/lib/
H A Ddbwrap_ctdb.c1256 char *db_path; local
1287 db_path = ctdbd_dbpath(conn, db_ctdb, db_ctdb->db_id);
1296 chmod(db_path, mode);
1299 db_ctdb->wtdb = tdb_wrap_open(db_ctdb, db_path, hash_size, tdb_flags, O_RDWR, 0);
1301 DEBUG(0, ("Could not open tdb %s: %s\n", db_path, strerror(errno)));
1305 talloc_free(db_path);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source3/lib/
H A Ddbwrap_ctdb.c1256 char *db_path; local
1287 db_path = ctdbd_dbpath(conn, db_ctdb, db_ctdb->db_id);
1296 chmod(db_path, mode);
1299 db_ctdb->wtdb = tdb_wrap_open(db_ctdb, db_path, hash_size, tdb_flags, O_RDWR, 0);
1301 DEBUG(0, ("Could not open tdb %s: %s\n", db_path, strerror(errno)));
1305 talloc_free(db_path);

Completed in 426 milliseconds

12