• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source3/registry/

Lines Matching defs:registry_key

76 static WERROR fill_value_cache(struct registry_key *key)
95 static WERROR fill_subkey_cache(struct registry_key *key)
122 struct registry_key *parent,
126 struct registry_key **pregkey)
129 struct registry_key *regkey;
137 if (!(regkey = TALLOC_ZERO_P(mem_ctx, struct registry_key)) ||
230 struct registry_key **pkey)
245 WERROR reg_openkey(TALLOC_CTX *mem_ctx, struct registry_key *parent,
247 struct registry_key **pkey)
249 struct registry_key *direct_parent = parent;
267 struct registry_key *tmp;
300 WERROR reg_enumkey(TALLOC_CTX *mem_ctx, struct registry_key *key,
330 WERROR reg_enumvalue(TALLOC_CTX *mem_ctx, struct registry_key *key,
368 WERROR reg_queryvalue(TALLOC_CTX *mem_ctx, struct registry_key *key,
391 WERROR reg_queryinfokey(struct registry_key *key, uint32_t *num_subkeys,
452 WERROR reg_createkey(TALLOC_CTX *ctx, struct registry_key *parent,
454 struct registry_key **pkey,
457 struct registry_key *key = parent;
458 struct registry_key *create_parent;
481 struct registry_key *tmp;
555 WERROR reg_deletekey(struct registry_key *parent, const char *path)
559 struct registry_key *tmp_key, *key;
605 WERROR reg_setvalue(struct registry_key *key, const char *name,
642 static WERROR reg_value_exists(struct registry_key *key, const char *name)
655 WERROR reg_deletevalue(struct registry_key *key, const char *name)
682 WERROR reg_getkeysecurity(TALLOC_CTX *mem_ctx, struct registry_key *key,
688 WERROR reg_setkeysecurity(struct registry_key *key,
713 struct registry_key_handle registry_key;
722 registry_key.ops = reghook_cache_find(topkeypath);
723 if (!registry_key.ops) {
729 registry_key.name = talloc_strdup(regfile->mem_ctx, topkeypath);
730 if (!registry_key.name) {
767 if (!store_reg_values(&registry_key, values)
768 || !store_reg_keys(&registry_key, subkeys))
836 WERROR reg_restorekey(struct registry_key *key, const char *fname)
855 struct registry_key_handle registry_key;
883 ZERO_STRUCT(registry_key);
885 registry_key.name = talloc_strdup(regfile->mem_ctx, keypath);
886 if (registry_key.name == NULL) {
890 registry_key.ops = reghook_cache_find(registry_key.name);
891 if (registry_key.ops == NULL) {
905 fetch_reg_keys(&registry_key, subkeys);
906 fetch_reg_values(&registry_key, values);
908 result = regkey_get_secdesc(regfile->mem_ctx, &registry_key, &sec_desc);
942 TALLOC_FREE(registry_key.name);
974 WERROR reg_savekey(struct registry_key *key, const char *fname)
983 WERROR reg_deleteallvalues(struct registry_key *key)
1014 struct registry_key **pkey)
1016 struct registry_key *hive, *key;
1070 struct registry_key *parent,
1076 struct registry_key *key;
1118 struct registry_key *parent,
1157 struct registry_key *parent,
1164 struct registry_key *parent,
1182 struct registry_key **pkey)
1184 struct registry_key *hive;
1236 struct registry_key *hive;