/sssd-io/src/responder/kcm/ |
H A D | kcmsrv_pvt.h | 50 struct kcm_ccdb *db; member in struct:kcm_resp_ctx
|
H A D | kcmsrv_ccache_mem.c | 154 static errno_t ccdb_mem_init(struct kcm_ccdb *db) argument 158 memdb = talloc_zero(db, struct ccdb_mem); 162 db->db_handle = memdb; 173 struct kcm_ccdb *db, 186 memdb = talloc_get_type(db->db_handle, struct ccdb_mem); 222 struct kcm_ccdb *db, 228 struct ccdb_mem *memdb = talloc_get_type(db->db_handle, struct ccdb_mem); 287 struct kcm_ccdb *db, 293 struct ccdb_mem *memdb = talloc_get_type(db->db_handle, struct ccdb_mem); 341 struct kcm_ccdb *db, 171 ccdb_mem_nextid_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct kcm_ccdb *db, struct cli_creds *client) argument 220 ccdb_mem_list_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct kcm_ccdb *db, struct cli_creds *client) argument 285 ccdb_mem_set_default_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct kcm_ccdb *db, struct cli_creds *client, uuid_t uuid) argument 339 ccdb_mem_get_default_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct kcm_ccdb *db, struct cli_creds *client) argument 398 ccdb_mem_getbyuuid_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct kcm_ccdb *db, struct cli_creds *client, uuid_t uuid) argument 451 ccdb_mem_getbyname_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct kcm_ccdb *db, struct cli_creds *client, const char *name) argument 504 ccdb_mem_name_by_uuid_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct kcm_ccdb *db, struct cli_creds *client, uuid_t uuid) argument 559 ccdb_mem_uuid_by_name_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct kcm_ccdb *db, struct cli_creds *client, const char *name) argument 606 ccdb_mem_create_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct kcm_ccdb *db, struct cli_creds *client, struct kcm_ccache *cc) argument 652 ccdb_mem_mod_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct kcm_ccdb *db, struct cli_creds *client, uuid_t uuid, struct kcm_mod_ctx *mod_cc) argument 696 ccdb_mem_store_cred_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct kcm_ccdb *db, struct cli_creds *client, uuid_t uuid, struct sss_iobuf *cred_blob) argument 745 ccdb_mem_delete_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct kcm_ccdb *db, struct cli_creds *client, uuid_t uuid) argument [all...] |
H A D | kcmsrv_ccache.c | 277 struct kcm_ccdb *db; member in struct:kcm_ccdb_nextid_state 285 struct kcm_ccdb *db, 297 state->db = db; 300 if (ev == NULL || db == NULL || client == NULL) { 305 subreq = state->db->ops->nextid_send(state, ev, state->db, client); 328 ret = state->db->ops->nextid_recv(subreq, &nextid); 363 struct kcm_ccdb *db; member in struct:kcm_ccdb_list_state 373 struct kcm_ccdb *db, 283 kcm_ccdb_nextid_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct kcm_ccdb *db, struct cli_creds *client) argument 371 kcm_ccdb_list_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct kcm_ccdb *db, struct cli_creds *client) argument 443 struct kcm_ccdb *db; member in struct:kcm_ccdb_get_default_state 449 kcm_ccdb_get_default_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct kcm_ccdb *db, struct cli_creds *client) argument 524 struct kcm_ccdb *db; member in struct:kcm_ccdb_set_default_state 532 kcm_ccdb_set_default_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct kcm_ccdb *db, struct cli_creds *client, uuid_t uuid) argument 661 struct kcm_ccdb *db; member in struct:kcm_ccdb_getbyname_state 669 kcm_ccdb_getbyname_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct kcm_ccdb *db, struct cli_creds *client, const char *name) argument 752 struct kcm_ccdb *db; member in struct:kcm_ccdb_getbyuuid_state 760 kcm_ccdb_getbyuuid_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct kcm_ccdb *db, struct cli_creds *client, uuid_t uuid) argument 843 struct kcm_ccdb *db; member in struct:kcm_ccdb_name_by_uuid_state 851 kcm_ccdb_name_by_uuid_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct kcm_ccdb *db, struct cli_creds *client, uuid_t uuid) argument 923 struct kcm_ccdb *db; member in struct:kcm_ccdb_uuid_by_name_state 931 kcm_ccdb_uuid_by_name_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct kcm_ccdb *db, struct cli_creds *client, const char *name) argument 1003 struct kcm_ccdb *db; member in struct:kcm_ccdb_create_cc_state 1008 kcm_ccdb_create_cc_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct kcm_ccdb *db, struct cli_creds *client, struct kcm_ccache *cc) argument 1104 struct kcm_ccdb *db; member in struct:kcm_ccdb_mod_cc_state 1109 kcm_ccdb_mod_cc_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct kcm_ccdb *db, struct cli_creds *client, uuid_t uuid, struct kcm_mod_ctx *mod_cc) argument 1179 struct kcm_ccdb *db; member in struct:kcm_ccdb_store_cred_blob_state 1184 kcm_ccdb_store_cred_blob_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct kcm_ccdb *db, struct cli_creds *client, uuid_t uuid, struct sss_iobuf *cred_blob) argument 1255 struct kcm_ccdb *db; member in struct:kcm_ccdb_delete_cc_state 1264 kcm_ccdb_delete_cc_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct kcm_ccdb *db, struct cli_creds *client, uuid_t uuid) argument [all...] |
H A D | kcmsrv_ccache_secrets.c | 577 static errno_t ccdb_sec_init(struct kcm_ccdb *db) argument 581 secdb = talloc_zero(db, struct ccdb_sec); 586 secdb->tctx = tcurl_init(secdb, db->ev); 597 db->db_handle = secdb; 761 struct kcm_ccdb *db, 766 struct ccdb_sec *secdb = talloc_get_type(db->db_handle, struct ccdb_sec); 888 struct kcm_ccdb *db, 895 struct ccdb_sec *secdb = talloc_get_type(db->db_handle, struct ccdb_sec); 973 struct kcm_ccdb *db, 979 struct ccdb_sec *secdb = talloc_get_type(db 759 ccdb_sec_nextid_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct kcm_ccdb *db, struct cli_creds *client) argument 886 ccdb_sec_set_default_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct kcm_ccdb *db, struct cli_creds *client, uuid_t uuid) argument 971 ccdb_sec_get_default_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct kcm_ccdb *db, struct cli_creds *client) argument 1078 ccdb_sec_list_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct kcm_ccdb *db, struct cli_creds *client) argument 1177 ccdb_sec_getbyuuid_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct kcm_ccdb *db, struct cli_creds *client, uuid_t uuid) argument 1254 ccdb_sec_getbyname_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct kcm_ccdb *db, struct cli_creds *client, const char *name) argument 1334 ccdb_sec_name_by_uuid_send(TALLOC_CTX *sec_ctx, struct tevent_context *ev, struct kcm_ccdb *db, struct cli_creds *client, uuid_t uuid) argument 1441 ccdb_sec_uuid_by_name_send(TALLOC_CTX *sec_ctx, struct tevent_context *ev, struct kcm_ccdb *db, struct cli_creds *client, const char *name) argument 1544 ccdb_sec_create_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct kcm_ccdb *db, struct cli_creds *client, struct kcm_ccache *cc) argument 1688 struct kcm_ccdb *db; member in struct:ccdb_sec_mod_cred_state 1698 ccdb_sec_mod_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct kcm_ccdb *db, struct cli_creds *client, uuid_t uuid, struct kcm_mod_ctx *mod_cc) argument 1814 struct kcm_ccdb *db; member in struct:ccdb_sec_store_cred_state 1825 ccdb_sec_store_cred_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct kcm_ccdb *db, struct cli_creds *client, uuid_t uuid, struct sss_iobuf *cred_blob) argument 1952 ccdb_sec_delete_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct kcm_ccdb *db, struct cli_creds *client, uuid_t uuid) argument [all...] |
/sssd-io/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-io/src/util/ |
H A D | nscd.c | 116 struct sss_nscd_db db[] = { local 128 for (i = 0; db[i].svc_type_name != NULL; i++) { 129 if (!strcmp(db[i].svc_type_name, svc_name)) { 131 ret = db[i].nscd_service_flag;
|
/sssd-io/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) 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-io/src/providers/ |
H A D | be_dyndns.c | 552 enum host_database *db; member in struct:nsupdate_get_addrs_state 585 state->db = talloc_array(state, enum host_database, 2); 586 if (state->db == NULL) { 590 state->db[0] = DB_DNS; 591 state->db[1] = DB_SENTINEL; 595 state->db); 700 state->db);
|
/sssd-io/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-io/src/resolv/ |
H A D | async_resolv.c | 1047 enum host_database *db; member in struct:gethostbyname_state 1070 enum host_database *db) 1101 state->db = db; 1260 if (state->db[state->dbi] != DB_SENTINEL) { 1281 switch(state->db[state->dbi]) { 1318 switch(state->db[state->dbi]) { 1067 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
|