Lines Matching refs:bod

3054 	BODY *bod=NULL, *topbod=NULL;  in PHP_FUNCTION()  local
3171 bod = mail_newbody(); in PHP_FUNCTION()
3172 topbod = bod; in PHP_FUNCTION()
3177 bod->type = (short) type; in PHP_FUNCTION()
3183 bod->encoding = (short) encoding; in PHP_FUNCTION()
3192 tmp_param->next = bod->parameter; in PHP_FUNCTION()
3193 bod->parameter = tmp_param; in PHP_FUNCTION()
3211 bod->parameter = disp_param; in PHP_FUNCTION()
3217 bod->subtype = cpystr(Z_STRVAL_P(pvalue)); in PHP_FUNCTION()
3222 bod->id = cpystr(Z_STRVAL_P(pvalue)); in PHP_FUNCTION()
3227 bod->description = cpystr(Z_STRVAL_P(pvalue)); in PHP_FUNCTION()
3232 bod->disposition.type = (char *) fs_get(Z_STRLEN_P(pvalue) + 1); in PHP_FUNCTION()
3233 memcpy(bod->disposition.type, Z_STRVAL_P(pvalue), Z_STRLEN_P(pvalue)+1); in PHP_FUNCTION()
3251 bod->disposition.parameter = disp_param; in PHP_FUNCTION()
3254 if (bod->type == TYPEMESSAGE && bod->subtype && !strcmp(bod->subtype, "RFC822")) { in PHP_FUNCTION()
3255 bod->nested.msg = mail_newmsg(); in PHP_FUNCTION()
3259 bod->contents.text.data = fs_get(Z_STRLEN_P(pvalue) + 1); in PHP_FUNCTION()
3260 memcpy(bod->contents.text.data, Z_STRVAL_P(pvalue), Z_STRLEN_P(pvalue)+1); in PHP_FUNCTION()
3261 bod->contents.text.size = Z_STRLEN_P(pvalue); in PHP_FUNCTION()
3263 bod->contents.text.data = fs_get(1); in PHP_FUNCTION()
3264 memcpy(bod->contents.text.data, "", 1); in PHP_FUNCTION()
3265 bod->contents.text.size = 0; in PHP_FUNCTION()
3269 bod->size.lines = zval_get_long(pvalue); in PHP_FUNCTION()
3272 bod->size.bytes = zval_get_long(pvalue); in PHP_FUNCTION()
3277 bod->md5 = cpystr(Z_STRVAL_P(pvalue)); in PHP_FUNCTION()
3290 bod->nested.part = mail_newbody_part(); in PHP_FUNCTION()
3291 mypart = bod->nested.part; in PHP_FUNCTION()
3298 bod = &mypart->body; in PHP_FUNCTION()
3299 bod->type = type; in PHP_FUNCTION()
3304 bod->encoding = (short) encoding; in PHP_FUNCTION()
3314 tmp_param->next = bod->parameter; in PHP_FUNCTION()
3315 bod->parameter = tmp_param; in PHP_FUNCTION()
3333 bod->parameter = disp_param; in PHP_FUNCTION()
3339 bod->subtype = cpystr(Z_STRVAL_P(pvalue)); in PHP_FUNCTION()
3344 bod->id = cpystr(Z_STRVAL_P(pvalue)); in PHP_FUNCTION()
3349 bod->description = cpystr(Z_STRVAL_P(pvalue)); in PHP_FUNCTION()
3354 bod->disposition.type = (char *) fs_get(Z_STRLEN_P(pvalue) + 1); in PHP_FUNCTION()
3355 memcpy(bod->disposition.type, Z_STRVAL_P(pvalue), Z_STRLEN_P(pvalue)+1); in PHP_FUNCTION()
3373 bod->disposition.parameter = disp_param; in PHP_FUNCTION()
3376 if (bod->type == TYPEMESSAGE && bod->subtype && !strcmp(bod->subtype, "RFC822")) { in PHP_FUNCTION()
3377 bod->nested.msg = mail_newmsg(); in PHP_FUNCTION()
3381 bod->contents.text.data = fs_get(Z_STRLEN_P(pvalue) + 1); in PHP_FUNCTION()
3382 memcpy(bod->contents.text.data, Z_STRVAL_P(pvalue), Z_STRLEN_P(pvalue) + 1); in PHP_FUNCTION()
3383 bod->contents.text.size = Z_STRLEN_P(pvalue); in PHP_FUNCTION()
3385 bod->contents.text.data = fs_get(1); in PHP_FUNCTION()
3386 memcpy(bod->contents.text.data, "", 1); in PHP_FUNCTION()
3387 bod->contents.text.size = 0; in PHP_FUNCTION()
3391 bod->size.lines = zval_get_long(pvalue); in PHP_FUNCTION()
3394 bod->size.bytes = zval_get_long(pvalue); in PHP_FUNCTION()
3399 bod->md5 = cpystr(Z_STRVAL_P(pvalue)); in PHP_FUNCTION()
3404 if (bod && bod->type == TYPEMULTIPART && (!bod->nested.part || !bod->nested.part->next)) { in PHP_FUNCTION()
3446 bod = topbod; in PHP_FUNCTION()
3448 if (bod && bod->type == TYPEMULTIPART) { in PHP_FUNCTION()
3451 part = bod->nested.part; in PHP_FUNCTION()
3454 for (param = bod->parameter; param && !cookie; param = param->next) { in PHP_FUNCTION()
3482 bod=&part->body; in PHP_FUNCTION()
3484 …spprintf(&tempstring, 0, "%s%s%s", mystring, bod->contents.text.data ? (char *) bod->contents.text… in PHP_FUNCTION()
3493 } else if (bod) { in PHP_FUNCTION()
3494 …spprintf(&tempstring, 0, "%s%s%s", mystring, bod->contents.text.data ? (char *) bod->contents.text… in PHP_FUNCTION()