pike.git
/
src
/
modules
/
MIME
/
mime.c
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/modules/MIME/mime.c:1:
/* || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information. */ /*
-
*
RFC1521
functionality for Pike
+
*
@rfc{1521@}
functionality for Pike
* * Marcus Comstedt 1996-1999 */ #include "global.h" #include "config.h" #include "module.h" #include "stralloc.h"
pike.git/src/modules/MIME/mime.c:923:
} /* Create the resulting array and push it */ arr = aggregate_array( n ); pop_n_elems( args ); push_array( arr ); } /*! @decl array(string|int) tokenize(string header, int|void flags) *!
-
*! A structured header field, as specified by
RFC822
, is constructed from
+
*! A structured header field, as specified by
@rfc{822@}
, is constructed from
*! a sequence of lexical elements. *! *! @param header *! The header value to parse. *! *! @param flags *! An optional set of flags. Currently only one flag is defined: *! @int *! @value TOKENIZE_KEEP_ESCAPES *! Keep backslash-escapes in quoted-strings.
pike.git/src/modules/MIME/mime.c:967:
*! as strings. *! *! Comments are not returned in the array at all. *! *! @note *! As domain-literals are returned as strings, there is no way to tell the *! domain-literal @tt{[127.0.0.1]@} from the quoted-string *! @tt{"[127.0.0.1]"@}. Hopefully this won't cause any problems. *! Domain-literals are used seldom, if at all, anyway... *!
-
*! The set of special-characters is the one specified in
RFC1521
+
*! The set of special-characters is the one specified in
@rfc{1521@}
*! (i.e. @expr{"<", ">", "@@", ",", ";", ":", "\", "/", "?", "="@}),
-
*! and not the set specified in
RFC822
.
+
*! and not the set specified in
@rfc{822@}
.
*! *! @seealso *! @[MIME.quote()], @[tokenize_labled()], *! @[decode_words_tokenized_remapped()]. */ static void f_tokenize( INT32 args ) { low_tokenize("MIME.tokenize", args, 0 ); }