Lines Matching refs:bod

3584 	BODY *bod=NULL, *topbod=NULL;  in PHP_FUNCTION()  local
3693 bod = mail_newbody(); in PHP_FUNCTION()
3694 topbod = bod; in PHP_FUNCTION()
3699 bod->type = (short) type; in PHP_FUNCTION()
3705 bod->encoding = (short) encoding; in PHP_FUNCTION()
3714 tmp_param->next = bod->parameter; in PHP_FUNCTION()
3715 bod->parameter = tmp_param; in PHP_FUNCTION()
3733 bod->parameter = disp_param; in PHP_FUNCTION()
3739 bod->subtype = cpystr(Z_STRVAL_P(pvalue)); in PHP_FUNCTION()
3744 bod->id = cpystr(Z_STRVAL_P(pvalue)); in PHP_FUNCTION()
3749 bod->description = cpystr(Z_STRVAL_P(pvalue)); in PHP_FUNCTION()
3754 bod->disposition.type = (char *) fs_get(Z_STRLEN_P(pvalue) + 1); in PHP_FUNCTION()
3755 memcpy(bod->disposition.type, Z_STRVAL_P(pvalue), Z_STRLEN_P(pvalue)+1); in PHP_FUNCTION()
3773 bod->disposition.parameter = disp_param; in PHP_FUNCTION()
3776 if (bod->type == TYPEMESSAGE && bod->subtype && !strcmp(bod->subtype, "RFC822")) { in PHP_FUNCTION()
3777 bod->nested.msg = mail_newmsg(); in PHP_FUNCTION()
3781 bod->contents.text.data = fs_get(Z_STRLEN_P(pvalue) + 1); in PHP_FUNCTION()
3782 memcpy(bod->contents.text.data, Z_STRVAL_P(pvalue), Z_STRLEN_P(pvalue)+1); in PHP_FUNCTION()
3783 bod->contents.text.size = Z_STRLEN_P(pvalue); in PHP_FUNCTION()
3785 bod->contents.text.data = fs_get(1); in PHP_FUNCTION()
3786 memcpy(bod->contents.text.data, "", 1); in PHP_FUNCTION()
3787 bod->contents.text.size = 0; in PHP_FUNCTION()
3791 bod->size.lines = zval_get_long(pvalue); in PHP_FUNCTION()
3794 bod->size.bytes = zval_get_long(pvalue); in PHP_FUNCTION()
3799 bod->md5 = cpystr(Z_STRVAL_P(pvalue)); in PHP_FUNCTION()
3812 bod->nested.part = mail_newbody_part(); in PHP_FUNCTION()
3813 mypart = bod->nested.part; in PHP_FUNCTION()
3820 bod = &mypart->body; in PHP_FUNCTION()
3821 bod->type = type; in PHP_FUNCTION()
3826 bod->encoding = (short) encoding; in PHP_FUNCTION()
3836 tmp_param->next = bod->parameter; in PHP_FUNCTION()
3837 bod->parameter = tmp_param; in PHP_FUNCTION()
3855 bod->parameter = disp_param; in PHP_FUNCTION()
3861 bod->subtype = cpystr(Z_STRVAL_P(pvalue)); in PHP_FUNCTION()
3866 bod->id = cpystr(Z_STRVAL_P(pvalue)); in PHP_FUNCTION()
3871 bod->description = cpystr(Z_STRVAL_P(pvalue)); in PHP_FUNCTION()
3876 bod->disposition.type = (char *) fs_get(Z_STRLEN_P(pvalue) + 1); in PHP_FUNCTION()
3877 memcpy(bod->disposition.type, Z_STRVAL_P(pvalue), Z_STRLEN_P(pvalue)+1); in PHP_FUNCTION()
3895 bod->disposition.parameter = disp_param; in PHP_FUNCTION()
3898 if (bod->type == TYPEMESSAGE && bod->subtype && !strcmp(bod->subtype, "RFC822")) { in PHP_FUNCTION()
3899 bod->nested.msg = mail_newmsg(); in PHP_FUNCTION()
3903 bod->contents.text.data = fs_get(Z_STRLEN_P(pvalue) + 1); in PHP_FUNCTION()
3904 memcpy(bod->contents.text.data, Z_STRVAL_P(pvalue), Z_STRLEN_P(pvalue) + 1); in PHP_FUNCTION()
3905 bod->contents.text.size = Z_STRLEN_P(pvalue); in PHP_FUNCTION()
3907 bod->contents.text.data = fs_get(1); in PHP_FUNCTION()
3908 memcpy(bod->contents.text.data, "", 1); in PHP_FUNCTION()
3909 bod->contents.text.size = 0; in PHP_FUNCTION()
3913 bod->size.lines = zval_get_long(pvalue); in PHP_FUNCTION()
3916 bod->size.bytes = zval_get_long(pvalue); in PHP_FUNCTION()
3921 bod->md5 = cpystr(Z_STRVAL_P(pvalue)); in PHP_FUNCTION()
3932 if (bod && bod->type == TYPEMULTIPART && (!bod->nested.part || !bod->nested.part->next)) { in PHP_FUNCTION()
3974 bod = topbod; in PHP_FUNCTION()
3976 if (bod && bod->type == TYPEMULTIPART) { in PHP_FUNCTION()
3979 part = bod->nested.part; in PHP_FUNCTION()
3982 for (param = bod->parameter; param && !cookie; param = param->next) { in PHP_FUNCTION()
4010 bod=&part->body; in PHP_FUNCTION()
4012 …spprintf(&tempstring, 0, "%s%s%s", mystring, bod->contents.text.data ? (char *) bod->contents.text… in PHP_FUNCTION()
4021 } else if (bod) { in PHP_FUNCTION()
4022 …spprintf(&tempstring, 0, "%s%s%s", mystring, bod->contents.text.data ? (char *) bod->contents.text… in PHP_FUNCTION()