Searched defs:db (Results 1 - 7 of 7) sorted by relevance
/sssd/src/tools/common/ |
H A D | sss_colondb.c | 27 #define IS_STD_FILE(db) ((db)->file == stdin || (db)->file == stdout) 106 struct sss_colondb *db, 117 if (db->mode != SSS_COLONDB_READ) { 121 readchars = getline(&line, &linelen, db->file); 187 errno_t sss_colondb_writeline(struct sss_colondb *db, argument 195 if (db->mode != SSS_COLONDB_WRITE) { 243 fprintf(db->file, "%s\n", line); 244 fflush(db 105 sss_colondb_readline(TALLOC_CTX *mem_ctx, struct sss_colondb *db, struct sss_colondb_read_field *table) argument 256 struct sss_colondb *db = talloc_get_type(pvt, struct sss_colondb); local 297 struct sss_colondb *db; local [all...] |
/sssd/src/util/ |
H A D | nscd.c | 115 struct sss_nscd_db db[] = { local 127 for (i = 0; db[i].svc_type_name != NULL; i++) { 128 if (!strcmp(db[i].svc_type_name, svc_name)) { 130 ret = db[i].nscd_service_flag;
|
/sssd/src/tests/cmocka/ |
H A D | test_tools_colondb.c | 72 struct sss_colondb *db = NULL; local 85 db = sss_colondb_open(tmp_ctx, SSS_COLONDB_WRITE, 87 assert_non_null(db); 89 ret = sss_colondb_writeline(db, table); 92 talloc_free(db); 161 struct sss_colondb *db = NULL; local 163 db = sss_colondb_open(test_ctx, SSS_COLONDB_READ, 165 assert_null(db); 166 talloc_free(db); 172 struct sss_colondb *db local 183 struct sss_colondb *db = NULL; local 194 struct sss_colondb *db = NULL; local 205 struct sss_colondb *db = NULL; local 217 struct sss_colondb *db = NULL; local 228 struct sss_colondb *db = NULL; local 249 struct sss_colondb *db = NULL; local 270 struct sss_colondb *db = NULL; local 296 struct sss_colondb *db = NULL; local 319 struct sss_colondb *db = NULL; local [all...] |
H A D | test_fo_srv.c | 62 enum host_database *db) 804 * they might not after a failed run. Remove the old db to be sure */ 59 resolv_gethostbyname_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct resolv_ctx *ctx, const char *name, enum restrict_family family_order, enum host_database *db) argument
|
/sssd/src/providers/ |
H A D | be_dyndns.c | 548 enum host_database *db; member in struct:nsupdate_get_addrs_state 581 state->db = talloc_array(state, enum host_database, 2); 582 if (state->db == NULL) { 586 state->db[0] = DB_DNS; 587 state->db[1] = DB_SENTINEL; 591 state->db); 696 state->db);
|
/sssd/src/tools/ |
H A D | sss_override.c | 25 #include "db/sysdb.h" 1283 struct sss_colondb *db; local 1294 db = sss_colondb_open(tmp_ctx, SSS_COLONDB_WRITE, filename); 1295 if (db == NULL) { 1326 ret = sss_colondb_writeline(db, table); 1328 DEBUG(SSSDBG_CRIT_FAILURE, "Unable to write line to db\n"); 1352 struct sss_colondb *db; local 1364 db = sss_colondb_open(tmp_ctx, SSS_COLONDB_WRITE, filename); 1365 if (db == NULL) { 1391 ret = sss_colondb_writeline(db, tabl 1568 struct sss_colondb *db; local 1824 struct sss_colondb *db; local [all...] |
/sssd/src/resolv/ |
H A D | async_resolv.c | 1049 enum host_database *db; member in struct:gethostbyname_state 1072 enum host_database *db) 1103 state->db = db; 1262 if (state->db[state->dbi] != DB_SENTINEL) { 1283 switch(state->db[state->dbi]) { 1320 switch(state->db[state->dbi]) { 1069 resolv_gethostbyname_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct resolv_ctx *ctx, const char *name, enum restrict_family family_order, enum host_database *db) argument
|
Completed in 28 milliseconds