Lines Matching defs:to

4  * The contents of this file are subject to the terms of the
93 * ptr - memory to be freed
141 * Sometimes the property is not set. In that case, str is set to NULL but
347 * Retrieve the rule which caused the batch to fail. If
564 * Create iterator to get name-based mapping rules
725 * Create iterator to get SID to UID/GID mappings
745 * Iterate through the SID to UID/GID mappings
933 * Create handle to get SID to UID/GID mapping entries
1596 * Get windows to unix mapping
1710 * Get unix to windows mapping
1847 gettext("Invalid Windows to UNIX name-based rule"), EINVAL},
1849 gettext("Invalid UNIX to Windows name-based rule"), EINVAL},
1863 gettext("New mapping needs to be created"), EINVAL},
1877 "Windows to UNIX name-based rule"), EINVAL},
1880 "Unix to Windows name-based rule"), EINVAL},
2001 * Map the given status to one that can be returned by the protocol
2018 * either the 'to' OR 'from' pointers are NULL.
2021 idmap_strdupnull(char **to, const char *from)
2023 if (to == NULL)
2027 *to = NULL;
2031 *to = strdup(from);
2032 if (*to == NULL)
2039 idmap_namerule_cpy(idmap_namerule *to, idmap_namerule *from)
2043 if (to == NULL)
2046 (void) memcpy(to, from, sizeof (idmap_namerule));
2047 to->windomain = NULL;
2048 to->winname = NULL;
2049 to->unixname = NULL;
2051 retval = idmap_strdupnull(&to->windomain, from->windomain);
2055 retval = idmap_strdupnull(&to->winname, from->winname);
2057 free(to->windomain);
2058 to->windomain = NULL;
2062 retval = idmap_strdupnull(&to->unixname, from->unixname);
2064 free(to->windomain);
2065 to->windomain = NULL;
2066 free(to->winname);
2067 to->winname = NULL;
2076 * Move the contents of the "info" structure from "from" to "to".
2079 idmap_info_mov(idmap_info *to, idmap_info *from)
2081 (void) memcpy(to, from, sizeof (idmap_info));
2130 /* If we have not got the domain don't store UID to winname */
2166 /* If we have not got the domain don't store GID to winname */
2213 * The given PID may have been mapped to a locally
2301 * look up a value, so that the same set of functions can be used to
2389 idmap_trace_print_id(out, entry, "to");