Lines Matching refs:bod

3221 	BODY *bod=NULL, *topbod=NULL;  in PHP_FUNCTION()  local
3338 bod = mail_newbody(); in PHP_FUNCTION()
3339 topbod = bod; in PHP_FUNCTION()
3344 bod->type = (short) type; in PHP_FUNCTION()
3350 bod->encoding = (short) encoding; in PHP_FUNCTION()
3359 tmp_param->next = bod->parameter; in PHP_FUNCTION()
3360 bod->parameter = tmp_param; in PHP_FUNCTION()
3378 bod->parameter = disp_param; in PHP_FUNCTION()
3384 bod->subtype = cpystr(Z_STRVAL_P(pvalue)); in PHP_FUNCTION()
3389 bod->id = cpystr(Z_STRVAL_P(pvalue)); in PHP_FUNCTION()
3394 bod->description = cpystr(Z_STRVAL_P(pvalue)); in PHP_FUNCTION()
3399 bod->disposition.type = (char *) fs_get(Z_STRLEN_P(pvalue) + 1); in PHP_FUNCTION()
3400 memcpy(bod->disposition.type, Z_STRVAL_P(pvalue), Z_STRLEN_P(pvalue)+1); in PHP_FUNCTION()
3418 bod->disposition.parameter = disp_param; in PHP_FUNCTION()
3421 if (bod->type == TYPEMESSAGE && bod->subtype && !strcmp(bod->subtype, "RFC822")) { in PHP_FUNCTION()
3422 bod->nested.msg = mail_newmsg(); in PHP_FUNCTION()
3426 bod->contents.text.data = fs_get(Z_STRLEN_P(pvalue) + 1); in PHP_FUNCTION()
3427 memcpy(bod->contents.text.data, Z_STRVAL_P(pvalue), Z_STRLEN_P(pvalue)+1); in PHP_FUNCTION()
3428 bod->contents.text.size = Z_STRLEN_P(pvalue); in PHP_FUNCTION()
3430 bod->contents.text.data = fs_get(1); in PHP_FUNCTION()
3431 memcpy(bod->contents.text.data, "", 1); in PHP_FUNCTION()
3432 bod->contents.text.size = 0; in PHP_FUNCTION()
3436 bod->size.lines = zval_get_long(pvalue); in PHP_FUNCTION()
3439 bod->size.bytes = zval_get_long(pvalue); in PHP_FUNCTION()
3444 bod->md5 = cpystr(Z_STRVAL_P(pvalue)); in PHP_FUNCTION()
3457 bod->nested.part = mail_newbody_part(); in PHP_FUNCTION()
3458 mypart = bod->nested.part; in PHP_FUNCTION()
3465 bod = &mypart->body; in PHP_FUNCTION()
3466 bod->type = type; in PHP_FUNCTION()
3471 bod->encoding = (short) encoding; in PHP_FUNCTION()
3481 tmp_param->next = bod->parameter; in PHP_FUNCTION()
3482 bod->parameter = tmp_param; in PHP_FUNCTION()
3500 bod->parameter = disp_param; in PHP_FUNCTION()
3506 bod->subtype = cpystr(Z_STRVAL_P(pvalue)); in PHP_FUNCTION()
3511 bod->id = cpystr(Z_STRVAL_P(pvalue)); in PHP_FUNCTION()
3516 bod->description = cpystr(Z_STRVAL_P(pvalue)); in PHP_FUNCTION()
3521 bod->disposition.type = (char *) fs_get(Z_STRLEN_P(pvalue) + 1); in PHP_FUNCTION()
3522 memcpy(bod->disposition.type, Z_STRVAL_P(pvalue), Z_STRLEN_P(pvalue)+1); in PHP_FUNCTION()
3540 bod->disposition.parameter = disp_param; in PHP_FUNCTION()
3543 if (bod->type == TYPEMESSAGE && bod->subtype && !strcmp(bod->subtype, "RFC822")) { in PHP_FUNCTION()
3544 bod->nested.msg = mail_newmsg(); in PHP_FUNCTION()
3548 bod->contents.text.data = fs_get(Z_STRLEN_P(pvalue) + 1); in PHP_FUNCTION()
3549 memcpy(bod->contents.text.data, Z_STRVAL_P(pvalue), Z_STRLEN_P(pvalue) + 1); in PHP_FUNCTION()
3550 bod->contents.text.size = Z_STRLEN_P(pvalue); in PHP_FUNCTION()
3552 bod->contents.text.data = fs_get(1); in PHP_FUNCTION()
3553 memcpy(bod->contents.text.data, "", 1); in PHP_FUNCTION()
3554 bod->contents.text.size = 0; in PHP_FUNCTION()
3558 bod->size.lines = zval_get_long(pvalue); in PHP_FUNCTION()
3561 bod->size.bytes = zval_get_long(pvalue); in PHP_FUNCTION()
3566 bod->md5 = cpystr(Z_STRVAL_P(pvalue)); in PHP_FUNCTION()
3571 if (bod && bod->type == TYPEMULTIPART && (!bod->nested.part || !bod->nested.part->next)) { in PHP_FUNCTION()
3613 bod = topbod; in PHP_FUNCTION()
3615 if (bod && bod->type == TYPEMULTIPART) { in PHP_FUNCTION()
3618 part = bod->nested.part; in PHP_FUNCTION()
3621 for (param = bod->parameter; param && !cookie; param = param->next) { in PHP_FUNCTION()
3649 bod=&part->body; in PHP_FUNCTION()
3651 …spprintf(&tempstring, 0, "%s%s%s", mystring, bod->contents.text.data ? (char *) bod->contents.text… in PHP_FUNCTION()
3660 } else if (bod) { in PHP_FUNCTION()
3661 …spprintf(&tempstring, 0, "%s%s%s", mystring, bod->contents.text.data ? (char *) bod->contents.text… in PHP_FUNCTION()