Lines Matching refs:ctrl
2440 LDAPControl *ctrl, **ctrls, **ctrlp; in PHP_FUNCTION() local
2463 ctrl = *ctrlp = emalloc(sizeof(**ctrlp)); in PHP_FUNCTION()
2465 ctrl->ldctl_oid = Z_STRVAL_P(val); in PHP_FUNCTION()
2468 ctrl->ldctl_value.bv_val = Z_STRVAL_P(val); in PHP_FUNCTION()
2469 ctrl->ldctl_value.bv_len = Z_STRLEN_P(val); in PHP_FUNCTION()
2471 ctrl->ldctl_value.bv_val = NULL; in PHP_FUNCTION()
2472 ctrl->ldctl_value.bv_len = 0; in PHP_FUNCTION()
2476 ctrl->ldctl_iscritical = Z_TYPE_P(val) == IS_TRUE; in PHP_FUNCTION()
2478 ctrl->ldctl_iscritical = 0; in PHP_FUNCTION()
2985 LDAPControl ctrl, *ctrlsp[2]; in PHP_FUNCTION() local
3007 ctrl.ldctl_iscritical = 0; in PHP_FUNCTION()
3015 ctrl.ldctl_iscritical = (int)iscritical; in PHP_FUNCTION()
3024 rc = ber_flatten2(ber, &ctrl.ldctl_value, 0); in PHP_FUNCTION()
3031 ctrl.ldctl_oid = LDAP_CONTROL_PAGEDRESULTS; in PHP_FUNCTION()
3035 ctrlsp[0] = &ctrl; in PHP_FUNCTION()
3049 add_assoc_string(return_value, "oid", ctrl.ldctl_oid); in PHP_FUNCTION()
3050 if (ctrl.ldctl_value.bv_len) { in PHP_FUNCTION()
3051 add_assoc_stringl(return_value, "value", ctrl.ldctl_value.bv_val, ctrl.ldctl_value.bv_len); in PHP_FUNCTION()
3053 if (ctrl.ldctl_iscritical) { in PHP_FUNCTION()
3054 add_assoc_bool(return_value, "iscritical", ctrl.ldctl_iscritical); in PHP_FUNCTION()