Searched defs:profile (Results 1 - 25 of 27) sorted by relevance

12

/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Devel/DProf/t/
H A DDProf.t44 sub profile { subroutine
82 profile $test;
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dlibdef_parse.c69 profile_t profile; local
84 profile = context->profile;
100 retval = profile_get_values(profile, names, &nameval);
114 retval = profile_get_values(profile, names, &nameval);
H A Dappdefault.c4 * handle the [appdefaults] profile section
43 profile_t profile; local
52 profile = context->profile;
72 retval = profile_get_values(profile, names, &nameval);
90 retval = profile_get_values(profile, names, &nameval);
108 retval = profile_get_values(profile, names, &nameval);
124 retval = profile_get_values(profile, names, &nameval);
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_set.c4 * inserting, updating and deleting items from the profile.
7 * profile. It's not clear how to handle multiple files, actually.
24 static errcode_t rw_setup(profile_t profile) argument
29 if (!profile)
32 if (profile->magic != PROF_MAGIC_PROFILE)
35 file = profile->first_file;
84 profile_update_relation(profile_t profile, const char **names, argument
92 retval = rw_setup(profile);
102 retval = k5_mutex_lock(&profile->first_file->data->lock);
105 section = profile
137 profile_clear_relation(profile_t profile, const char **names) argument
182 profile_rename_section(profile_t profile, const char **names, const char *new_name) argument
235 profile_add_relation(profile_t profile, const char **names, const char *new_value) argument
[all...]
H A Dprof_file.c7 * prof_file.c ---- routines that manipulate an individual profile file.
167 int profile_file_is_writable(prf_file_t profile) argument
169 if (profile && profile->data) {
170 return rw_access(profile->data->filespec);
355 * profile file if it changes.
H A Dprof_get.c4 * querying items from the profile.
19 * profile functions can call upon these basic routines:
127 profile_get_values(profile_t profile, const char *const *names, argument
135 if ((retval = profile_node_iterator_create(profile, names,
167 errcode_t profile_get_value(profile_t profile, const char **names, argument
174 if ((retval = profile_node_iterator_create(profile, names,
193 profile_get_string(profile_t profile, const char *name, const char *subname, argument
201 if (profile) {
206 retval = profile_get_value(profile, names, &value);
224 profile_get_integer(profile_t profile, cons argument
305 profile_get_boolean(profile_t profile, const char *name, const char *subname, const char *subsubname, int def_val, int *ret_boolean) argument
336 profile_get_subsection_names(profile_t profile, const char **names, char ***ret_names) argument
372 profile_get_relation_names(profile_t profile, const char **names, char ***ret_names) argument
404 profile_iterator_create(profile_t profile, const char *const *names, int flags, void **ret_iter) argument
[all...]
H A Dprof_init.c28 profile_t profile; local
32 profile = malloc(sizeof(struct _profile_t));
33 if (!profile)
35 memset(profile, 0, sizeof(struct _profile_t));
36 profile->magic = PROF_MAGIC_PROFILE;
40 * profile.
50 profile_release(profile);
56 profile->first_file = new_file;
64 profile_release(profile);
69 *ret_profile = profile;
159 profile_is_writable(profile_t profile, int *writable) argument
174 profile_is_modified(profile_t profile, int *modified) argument
189 profile_flush(profile_t profile) argument
201 profile_flush_to_file(profile_t profile, const_profile_filespec_t outfile) argument
214 profile_flush_to_buffer(profile_t profile, char **buf) argument
220 profile_free_buffer(profile_t profile, char *buf) argument
226 profile_abandon(profile_t profile) argument
242 profile_release(profile_t profile) argument
260 profile_ser_size(const char *unused, profile_t profile, size_t *sizep) argument
282 profile_ser_externalize(const char *unused, profile_t profile, unsigned char **bufpp, size_t *remainp) argument
[all...]
H A Dprof_solaris.c46 k5_profile_iter_name_value(profile_t profile, char *section, char *key, argument
62 code = profile_iterator_create(profile, hierarchy,
125 k5_profile_get_domain_realm(profile_t profile, char *realm, char ***domains, argument
128 if (profile == NULL || realm == NULL || domains == NULL)
131 return (k5_profile_iter_name_value(profile, "domain_realm", realm,
136 k5_profile_set_appdefaults(profile_t profile) argument
141 if (profile == NULL)
153 (void) profile_clear_relation(profile, hierarchy);
155 code = profile_add_relation(profile, hierarchy, "true");
161 (void) profile_clear_relation(profile, hierarch
169 k5_profile_set_logging(profile_t profile) argument
227 k5_profile_set_libdefaults(profile_t profile, char *realm) argument
250 k5_profile_set_kdc(profile_t profile, char *realm, char *kdc, boolean_t overwrite) argument
288 k5_profile_release(profile_t profile) argument
315 k5_profile_abandon(profile_t profile) argument
329 k5_profile_add_domain_mapping(profile_t profile, char *domain, char *realm) argument
360 k5_profile_remove_domain_mapping(profile_t profile, char *realm) argument
402 k5_profile_get_realm_entry(profile_t profile, char *realm, char *name, char ***ret_value) argument
441 k5_profile_add_realm_entry(profile_t profile, char *realm, char *name, char **values) argument
480 k5_profile_get_default_realm(profile_t profile, char **realm) argument
507 k5_profile_get_realms(profile_t profile, char ***realms) argument
538 k5_profile_add_realm(profile_t profile, char *realm, char *master, char **kdcs, boolean_t set_change, boolean_t default_realm) argument
611 k5_profile_remove_xrealm_mapping(profile_t profile, char *realm) argument
706 k5_profile_remove_realm(profile_t profile, char *realm) argument
767 k5_profile_add_xrealm_mapping(profile_t profile, char *source, char *target, char *inter) argument
850 k5_profile_validate(profile_t profile, char *realm, int *val_err, char **val) argument
1004 k5_profile_init(char *filename, profile_t *profile) argument
1068 k5_profile_validate_get_error_msg(profile_t profile, int err, char *val, char **err_msg) argument
[all...]
H A Dprof_tree.c6 * this file; all of the other profile routines build, access, and
119 * the profile are true. If not, we have a programming bug somewhere,
354 * profile node) makes this function mostly syntactic sugar for
398 profile_t profile; member in struct:profile_iterator
409 errcode_t profile_node_iterator_create(profile_t profile, argument
416 if (profile == 0)
418 if (profile->magic != PROF_MAGIC_PROFILE)
432 iter->profile = profile;
435 iter->file = profile
[all...]
/osnet-11/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_profile.c41 * Routines for handling profile [config file] options
98 profile_t profile = NULL; local
106 profile = context->profile;
122 retval = profile_get_values(profile, names, &values);
137 retval = profile_get_values(profile, names, &values);
230 profile_t profile; local
247 profile = context->profile;
264 retval = profile_get_values(profile, name
[all...]
/osnet-11/usr/src/cmd/ldap/ns_ldap/
H A Dldapaddrbac.c288 char **profile; local
294 profile = __ns_ldap_getAttr(res->entry, "cn");
299 if (profile == NULL || profile[0] == NULL ||
305 (void) fprintf(stdout, "%s", profile[0]);
/osnet-11/usr/src/lib/libuutil/common/
H A Duu_pname.c69 uu_alt_exit(int profile) argument
71 switch (profile) {
/osnet-11/usr/src/lib/pam_modules/user_policy/
H A Duser_policy.c49 find_pam_policy_cb(const char *profile, kva_t *kva, void *ctxt, void *result) argument
51 NOTE(ARGUNUSED(profile))
95 * their user attributes or an assigned profile and then evaluate the
/osnet-11/usr/src/cmd/hal/probing/storage/
H A Dprobe-storage.c66 get_cdrom_properties_walker (void *arg, int profile, boolean_t is_current) argument
70 switch (profile) {
/osnet-11/usr/src/lib/libsldap/common/
H A Dns_confmgr.c157 gettext("Illegal profile type on line %d."),
325 /* Get the version of the profile. */
583 char *profile, *container, *base; local
621 profile = ptr->paramList[NS_LDAP_PROFILE_P].ns_pc;
626 * Construct DN, but since this is the profile, there is no need
627 * to worry about mapping. The profile itself can not be mapped
629 (void) fprintf(fp, "dn: cn=%s,ou=%s,%s\n", profile, container, base);
847 gettext("Configuration Error: More than one profile "
864 /* Check to see if the profile is version 1 or version 2 */
995 * Download a profile int
1000 __ns_ldap_download(const char *profile, char *addr, char *baseDN, ns_ldap_error_t **errorp) argument
[all...]
H A Dns_standalone.c984 char **profile)
992 (void) snprintf(searchBaseDN, BUFSIZ, "ou=profile,%s", dir_base_dn);
1012 /* If successful, the DUA profile was found. */
1034 profile);
981 getDUAProfile(LDAP *ld, const char *dir_base_dn, const char *profile_name, char **profile) argument
/osnet-11/usr/src/lib/libsmbns/common/
H A Dsmbns_krb.c245 profile_t profile; local
251 if ((rc = k5_profile_init(path, &profile)) != 0)
254 if ((rc = k5_profile_set_libdefaults(profile, (char *)drealm)) != 0) {
255 k5_profile_abandon(profile);
259 if ((rc = k5_profile_release(profile)) != 0) {
260 k5_profile_abandon(profile);
/osnet-11/usr/src/lib/libnetcfg/common/
H A Dlibnetcfg.c159 netcfg_active_profile(char *profile, size_t pbuflen) argument
165 *profile = NULL;
173 (void) strlcpy(profile, S10_BRAND_DUMMY_PROFILE,
185 (void) strlcpy(profile, scf_simple_prop_next_astring(prop),
/osnet-11/usr/src/cmd/hal/probing/volume/
H A Dprobe-volume.c223 int profile; local
240 if (get_current_profile (fd, &profile)) {
241 switch (profile) {
305 (void) get_disc_capacity_for_profile(fd, profile, &capacity);
/osnet-11/usr/src/cmd/hal/utils/
H A Dcdutils.c211 get_current_profile(int fd, int *profile) argument
232 *profile = GET16(&bufp[6]);
245 uint16_t profile, current_profile; local
266 profile = GET16(&bufp[i]);
267 ret = f(arg, profile, (profile == current_profile));
448 * given current profile, use the best method for determining
452 get_disc_capacity_for_profile(int fd, int profile, uint64_t *capacity) argument
458 switch (profile) {
/osnet-11/usr/src/lib/krb5/kadm5/
H A Dalt_prof.c34 * alt_prof.c - Implement alternate profile file handling.
81 * krb5_aprof_init() - Initialize alternate profile context.
84 * fname - default file name of the profile.
86 * acontextp - Pointer to opaque context for alternate profile.
98 profile_t profile; local
122 profile = (profile_t) NULL;
123 kret = profile_init_path(profile_path, &profile);
127 *acontextp = profile;
132 * krb5_aprof_getvals() - Get values from alternate profile.
135 * acontext - opaque context for alternate profile
[all...]
/osnet-11/usr/src/lib/libdladm/common/
H A Dlibdladm.c103 dladm_open(dladm_handle_t *handle, const char *profile) argument
126 if (profile == NULL || strcmp(profile, NETADM_ACTIVE_PROFILE) == 0) {
134 (void) strlcpy((*handle)->dh_profile, profile,
/osnet-11/usr/src/lib/libipadm/common/
H A Dlibipadm.c234 ipadm_open(ipadm_handle_t *handle, const char *profile, uint32_t flags, argument
258 if (profile == NULL || strcmp(profile, NETADM_ACTIVE_PROFILE) == 0) {
265 (void) strlcpy(iph->ih_profile, profile, NETCFG_PROFILE_LEN);
1296 * Create a fixed profile with the provided name.
/osnet-11/usr/src/lib/pkcs11/pkcs11_kms/common/
H A DkmsKeystoreUtil.c68 #define KMS_PROFILE_FILENAME "profile.cfg"
943 KMS_LoadProfile(KMSClientProfile *profile, argument
974 /* First, try to load existing profile */
976 profile,
/osnet-11/usr/src/lib/libdiskmgt/common/
H A Ddrive.c130 uchar_t profile[2]; member in struct:conf_feature::features::profile_list
1278 /* The first profile is the preferred one for the drive. */
1285 prof_num = (int)convnum(feature->features.plist[0].profile, 2);

Completed in 176 milliseconds

12