mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
fix folding and add missing footer
This commit is contained in:
parent
5a4f3bcd37
commit
cdce6779ca
1 changed files with 13 additions and 2 deletions
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue