Lines Matching refs:ZSTR_VAL

1247 	if (ZSTR_VAL(mailbox)[0] != '{' && php_check_open_basedir(ZSTR_VAL(mailbox))) {  in php_imap_do_open()
1251 IMAPG(imap_user) = estrndup(ZSTR_VAL(user), ZSTR_LEN(user)); in php_imap_do_open()
1252 IMAPG(imap_password) = estrndup(ZSTR_VAL(passwd), ZSTR_LEN(passwd)); in php_imap_do_open()
1265 imap_stream = mail_open(NIL, ZSTR_VAL(mailbox), flags); in php_imap_do_open()
1269 php_error_docref(NULL, E_WARNING, "Couldn't open stream %s", ZSTR_VAL(mailbox)); in php_imap_do_open()
1324 if (ZSTR_VAL(mailbox)[0] != '{' && php_check_open_basedir(ZSTR_VAL(mailbox))) { in PHP_FUNCTION()
1328 imap_le_struct->imap_stream = mail_open(imap_le_struct->imap_stream, ZSTR_VAL(mailbox), flags); in PHP_FUNCTION()
1378 INIT (&st, mail_string, (void *) ZSTR_VAL(message), ZSTR_LEN(message)); in PHP_FUNCTION()
1380 …end_full(imap_le_struct->imap_stream, ZSTR_VAL(folder), (flags ? ZSTR_VAL(flags) : NIL), (internal… in PHP_FUNCTION()
1467 if (!imap_getquota(imap_le_struct->imap_stream, ZSTR_VAL(qroot))) { in PHP_FUNCTION()
1496 if (!imap_getquotaroot(imap_le_struct->imap_stream, ZSTR_VAL(mbox))) { in PHP_FUNCTION()
1526 RETURN_BOOL(imap_setquota(imap_le_struct->imap_stream, ZSTR_VAL(qroot), &limits)); in PHP_FUNCTION()
1546 …RETURN_BOOL(imap_setacl(imap_le_struct->imap_stream, ZSTR_VAL(mailbox), ZSTR_VAL(id), ZSTR_VAL(rig… in PHP_FUNCTION()
1573 if (!imap_getacl(imap_le_struct->imap_stream, ZSTR_VAL(mailbox))) { in PHP_FUNCTION()
1788 …if (mail_copy_full(imap_le_struct->imap_stream, ZSTR_VAL(seq), ZSTR_VAL(folder), (argc == 4 ? opti… in PHP_FUNCTION()
1814 …if (mail_copy_full(imap_le_struct->imap_stream, ZSTR_VAL(seq), ZSTR_VAL(folder), (argc == 4 ? (opt… in PHP_FUNCTION()
1838 if (mail_create(imap_le_struct->imap_stream, ZSTR_VAL(folder)) == T) { in PHP_FUNCTION()
1862 if (mail_rename(imap_le_struct->imap_stream, ZSTR_VAL(old_mailbox), ZSTR_VAL(new_mailbox)) == T) { in PHP_FUNCTION()
1886 if (mail_delete(imap_le_struct->imap_stream, ZSTR_VAL(folder)) == T) { in PHP_FUNCTION()
1915 mail_list(imap_le_struct->imap_stream, ZSTR_VAL(ref), ZSTR_VAL(pat)); in PHP_FUNCTION()
1955 mail_list(imap_le_struct->imap_stream, ZSTR_VAL(ref), ZSTR_VAL(pat)); in PHP_FUNCTION()
2001 mail_scan(imap_le_struct->imap_stream, ZSTR_VAL(ref), ZSTR_VAL(pat), ZSTR_VAL(content)); in PHP_FUNCTION()
2202 …rfc822_parse_msg(&en, NULL, ZSTR_VAL(headers), ZSTR_LEN(headers), NULL, ZSTR_VAL(defaulthost), NIL… in PHP_FUNCTION()
2204 rfc822_parse_msg(&en, NULL, ZSTR_VAL(headers), ZSTR_LEN(headers), NULL, "UNKNOWN", NIL); in PHP_FUNCTION()
2237 mail_lsub(imap_le_struct->imap_stream, ZSTR_VAL(ref), ZSTR_VAL(pat)); in PHP_FUNCTION()
2278 mail_lsub(imap_le_struct->imap_stream, ZSTR_VAL(ref), ZSTR_VAL(pat)); in PHP_FUNCTION()
2323 if (mail_subscribe(imap_le_struct->imap_stream, ZSTR_VAL(folder)) == T) { in PHP_FUNCTION()
2347 if (mail_unsubscribe(imap_le_struct->imap_stream, ZSTR_VAL(folder)) == T) { in PHP_FUNCTION()
2435 …body = mail_fetchbody_full(imap_le_struct->imap_stream, msgno, ZSTR_VAL(sec), &len, (argc == 4 ? f… in PHP_FUNCTION()
2477 …body = mail_fetch_mime(imap_le_struct->imap_stream, msgno, ZSTR_VAL(sec), &len, (argc == 4 ? flags… in PHP_FUNCTION()
2533 mail_fetchbody_full(imap_ptr->imap_stream, msgno, section?ZSTR_VAL(section):"", NULL, flags); in PHP_FUNCTION()
2557 decode = (char *) rfc822_base64((unsigned char *) ZSTR_VAL(text), ZSTR_LEN(text), &newlength); in PHP_FUNCTION()
2580 decode = (char *) rfc822_qprint((unsigned char *) ZSTR_VAL(text), ZSTR_LEN(text), &newlength); in PHP_FUNCTION()
2603 decode = (char *) rfc822_8bit((unsigned char *) ZSTR_VAL(text), ZSTR_LEN(text), &newlength); in PHP_FUNCTION()
2626 decode = (char*)rfc822_binary(ZSTR_VAL(text), ZSTR_LEN(text), &newlength); in PHP_FUNCTION()
2698 addr->mailbox = cpystr(ZSTR_VAL(mailbox)); in PHP_FUNCTION()
2702 addr->host = cpystr(ZSTR_VAL(host)); in PHP_FUNCTION()
2706 addr->personal = cpystr(ZSTR_VAL(personal)); in PHP_FUNCTION()
2740 str_copy = estrndup(ZSTR_VAL(str), ZSTR_LEN(str)); in PHP_FUNCTION()
2741 rfc822_parse_adrlist(&env->to, str_copy, ZSTR_VAL(defaulthost)); in PHP_FUNCTION()
2785 cpytxt(&src, ZSTR_VAL(str), ZSTR_LEN(str)); in PHP_FUNCTION()
2844 in = (const unsigned char *) ZSTR_VAL(arg); in PHP_FUNCTION()
2983 in = (const unsigned char *) ZSTR_VAL(arg); in PHP_FUNCTION()
3021 outp = (unsigned char*)ZSTR_VAL(out); in PHP_FUNCTION()
3092 out = utf8_to_mutf7((unsigned char *) ZSTR_VAL(in)); in php_imap_mutf7()
3094 out = utf8_from_mutf7((unsigned char *) ZSTR_VAL(in)); in php_imap_mutf7()
3140 …mail_setflag_full(imap_le_struct->imap_stream, ZSTR_VAL(sequence), ZSTR_VAL(flag), (flags ? flags … in PHP_FUNCTION()
3163 …mail_clearflag_full(imap_le_struct->imap_stream, ZSTR_VAL(sequence), ZSTR_VAL(flag), (argc == 4 ? … in PHP_FUNCTION()
3201 search_criteria = estrndup(ZSTR_VAL(criteria), ZSTR_LEN(criteria)); in PHP_FUNCTION()
3216 …slst = mail_sort(imap_le_struct->imap_stream, (argc == 6 ? ZSTR_VAL(charset) : NIL), spg, mypgm, (… in PHP_FUNCTION()
3336 if (mail_status(imap_le_struct->imap_stream, ZSTR_VAL(mbx), flags)) { in PHP_FUNCTION()
3385 body=mail_body(imap_le_struct->imap_stream, msg, (unsigned char*)ZSTR_VAL(section)); in PHP_FUNCTION()
3500 ? mail_uid_sequence(imap_le_struct->imap_stream, (unsigned char*)ZSTR_VAL(sequence)) in PHP_FUNCTION()
3501 : mail_sequence(imap_le_struct->imap_stream, (unsigned char*)ZSTR_VAL(sequence)); in PHP_FUNCTION()
3560 char *p = ZSTR_VAL(str); in header_injection()
3725 disp_param->attribute = cpystr(ZSTR_VAL(key)); in PHP_FUNCTION()
3765 disp_param->attribute = cpystr(ZSTR_VAL(key)); in PHP_FUNCTION()
3847 disp_param->attribute = cpystr(ZSTR_VAL(key)); in PHP_FUNCTION()
3887 disp_param->attribute = cpystr(ZSTR_VAL(key)); in PHP_FUNCTION()
4232 …if (_php_imap_mail(ZSTR_VAL(to), ZSTR_VAL(subject), ZSTR_VAL(message), headers?ZSTR_VAL(headers):N… in PHP_FUNCTION()
4233 bcc?ZSTR_VAL(bcc):NULL, rpath?ZSTR_VAL(rpath):NULL)) { in PHP_FUNCTION()
4262 search_criteria = estrndup(ZSTR_VAL(criteria), ZSTR_LEN(criteria)); in PHP_FUNCTION()
4267 mail_search_full(imap_le_struct->imap_stream, (argc == 4 ? ZSTR_VAL(charset) : NIL), pgm, flags); in PHP_FUNCTION()
4386 string = ZSTR_VAL(str); in PHP_FUNCTION()