Lines Matching defs:errorp

1221 	ns_ldap_error_t *errorp = NULL;
1235 &sinfo, &errorp, NS_CACHE_ADDR_IP);
1237 (void) __ns_ldap_freeError(&errorp);
1440 * errorp : hold pointer to error info (ns_ldap_error_t)
1444 Connection **session, ns_ldap_error_t **errorp, ns_conn_user_t *cu)
1452 if (errorp == NULL || cu == NULL || session == NULL)
1482 NS_CONN_CHECK_ABORT_AND_LOCK(cmg, cu, errorp);
1567 cn = init_conn_mt(cmg, server, cred, errorp);
1570 return ((*errorp)->status);
1696 err2cm(ns_conn_mt_t *cm, int rc, ns_ldap_error_t **errorp) {
1701 if (errorp != NULL && *errorp != NULL) {
1702 ep = __s_api_copy_error(*errorp);
1730 err_from_caller(ns_conn_user_t *cu, int rc, ns_ldap_error_t **errorp) {
1733 if (errorp != NULL) {
1736 cu->ns_error = *errorp;
1737 *errorp = NULL;
1748 * errorp : pointer to pointer to error info (ns_ldap_error_t)
1750 * errorp : set to NULL, if none NULL cm, callers do not need to free it
1753 __s_api_conn_mt_remove(ns_conn_user_t *cu, int rc, ns_ldap_error_t **errorp)
1770 if (errorp != NULL) {
1771 cm->ns_error = *errorp;
1772 *errorp = NULL;
1845 close_conn_mt(ns_conn_mt_t *cm, int rc, ns_ldap_error_t **errorp,
1887 err2cm(cm, rc, errorp);
1921 * errorp : pointer to pointer to error info (ns_ldap_error_t)
1923 * errorp : set to NULL (if no error), callers do not need to free it
1926 __s_api_conn_mt_close(ns_conn_user_t *cu, int rc, ns_ldap_error_t **errorp)
1943 free_cm = close_conn_mt(cm, rc, errorp, cu);
1951 err_from_caller(cu, rc, errorp);
2034 ns_ldap_error_t *errorp = NULL;
2050 &pservers, &errorp) == NS_LDAP_SUCCESS) {
2054 (void) __ns_ldap_freeError(&errorp);
2356 ns_ldap_error_t **errorp)
2390 *errorp = NULL;
2392 /* for 1+ try, use previous rc and errorp */
2397 if (*try_cnt > 1 && rc != NS_LDAP_SUCCESS && *errorp != NULL)
2398 (void) __ns_ldap_freeError(errorp);
2406 ns_ldap_error_t **errorp)
2420 *errorp = cu->ns_error;
2427 *errorp = NULL;