Lines Matching refs:rc
103 int rc = LDAP_OPT_ERROR; in ldap_get_option() local
157 rc = LDAP_NO_MEMORY; in ldap_get_option()
165 rc = LDAP_NO_MEMORY; in ldap_get_option()
179 rc = LDAP_OPT_SUCCESS; in ldap_get_option()
190 rc = LDAP_OPT_SUCCESS; in ldap_get_option()
196 rc = LDAP_OPT_SUCCESS; in ldap_get_option()
206 rc = LDAP_OPT_SUCCESS; in ldap_get_option()
216 rc = LDAP_OPT_SUCCESS; in ldap_get_option()
221 rc = LDAP_OPT_SUCCESS; in ldap_get_option()
226 rc = LDAP_OPT_SUCCESS; in ldap_get_option()
231 rc = LDAP_OPT_SUCCESS; in ldap_get_option()
236 rc = LDAP_OPT_SUCCESS; in ldap_get_option()
241 rc = LDAP_OPT_SUCCESS; in ldap_get_option()
246 rc = LDAP_OPT_SUCCESS; in ldap_get_option()
252 rc = LDAP_OPT_SUCCESS; in ldap_get_option()
258 rc = LDAP_OPT_SUCCESS; in ldap_get_option()
263 rc = LDAP_OPT_SUCCESS; in ldap_get_option()
274 rc = LDAP_OPT_SUCCESS; in ldap_get_option()
279 rc = LDAP_OPT_SUCCESS; in ldap_get_option()
288 rc = LDAP_OPT_SUCCESS; in ldap_get_option()
293 rc = LDAP_OPT_SUCCESS; in ldap_get_option()
309 rc = LDAP_OPT_SUCCESS; in ldap_get_option()
318 rc = LDAP_OPT_SUCCESS; in ldap_get_option()
332 rc = LDAP_OPT_SUCCESS; in ldap_get_option()
346 rc = LDAP_OPT_SUCCESS; in ldap_get_option()
360 rc = LDAP_OPT_SUCCESS; in ldap_get_option()
383 rc = LDAP_OPT_SUCCESS; in ldap_get_option()
392 rc = LDAP_OPT_SUCCESS; in ldap_get_option()
403 rc = LDAP_OPT_SUCCESS; in ldap_get_option()
408 rc = LDAP_OPT_SUCCESS; in ldap_get_option()
413 rc = LDAP_OPT_SUCCESS; in ldap_get_option()
418 rc = LDAP_OPT_SUCCESS; in ldap_get_option()
423 rc = LDAP_OPT_SUCCESS; in ldap_get_option()
428 rc = LDAP_OPT_SUCCESS; in ldap_get_option()
434 rc = LDAP_OPT_SUCCESS; in ldap_get_option()
440 rc = LDAP_OPT_SUCCESS; in ldap_get_option()
446 rc = LDAP_OPT_SUCCESS; in ldap_get_option()
455 return ( rc ); in ldap_get_option()
466 int rc = LDAP_OPT_ERROR; in ldap_set_option() local
510 rc = LDAP_OPT_SUCCESS; in ldap_set_option()
519 rc = LDAP_OPT_SUCCESS; in ldap_set_option()
528 rc = LDAP_OPT_SUCCESS; in ldap_set_option()
537 rc = LDAP_OPT_SUCCESS; in ldap_set_option()
549 rc = LDAP_OPT_SUCCESS; in ldap_set_option()
560 rc = LDAP_OPT_SUCCESS; in ldap_set_option()
572 rc = LDAP_OPT_SUCCESS; in ldap_set_option()
583 rc = LDAP_OPT_SUCCESS; in ldap_set_option()
590 rc = LDAP_OPT_SUCCESS; in ldap_set_option()
593 rc = ldap_url_parsehosts( &ludlist, host, in ldap_set_option()
601 … rc = ldap_url_parselist_ext(&ludlist, "ldap://localhost/", NULL, in ldap_set_option()
613 rc = LDAP_NO_MEMORY; in ldap_set_option()
616 if (rc == LDAP_OPT_SUCCESS) { in ldap_set_option()
630 rc = LDAP_OPT_SUCCESS; in ldap_set_option()
642 rc = LDAP_NO_MEMORY; in ldap_set_option()
644 if( rc == LDAP_OPT_SUCCESS ) { in ldap_set_option()
645 … rc = ldap_validate_and_fill_sourceip ( source_ip_lst, in ldap_set_option()
649 if ( rc == LDAP_OPT_SUCCESS ) { in ldap_set_option()
664 rc = LDAP_OPT_SUCCESS; in ldap_set_option()
667 rc = ldap_url_parselist_ext(&ludlist, urls, NULL, in ldap_set_option()
675 … rc = ldap_url_parselist_ext(&ludlist, "ldap://localhost/", NULL, in ldap_set_option()
687 rc = LDAP_URL_ERR_MEM; in ldap_set_option()
690 switch (rc) { in ldap_set_option()
692 rc = LDAP_SUCCESS; in ldap_set_option()
696 rc = LDAP_NO_MEMORY; in ldap_set_option()
708 rc = LDAP_PARAM_ERROR; in ldap_set_option()
712 if (rc == LDAP_SUCCESS) { in ldap_set_option()
727 rc = LDAP_NO_MEMORY; in ldap_set_option()
734 rc = LDAP_NO_MEMORY; in ldap_set_option()
743 rc = LDAP_OPT_SUCCESS; in ldap_set_option()
763 rc = LDAP_OPT_SUCCESS; in ldap_set_option()
783 rc = LDAP_OPT_SUCCESS; in ldap_set_option()
802 rc = LDAP_OPT_SUCCESS; in ldap_set_option()
809 rc = LDAP_OPT_SUCCESS; in ldap_set_option()
814 rc = LDAP_OPT_SUCCESS; in ldap_set_option()
821 rc = LDAP_OPT_SUCCESS; in ldap_set_option()
826 rc = LDAP_OPT_SUCCESS; in ldap_set_option()
833 rc = LDAP_OPT_SUCCESS; in ldap_set_option()
838 rc = LDAP_OPT_SUCCESS; in ldap_set_option()
898 rc = LDAP_OPT_SUCCESS; in ldap_set_option()
904 rc = LDAP_OPT_SUCCESS; in ldap_set_option()
910 rc = LDAP_OPT_SUCCESS; in ldap_set_option()
919 rc = LDAP_OPT_SUCCESS; in ldap_set_option()
928 rc = LDAP_OPT_SUCCESS; in ldap_set_option()
939 rc = LDAP_OPT_SUCCESS; in ldap_set_option()
952 rc = LDAP_OPT_SUCCESS; in ldap_set_option()
957 rc = LDAP_OPT_SUCCESS; in ldap_set_option()
966 rc = LDAP_NO_MEMORY; in ldap_set_option()
974 rc = LDAP_OPT_SUCCESS; in ldap_set_option()
978 rc = LDAP_OPT_SUCCESS; in ldap_set_option()
982 rc = LDAP_OPT_SUCCESS; in ldap_set_option()
986 rc = LDAP_OPT_SUCCESS; in ldap_set_option()
990 rc = LDAP_OPT_SUCCESS; in ldap_set_option()
995 return ( rc ); in ldap_set_option()
1001 int rc; in ldap_set_rebind_proc() local
1002 rc = ldap_set_option( ld, LDAP_OPT_REBIND_PROC, (void *)proc ); in ldap_set_rebind_proc()
1003 if( rc != LDAP_OPT_SUCCESS ) return rc; in ldap_set_rebind_proc()
1005 rc = ldap_set_option( ld, LDAP_OPT_REBIND_PARAMS, (void *)params ); in ldap_set_rebind_proc()
1006 return rc; in ldap_set_rebind_proc()
1012 int rc; in ldap_set_nextref_proc() local
1013 rc = ldap_set_option( ld, LDAP_OPT_NEXTREF_PROC, (void *)proc ); in ldap_set_nextref_proc()
1014 if( rc != LDAP_OPT_SUCCESS ) return rc; in ldap_set_nextref_proc()
1016 rc = ldap_set_option( ld, LDAP_OPT_NEXTREF_PARAMS, (void *)params ); in ldap_set_nextref_proc()
1017 return rc; in ldap_set_nextref_proc()
1023 int rc; in ldap_set_urllist_proc() local
1024 rc = ldap_set_option( ld, LDAP_OPT_URLLIST_PROC, (void *)proc ); in ldap_set_urllist_proc()
1025 if( rc != LDAP_OPT_SUCCESS ) return rc; in ldap_set_urllist_proc()
1027 rc = ldap_set_option( ld, LDAP_OPT_URLLIST_PARAMS, (void *)params ); in ldap_set_urllist_proc()
1028 return rc; in ldap_set_urllist_proc()