summaryrefslogtreecommitdiff
path: root/ext/mailparse
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mailparse')
-rwxr-xr-xext/mailparse/mailparse.c4
-rwxr-xr-xext/mailparse/rfc2045.c10
-rw-r--r--ext/mailparse/rfc2045appendurl.c9
3 files changed, 18 insertions, 5 deletions
diff --git a/ext/mailparse/mailparse.c b/ext/mailparse/mailparse.c
index 1ca5d58b76..541d929525 100755
--- a/ext/mailparse/mailparse.c
+++ b/ext/mailparse/mailparse.c
@@ -760,7 +760,6 @@ PHP_FUNCTION(mailparse_msg_get_part_data)
}
/* }}} */
-
/* {{{ proto long mailparse_msg_get_part(resource rfc2045, string mimesection)
Return a handle on a given section in a mimemessage
*/
@@ -796,5 +795,6 @@ PHP_FUNCTION(mailparse_msg_get_part)
* tab-width: 4
* c-basic-offset: 4
* End:
- * vim: tw=78 ts=4 sw=4
+ * vim600: sw=4 ts=4 tw=78 fdm=marker
+ * vim<600: sw=4 ts=4 tw=78
*/
diff --git a/ext/mailparse/rfc2045.c b/ext/mailparse/rfc2045.c
index a513c1f7e6..ea61cfdb2b 100755
--- a/ext/mailparse/rfc2045.c
+++ b/ext/mailparse/rfc2045.c
@@ -1163,6 +1163,12 @@ unsigned rfc2045_mimepartcount(const struct rfc2045 *p)
for (q=p->firstpart; q; q=q->next) ++n;
return (n);
}
+
/*
- * vim:tw=78 sw=4 ts=4
- * */
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: sw=4 ts=4 tw=78 fdm=marker
+ * vim<600: sw=4 ts=4 tw=78
+ */
diff --git a/ext/mailparse/rfc2045appendurl.c b/ext/mailparse/rfc2045appendurl.c
index 231fbfe985..1683c0a390 100644
--- a/ext/mailparse/rfc2045appendurl.c
+++ b/ext/mailparse/rfc2045appendurl.c
@@ -33,6 +33,8 @@
** ---------------------------------------------------------------------
*/
+/* {{{ get_method_path
+ */
static void get_method_path(const char *p,
const char **method,
unsigned *methodl,
@@ -58,7 +60,10 @@ static void get_method_path(const char *p,
*methodl=0;
*path=p;
}
+/* }}} */
+/* {{{ rfc2045_append_url
+ */
char *rfc2045_append_url(const char *base, const char *loc)
{
const char *base_method;
@@ -115,6 +120,7 @@ char *rfc2045_append_url(const char *base, const char *loc)
return (buf);
}
+/* }}} */
char *rfc2045_content_base(struct rfc2045 *p)
{
@@ -126,5 +132,6 @@ char *rfc2045_content_base(struct rfc2045 *p)
* tab-width: 4
* c-basic-offset: 4
* End:
- * vim: tw=78 ts=4 sw=4
+ * vim600: sw=4 ts=4 tw=78 fdm=marker
+ * vim<600: sw=4 ts=4 tw=78
*/