\input texinfo.tex
@setfilename mime-ja.info
-@settitle{FLIM 1.6 MIME \e$B5!G=@bL@=q\e(B}
+@settitle{FLIM 1.7 MIME \e$B5!G=@bL@=q\e(B}
@titlepage
-@title FLIM 1.6 MIME \e$B5!G=@bL@=q\e(B
+@title FLIM 1.7 MIME \e$B5!G=@bL@=q\e(B
@author \e$B<i2,\e(B \e$BCNI'\e(B <morioka@@jaist.ac.jp>
@subtitle 1998/06/23
@end titlepage
@node Top, Introduction, (dir), (dir)
-@top FLIM 1.6 MIME \e$B5!G=@bL@=q\e(B
+@top FLIM 1.7 MIME \e$B5!G=@bL@=q\e(B
@ifinfo
\e$B07$&$3$H$,$G$-$^$9!#\e(B
-@menu
-* mime-entity:: mime-entity \e$B9=B$BN\e(B
-* Message parser:: Message \e$B$N2r@O4o\e(B
-* Entity as node in message:: Entity \e$B$N0LCV4X78$K4X$9$k5!G=\e(B
-* Entity-header:: Entity header \e$B$N>pJs\e(B
-* Entity-content:: Entity \e$B$NFbMF\e(B
-* Entity Attributes:: Entity \e$B$NB0@-\e(B
-@end menu
-@node mime-entity, Message parser, Entity, Entity
-@section mime-entity \e$B9=B$BN\e(B
-@deffn{Structure} mime-entity
-entity \e$B$K4X$9$k>pJs$r<}$a$k9=B$BN!#\e(B@refill
-\e$B$3$N9=B$BN$r;2>H$9$k$K$O\e(B @code{mime-entity-\e$BMWAGL>\e(B} \e$B$H$$$&L>A0$N;2>H4X?t\e(B
-\e$B$rMQ$$$k!#\e(B@refill
-\e$B$3$N9=B$BN$NMWAG$O0J2<$NDL$j$G$"$k!'\e(B
-@table @var
-@item buffer
-entity \e$B$,B8:_$9$k\e(B buffer (buffer)
-
-@item header-start
-entity \e$B$NB8:_$9$k\e(B buffer \e$B$K$*$1$k\e(B header \e$B$N@hF,0LCV\e(B
-(point)
+@menu
+* Message parser:: Message \e$B$N2r@O4o\e(B
+* Entity hierarchy:: Entity \e$B3,AX\e(B
+* Entity buffer:: Entity \e$B$N\e(B buffer \e$B$K$h$kI=8=\e(B
+* Entity-header:: Entity header \e$B$N>pJs\e(B
+* Entity Attributes:: Entity \e$B$NB0@-\e(B
+* Entity-content:: Entity \e$B$NFbMF\e(B
+@end menu
-@item header-end
-entity \e$B$NB8:_$9$k\e(B buffer \e$B$K$*$1$k\e(B header \e$B$NKvHx0LCV\e(B
-(point)
+@node Message parser, Entity hierarchy, Entity, Entity
+@section Message \e$B$N2r@O4o\e(B
-@item body-start
-entity \e$B$NB8:_$9$k\e(B buffer \e$B$K$*$1$k\e(B body \e$B$N@hF,0LCV\e(B
-(point)
+@defun mime-parse-message &optional default-ctl default-encoding node-id
-@item body-end
-entity \e$B$NB8:_$9$k\e(B buffer \e$B$K$*$1$k\e(B body \e$B$NKvHx0LCV\e(B
-(point)
+\e$B8=:_$N\e(B buffer \e$B$r\e(B message \e$B$H$7$F9=J82r@O$7!"$=$N7k2L$N\e(B mime-entity \e$B$rJV$9!#\e(B
+@end defun
-@item node-id
-entity \e$B$N\e(B node-id (\e$B@0?t$N\e(B list)
-@item content-type
-Content-Type (@ref{Content-Type}) \e$BMs$N>pJs\e(B(mime-content-type)
+@defun mime-parse-buffer &optional buffer
-@item content-disposition
-Content-Disposition (@ref{Content-Disposition}) \e$BMs$N>pJs\e(B
-(mime-content-disposition)
+@var{buffer} \e$B$r\e(B message \e$B$H$7$F9=J82r@O$7!"$=$N7k2L$N\e(B mime-entity \e$B$r\e(B
+@var{buffer} \e$B$N\e(B@code{mime-message-structure} \e$B$K3JG<$9$k!#\e(B@refill
-@item encoding
-entity \e$B$N\e(B Content-Transfer-Encoding (@ref{Content-Transfer-Encoding})
-(\e$BJ8;zNs\e(B)
+@var{buffer} \e$B$,>JN,$5$l$?>l9g!"8=:_$N\e(B buffer \e$B$r9=J82r@O$9$k!#\e(B
+@end defun
-@item children
-entity \e$B$K4^$^$l$k\e(B entity \e$B$N\e(B list (mime-entity \e$B$N\e(B
-list)
-@end table
+@node Entity hierarchy, Entity buffer, Message parser, Entity
+@section Entity \e$B3,AX\e(B
-\e$B$^$?!"2a5n$H$N8_49@-$N$?$a!"0J2<$NMWAGL>$N;2>H4X?t$bMxMQ2DG=$G$"$k!#\e(B
+@defvar mime-message-structure
-@table @var
-@item type/subtype
-entity \e$B$N\e(B type/subtype (\e$BJ8;zNs\e(B)
+\e$B8=:_$N\e(B buffer \e$B$K$*$1$k\e(B message \e$BA4BN$N\e(B mime-entity \e$B9=B$BN$r3JG<$9$k\e(Bbuffer
+local \e$BJQ?t!#\e(B
+@end defvar
-@item media-type
-entity \e$B$N\e(B media-primary-type (symbol)
-@item media-subtype
-entity \e$B$N\e(B media-subtype (symbol)
+@defun mime-entity-children entity
-@item parameters
-entity \e$B$N\e(B Content-Type \e$BMs$N\e(B parameter (\e$BO"A[\e(B list)
+@var{entity} \e$B$K4^$^$l$k\e(B entity \e$B$N\e(B list \e$B$rJV$9!#\e(B
+@end defun
-@end table
-@end deffn
+@defun mime-entity-parent entity &optional message
-@defun make-mime-entity buffer header-start header-end body-start body-end
- &optional node-id content-type content-disposition encoding
- children
+@var{entity} \e$B$N?F$N\e(B entity \e$B$rJV$9!#\e(B@refill
-entity \e$B$N@8@.;R!#\e(B
+@var{message} \e$B$,;XDj$5$l$?>l9g!"$3$l$r:,$H8+Jo$9!#\e(B
@end defun
-@defun mime-entity-point-min entity
+@defun mime-root-entity-p entity
-entity \e$B$NB8:_$9$k\e(B buffer \e$B$K$*$1$k\e(B entity \e$B$N@hF,0LCV$rJV$9!#\e(B
+@var{entity} \e$B$,:,!JB($A!"\e(Bmessage \e$BA4BN!K$G$"$k>l9g$K!"Hs\e(B-@code{nil} \e$B$rJV\e(B
+\e$B$9!#\e(B
@end defun
-@defun mime-entity-point-max entity
+@defun mime-entity-number entity
-entity \e$B$NB8:_$9$k\e(B buffer \e$B$K$*$1$k\e(B entity \e$B$NKvHx0LCV$rJV$9!#\e(B
+@var{entity} \e$B$N\e(B entity-number \e$B$rJV$9!#\e(B
@end defun
+@defun mime-find-entity-from-number entity-number &optional message
-@node Message parser, Entity as node in message, mime-entity, Entity
-@section Message \e$B$N2r@O4o\e(B
-
-@defun mime-parse-message &optional default-ctl default-encoding node-id
+Return entity from @var{entity-number} in @var{message}.@refill
-\e$B8=:_$N\e(B buffer \e$B$r9=J82r@O$7$?7k2L$rJV$9!#\e(B
+If @var{message} is not specified, @code{mime-message-structure} is
+used.
@end defun
-@defun mime-parse-buffer &optional buffer
+@defun mime-find-entity-from-node-id entity-node-id &optional message
-@var{buffer} \e$B$r9=J82r@O$7!"$=$N7k2L$r\e(B @var{buffer} \e$B$N\e(B
-@code{mime-message-structure} \e$B$K3JG<$9$k!#\e(B@refill
+Return entity from @var{entity-node-id} in @var{message}.@refill
-@var{buffer} \e$B$,>JN,$5$l$?>l9g!"8=:_$N\e(B buffer \e$B$r9=J82r@O$9$k!#\e(B
+If @var{message} is not specified, @code{mime-message-structure} is
+used.
@end defun
-@node Entity as node in message, Entity-header, Message parser, Entity
-@section Entity \e$B$N0LCV4X78$K4X$9$k5!G=\e(B
+@node Entity buffer, Entity-header, Entity hierarchy, Entity
+@section Entity \e$B$N\e(B buffer \e$B$K$h$kI=8=\e(B
-@defvar mime-message-structure
+@defun mime-entity-buffer entity
-\e$B8=:_$N\e(B buffer \e$B$K$*$1$k\e(B message \e$BA4BN$N\e(B mime-entity \e$B9=B$BN$r3JG<$9$k\e(Bbuffer
-local \e$BJQ?t!#\e(B
-@end defvar
+@var{entity} \e$B$,B8:_$9$k\e(B buffer \e$B$rJV$9!#\e(B
+@end defun
-@defun mime-entity-number entity
+@defun mime-entity-point-min entity
-@var{entity} \e$B$N\e(B entity-number \e$B$rJV$9!#\e(B
+@var{entity} \e$B$,B8:_$9$k\e(B buffer \e$B$K$*$1$k!"\e(B@var{entity} \e$B$,@j$a$kNN0h$N@hF,\e(B
+\e$B0LCV$rJV$9!#\e(B
@end defun
-@defun mime-find-entity-from-number entity-number &optional message
-
-Return entity from @var{entity-number} in @var{message}.@refill
+@defun mime-entity-point-max entity
-If @var{message} is not specified, @code{mime-message-structure} is
-used.
+@var{entity} \e$B$,B8:_$9$k\e(B buffer \e$B$K$*$1$k!"\e(B@var{entity} \e$B$,@j$a$kNN0h$NKvHx\e(B
+\e$B0LCV$rJV$9!#\e(B
@end defun
-@defun mime-find-entity-from-node-id entity-node-id &optional message
+@defun mime-entity-header-start entity
-Return entity from @var{entity-node-id} in @var{message}.@refill
-
-If @var{message} is not specified, @code{mime-message-structure} is
-used.
+@var{entity} \e$B$,B8:_$9$k\e(B buffer \e$B$K$*$1$k!"\e(Bheader \e$B$,@j$a$kNN0h$N@hF,0LCV$r\e(B
+\e$BJV$9!#\e(B
@end defun
-@defun mime-entity-parent entity &optional message
+@defun mime-entity-header-end entity
-@var{entity} \e$B$N?F$N\e(B entity \e$B$rJV$9!#\e(B@refill
+@var{entity} \e$B$,B8:_$9$k\e(B buffer \e$B$K$*$1$k!"\e(Bheader \e$B$,@j$a$kNN0h$NKvHx0LCV$r\e(B
+\e$BJV$9!#\e(B
+@end defun
-@var{message} \e$B$,;XDj$5$l$?>l9g!"$3$l$r:,$H8+Jo$9!#\e(B
+
+@defun mime-entity-body-start entity
+
+@var{entity} \e$B$,B8:_$9$k\e(B buffer \e$B$K$*$1$k!"\e(Bbody \e$B$,@j$a$kNN0h$N@hF,0LCV$rJV\e(B
+\e$B$9!#\e(B
@end defun
-@defun mime-root-entity-p entity
+@defun mime-entity-body-end entity
-@var{entity} \e$B$,:,!JB($A!"\e(Bmessage \e$BA4BN!K$G$"$k>l9g$K!"Hs\e(B-@code{nil} \e$B$rJV\e(B
+@var{entity} \e$B$,B8:_$9$k\e(B buffer \e$B$K$*$1$k!"\e(Bbody \e$B$,@j$a$kNN0h$NKvHx0LCV$rJV\e(B
\e$B$9!#\e(B
@end defun
-@node Entity-header, Entity-content, Entity as node in message, Entity
+@node Entity-header, Entity Attributes, Entity buffer, Entity
@section Entity header \e$B$N>pJs\e(B
@defun mime-fetch-field field-name &optional entity
-@node Entity-content, Entity Attributes, Entity-header, Entity
-@section Entity \e$B$NFbMF\e(B
+@node Entity Attributes, Entity-content, Entity-header, Entity
+@section Entity \e$B$NB0@-\e(B
-@defun mime-entity-content entity
+@defun mime-entity-content-type entity
-@var{entity} \e$B$NFbMF$N\e(B byte \e$BNs$rJV$9!#\e(B
+@var{entity} \e$B$N\e(B content-type \e$B$rJV$9!#\e(B(cf. @ref{mime-content-type})
@end defun
+@defun mime-entity-content-disposition entity
+
+@var{entity} \e$B$N\e(B content-disposition \e$B$rJV$9!#\e(B
+(cf. @ref{mime-content-disposition})
+@end defun
-@node Entity Attributes, , Entity-content, Entity
-@section Entity \e$B$NB0@-\e(B
@defun mime-entity-filename entity
@end defun
+@defun mime-entity-encoding entity
+
+@var{entity} \e$B$N\e(B content-transfer-encoding \e$B$rJV$9!#\e(B
+(cf. @ref{Content-Transfer-Encoding})
+@end defun
+
+
+
+@node Entity-content, , Entity Attributes, Entity
+@section Entity \e$B$NFbMF\e(B
+
+@defun mime-entity-content entity
+
+@var{entity} \e$B$NFbMF$N\e(B byte \e$BNs$rJV$9!#\e(B
+@end defun
+
+
@node Content-Type, Content-Disposition, Entity, Top
@chapter Content-Type \e$BMs$N>pJs\e(B