Searched defs:prefix (Results 1 - 8 of 8) sorted by relevance

/sssd-io/src/responder/ifp/
H A Difp_iface_nodes.c40 const char *prefix)
78 node = sbus_opath_strip_prefix(paths[i], prefix);
37 nodes_cached_objects(TALLOC_CTX *mem_ctx, void *data, enum ifp_cache_type type, const char *prefix) argument
/sssd-io/src/tests/cmocka/
H A Dtest_sbus_opath.c34 const char *prefix = "/org/freedesktop/sssd/"; local
38 strip = sbus_opath_strip_prefix(path, prefix);
39 assert_non_null(prefix);
42 strip = sbus_opath_strip_prefix("/other/path", prefix);
203 ret = sbus_opath_decompose(NULL, path, "/wrong/prefix", &components, &len);
/sssd-io/src/tests/
H A Dstress-tests.c138 int generate_names(TALLOC_CTX *mem_ctx, const char *prefix, argument
151 out[idx] = talloc_asprintf(mem_ctx, "%s%d", prefix, idx);
218 { "prefix", '\0', POPT_ARG_STRING, &pc_prefix, 0,
219 "The username prefix", NULL },
222 "Start value to append to prefix", NULL },
225 "End value to append to prefix", NULL },
/sssd-io/src/responder/secrets/
H A Dproviders.c32 const char *prefix; member in struct:url_pfx_router
104 for (int i = 0; secrets_url_mapping[i].prefix != NULL; i++) {
106 secrets_url_mapping[i].prefix,
107 strlen(secrets_url_mapping[i].prefix)) == 0) {
109 "Mapping prefix %s\n", secrets_url_mapping[i].prefix);
117 "Path [%s] does not start with any allowed prefix\n",
/sssd-io/src/responder/kcm/
H A Dkcmsrv_ccache.c1422 char prefix[64]; local
1425 prefix_len = snprintf(prefix, sizeof(prefix),
1428 if (strncmp(name, prefix, prefix_len) != 0) {
/sssd-io/src/sbus/
H A Dsssd_dbus_interface.c361 const char *prefix,
378 /* Strip prefix from the path. */
379 if (prefix != NULL) {
380 path = sbus_opath_strip_prefix(object_path, prefix);
425 const char *prefix,
433 ret = sbus_opath_decompose(mem_ctx, object_path, prefix,
453 const char *prefix)
455 if (strncmp(object_path, prefix, strlen(prefix)) == 0) {
456 return object_path + strlen(prefix);
359 sbus_opath_decompose(TALLOC_CTX *mem_ctx, const char *object_path, const char *prefix, char ***_components, size_t *_len) argument
423 sbus_opath_decompose_exact(TALLOC_CTX *mem_ctx, const char *object_path, const char *prefix, size_t expected, char ***_components) argument
452 sbus_opath_strip_prefix(const char *object_path, const char *prefix) argument
[all...]
/sssd-io/src/providers/ipa/
H A Dipa_sudo_conversion.c1103 char prefix)
1130 if (prefix == '\0') {
1133 command = talloc_asprintf(tmp_ctx, "%c%s", prefix, cmds[i][j]);
1100 build_sudocommand(struct ipa_sudo_conv *conv, struct ipa_sudo_rulemember *mlist, struct sysdb_attrs *attrs, char prefix) argument
/sssd-io/src/responder/common/
H A Dnegcache.c871 const char *prefix = (const char *) state; local
873 if (strncmp((char *)key.dptr, prefix, strlen(prefix) - 1) != 0) {

Completed in 36 milliseconds