fix folding and add missing footer

This commit is contained in:
Antony Dovgal 2007-03-12 20:55:07 +00:00
parent 5a4f3bcd37
commit cdce6779ca

View file

@ -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) U
uuencode a string */
@ -245,3 +247,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
*/