mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-11 09:18:07 +08:00
58 lines
905 B
PHP
58 lines
905 B
PHP
|
<?php
|
||
|
|
||
|
namespace MailSo\Mime\Parser;
|
||
|
|
||
|
/**
|
||
|
* @category MailSo
|
||
|
* @package Mime
|
||
|
* @subpackage Parser
|
||
|
*/
|
||
|
interface ParserInterface
|
||
|
{
|
||
|
/**
|
||
|
* @param \MailSo\Mime\Part $oPart
|
||
|
*
|
||
|
* @return void
|
||
|
*/
|
||
|
public function StartParse(\MailSo\Mime\Part &$oPart);
|
||
|
|
||
|
/**
|
||
|
* @param \MailSo\Mime\Part $oPart
|
||
|
*
|
||
|
* @return void
|
||
|
*/
|
||
|
public function EndParse(\MailSo\Mime\Part &$oPart);
|
||
|
|
||
|
/**
|
||
|
* @param \MailSo\Mime\Part $oPart
|
||
|
*
|
||
|
* @return void
|
||
|
*/
|
||
|
public function StartParseMimePart(\MailSo\Mime\Part &$oPart);
|
||
|
|
||
|
/**
|
||
|
* @param \MailSo\Mime\Part $oMimePart
|
||
|
*
|
||
|
* @return void
|
||
|
*/
|
||
|
public function EndParseMimePart(\MailSo\Mime\Part &$oPart);
|
||
|
|
||
|
/**
|
||
|
* @return void
|
||
|
*/
|
||
|
public function InitMimePartHeader();
|
||
|
|
||
|
/**
|
||
|
* @param string $sBuffer
|
||
|
*
|
||
|
* @return void
|
||
|
*/
|
||
|
public function ReadBuffer($sBuffer);
|
||
|
|
||
|
/**
|
||
|
* @param string $sBuffer
|
||
|
* @return void
|
||
|
*/
|
||
|
public function WriteBody($sBuffer);
|
||
|
}
|