Searched refs:dbname (Results 1 - 25 of 43) sorted by relevance

12

/netbsd-current/lib/libc/citrus/
H A Dcitrus_aliasname_local.h33 __unaliasname(const char *dbname, const char *alias, argument
36 return _lookup_simple(dbname, alias,
/netbsd-current/usr.sbin/kvm_mkdb/
H A Dkvm_mkdb.c105 static char *dbname = NULL; variable
119 dbname = optarg;
132 if (dbname == NULL) {
133 dbname = _PATH_KVMDB;
135 } else if (strncmp(_PATH_KVMDB, dbname, sizeof(_PATH_KVMDB)) == 0) {
161 (void)snprintf(dbtemp, sizeof(dbtemp), "%s.tmp", dbname);
174 if (rename(dbtemp, dbname)) {
175 warn("rename %s to %s", dbtemp, dbname);
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/hdb/
H A Dkeytab.c41 char *dbname; member in struct:hdb_data
72 d->dbname = NULL;
74 d->dbname = strdup(name);
75 if(d->dbname == NULL) {
83 d->dbname = malloc(mkey - db + 1);
84 if(d->dbname == NULL) {
89 memmove(d->dbname, db, mkey - db);
90 d->dbname[mkey - db] = '\0';
94 free(d->dbname);
109 free(d->dbname);
136 find_db(krb5_context context, char **dbname, char **mkey, krb5_const_principal principal) argument
189 const char *dbname = d->dbname; local
274 const char *dbname = d->dbname; local
[all...]
H A Ddbinfo.c41 char *dbname; member in struct:hdb_dbinfo
60 p = krb5_config_get_string(context, db_binding, "dbname", NULL);
70 di->dbname = strdup(p);
148 if (di->dbname == NULL) {
149 di->dbname = strdup(default_dbname);
154 p = strrchr(di->dbname, '.');
157 ret = asprintf(&di->mkey_file, "%s.mkey", di->dbname);
162 (int)(p - di->dbname), di->dbname);
200 return dbp->dbname;
[all...]
/netbsd-current/external/bsd/openldap/dist/servers/slapd/back-sql/rdbms_depend/mssql/
H A Dslapd.conf27 dbname ldap_mssql
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/kadm5/
H A Dinit_s.c51 char *dbname; local
60 dbname = realm_params->dbname;
62 dbname = ctx->config.dbname;
69 assert(dbname != NULL);
79 ret = hdb_create(ctx->context, &ctx->db, dbname);
H A Dcontext_s.c164 ctx->config.dbname = strdup(p);
165 if (ctx->config.dbname == NULL)
196 if (ctx->config.dbname == NULL) {
197 ctx->config.dbname = strdup(hdb_default_db(context));
198 if (ctx->config.dbname == NULL)
256 (*ctx)->config.dbname = strdup(params->dbname);
257 if ((*ctx)->config.dbname == NULL)
H A Ddestroy_s.c48 free (c->dbname);
/netbsd-current/external/bsd/blocklist/bin/
H A Dblocklistctl.c82 const char *dbname = _PATH_BLSTATE; local
110 dbname = optarg;
128 db = state_open(dbname, O_RDONLY, 0);
130 err(EXIT_FAILURE, "Can't open `%s'", dbname);
H A Dstate.c75 state_open(const char *dbname, int flags, mode_t perm) argument
83 db = dbopen(dbname, flags, perm, DB_HASH, &openinfo);
87 (*lfun)(LOG_ERR, "%s: can't open `%s' (%m)", __func__, dbname);
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/base/
H A Ddb.c128 heim_string_t dbname; member in struct:heim_db_data
257 heim_release(db->dbname);
266 const char *dbname; member in struct:dbtype_iter
285 iter_ctx->dbname, iter_ctx->options,
308 * @param dbname Name of DB (likely a file path)
318 heim_db_create(const char *dbtype, const char *dbname, argument
344 struct dbtype_iter iter_ctx = { NULL, dbname, options, error};
395 ret = plug->openf(plug->data, dbtype, dbname, options, &db->db_data, error);
401 dbname);
413 db->dbname
1172 open_file(const char *dbname, int for_write, int excl, int *fd_out, heim_error_t *error) argument
1260 read_json(const char *dbname, heim_object_t *out, heim_error_t *error) argument
1312 heim_string_t dbname; member in struct:json_db
1322 json_db_open(void *plug, const char *dbtype, const char *dbname, heim_dict_t options, void **db, heim_error_t *error) argument
[all...]
/netbsd-current/external/bsd/openldap/dist/servers/slapd/back-sql/rdbms_depend/ibmdb2/
H A Dslapd.conf27 dbname ldap_db2
/netbsd-current/external/bsd/openldap/dist/servers/slapd/back-sql/rdbms_depend/mysql/
H A Dslapd.conf27 dbname ldap_mysql
/netbsd-current/external/bsd/openldap/dist/servers/slapd/back-sql/rdbms_depend/oracle/
H A Dslapd.conf27 dbname ldap_ora8
/netbsd-current/external/bsd/openldap/dist/servers/slapd/back-sql/rdbms_depend/pgsql/
H A Dslapd.conf27 dbname PostgreSQL
/netbsd-current/external/bsd/openldap/dist/servers/slapd/back-sql/rdbms_depend/timesten/
H A Dslapd.conf27 dbname ldap_tt
/netbsd-current/external/bsd/openldap/dist/tests/data/
H A Dslapd-sql.conf48 dbname example
H A Dslapd-sql-syncrepl-provider.conf50 dbname example
H A Dkrb5.conf25 dbname = @TESTDIR@/kdc.db
/netbsd-current/usr.sbin/services_mkdb/
H A Dservices_mkdb.c72 const char *dbname = NULL; local
89 dbname = optarg;
125 if (dbname == NULL)
126 dbname = use_db ? _PATH_SERVICES_DB : _PATH_SERVICES_CDB;
133 (void)snprintf(tname, sizeof(tname), "%s.tmp", dbname);
167 if (rename(tname, dbname) == -1)
168 err(1, "Cannot rename `%s' to `%s'", tname, dbname);
/netbsd-current/external/ibm-public/postfix/dist/src/tls/
H A Dtls_scache.c11 /* TLS_SCACHE *tls_scache_open(dbname, cache_label, verbose, timeout)
12 /* const char *dbname
88 /* .IP dbname
470 TLS_SCACHE *tls_scache_open(const char *dbname, const char *cache_label, argument
480 msg_info("open %s TLS cache %s", cache_label, dbname);
490 dict = dict_open(dbname, O_RDWR | O_CREAT | O_TRUNC, DICT_FLAGS);
496 msg_fatal("dictionary %s does not support update operations", dbname);
498 msg_fatal("dictionary %s does not support delete operations", dbname);
500 msg_fatal("dictionary %s does not support sequence operations", dbname);
/netbsd-current/usr.sbin/pwd_mkdb/
H A Dpwd_mkdb.c152 char dbname[MAX(MAXPATHLEN, LINE_MAX * 2)]; member in struct:pwddb
200 wr_error(db->dbname);
204 opendb(struct pwddb *db, const char *dbname, const char *username, argument
209 (void)snprintf(db->dbname, sizeof(db->dbname), "%s%s.tmp", prefix,
210 dbname);
213 (void)snprintf(buf, sizeof(buf), "%s%s", prefix, dbname);
214 cp(buf, db->dbname, perm);
217 db->db = dbopen(db->dbname, flags, perm, DB_HASH, &openinfo);
219 mkpw_error("Cannot open `%s'", db->dbname);
[all...]
/netbsd-current/external/mpl/dhcp/bind/dist/lib/isccfg/
H A Daclconf.c294 const char *dbname) {
295 if (dbname == NULL) {
301 if (strcasecmp(dbname, "city") == 0) {
303 } else if (strcasecmp(dbname, "country") == 0) {
311 if (strcasecmp(dbname, "city") == 0) {
313 } else if (strcasecmp(dbname, "country") == 0) {
321 if (strcasecmp(dbname, "city") == 0) {
323 } else if (strcasecmp(dbname, "country") == 0) {
331 if (strcasecmp(dbname, "city") == 0) {
333 } else if (strcasecmp(dbname, "countr
293 get_subtype(const cfg_obj_t *obj, isc_log_t *lctx, dns_geoip_subtype_t subtype, const char *dbname) argument
480 const char *dbname = NULL; local
[all...]
/netbsd-current/external/mpl/bind/dist/lib/isccfg/
H A Daclconf.c292 const char *dbname) {
293 if (dbname == NULL) {
299 if (strcasecmp(dbname, "city") == 0) {
301 } else if (strcasecmp(dbname, "country") == 0) {
309 if (strcasecmp(dbname, "city") == 0) {
311 } else if (strcasecmp(dbname, "country") == 0) {
319 if (strcasecmp(dbname, "city") == 0) {
321 } else if (strcasecmp(dbname, "country") == 0) {
329 if (strcasecmp(dbname, "city") == 0) {
331 } else if (strcasecmp(dbname, "countr
291 get_subtype(const cfg_obj_t *obj, isc_log_t *lctx, dns_geoip_subtype_t subtype, const char *dbname) argument
478 const char *dbname = NULL; local
[all...]
/netbsd-current/share/examples/puffs/pgfs/
H A Dmount.c78 const char *dbname = NULL; local
83 { .m_option = "dbname", .m_inverse = 0,
113 dbname = xstrcpy(getmntoptstr(mp, "dbname"));
161 error = pgfs_connectdb(pu, dbname, dbuser, debug, dosync, nconn);
162 free(__UNCONST(dbname));

Completed in 174 milliseconds

12