php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
uuencode.c File Reference
#include <math.h>
#include "php.h"
#include "php_uuencode.h"

Go to the source code of this file.

Macros

#define PHP_UU_ENC(c)
 
#define PHP_UU_ENC_C2(c)
 
#define PHP_UU_ENC_C3(c)
 
#define PHP_UU_DEC(c)
 

Functions

PHPAPI zend_stringphp_uuencode (const char *src, size_t src_len)
 
PHPAPI zend_stringphp_uudecode (const char *src, size_t src_len)
 
 PHP_FUNCTION (convert_uuencode)
 
 PHP_FUNCTION (convert_uudecode)
 

Macro Definition Documentation

◆ PHP_UU_DEC

#define PHP_UU_DEC ( c)
Value:
(((c) - ' ') & 077)

Definition at line 62 of file uuencode.c.

◆ PHP_UU_ENC

#define PHP_UU_ENC ( c)
Value:
((c) ? ((c) & 077) + ' ' : '`')

Definition at line 58 of file uuencode.c.

◆ PHP_UU_ENC_C2

#define PHP_UU_ENC_C2 ( c)
Value:
PHP_UU_ENC(((*(c) << 4) & 060) | ((*((c) + 1) >> 4) & 017))
#define PHP_UU_ENC(c)
Definition uuencode.c:58

Definition at line 59 of file uuencode.c.

◆ PHP_UU_ENC_C3

#define PHP_UU_ENC_C3 ( c)
Value:
PHP_UU_ENC(((*(c + 1) << 2) & 074) | ((*((c) + 2) >> 6) & 03))

Definition at line 60 of file uuencode.c.

Function Documentation

◆ PHP_FUNCTION() [1/2]

PHP_FUNCTION ( convert_uudecode )

Definition at line 217 of file uuencode.c.

◆ PHP_FUNCTION() [2/2]

PHP_FUNCTION ( convert_uuencode )

Definition at line 204 of file uuencode.c.

◆ php_uudecode()

PHPAPI zend_string * php_uudecode ( const char * src,
size_t src_len )

Definition at line 129 of file uuencode.c.

◆ php_uuencode()

PHPAPI zend_string * php_uuencode ( const char * src,
size_t src_len )

Definition at line 64 of file uuencode.c.