summaryrefslogtreecommitdiff
path: root/ext/standard/uuencode.c
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2007-03-12 20:55:15 +0000
committerAntony Dovgal <tony2001@php.net>2007-03-12 20:55:15 +0000
commit165f44c9c3806169c1dcaf6c968a0621a7d3d35e (patch)
treedfdf0c8332c56683e0756af4b3fec5e9ce28f580 /ext/standard/uuencode.c
parent5088614ea1bb21a76216ce8a8a573183534fcf9f (diff)
downloadphp-git-165f44c9c3806169c1dcaf6c968a0621a7d3d35e.tar.gz
MFH
Diffstat (limited to 'ext/standard/uuencode.c')
-rw-r--r--ext/standard/uuencode.c15
1 files changed, 13 insertions, 2 deletions
diff --git a/ext/standard/uuencode.c b/ext/standard/uuencode.c
index b09a761d48..9a54fe6c08 100644
--- a/ext/standard/uuencode.c
+++ b/ext/standard/uuencode.c
@@ -65,7 +65,7 @@
#define PHP_UU_DEC(c) (((c) - ' ') & 077)
-PHPAPI int php_uuencode(char *src, int src_len, char **dest)
+PHPAPI int php_uuencode(char *src, int src_len, char **dest) /* {{{ */
{
int len = 45;
char *p, *s, *e, *ee;
@@ -122,8 +122,9 @@ PHPAPI int php_uuencode(char *src, int src_len, char **dest)
return (p - *dest);
}
+/* }}} */
-PHPAPI int php_uudecode(char *src, int src_len, char **dest)
+PHPAPI int php_uudecode(char *src, int src_len, char **dest) /* {{{ */
{
int len, total_len=0;
char *s, *e, *p, *ee;
@@ -182,6 +183,7 @@ err:
efree(*dest);
return -1;
}
+/* }}} */
/* {{{ proto string convert_uuencode(string data)
uuencode a string */
@@ -220,3 +222,12 @@ PHP_FUNCTION(convert_uudecode)
RETURN_STRINGL(dst, dst_len, 0);
}
/* }}} */
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: noet sw=4 ts=4 fdm=marker
+ * vim<600: noet sw=4 ts=4
+ */