Back to index

php5  5.3.10
Defines | Functions | Variables
mbfilter_7bit.c File Reference
#include "mbfilter.h"
#include "mbfilter_7bit.h"

Go to the source code of this file.

Defines

#define CK(statement)   do { if ((statement) < 0) return (-1); } while (0)

Functions

int mbfl_filt_conv_7bit_any (int c, mbfl_convert_filter *filter)
int mbfl_filt_conv_any_7bit (int c, mbfl_convert_filter *filter)

Variables

const mbfl_encoding mbfl_encoding_7bit

Define Documentation

#define CK (   statement)    do { if ((statement) < 0) return (-1); } while (0)

Definition at line 66 of file mbfilter_7bit.c.


Function Documentation

int mbfl_filt_conv_7bit_any ( int  c,
mbfl_convert_filter *  filter 
)

Definition at line 68 of file mbfilter_7bit.c.

{
       return (*filter->output_function)(c, filter->data);
}
int mbfl_filt_conv_any_7bit ( int  c,
mbfl_convert_filter *  filter 
)

Definition at line 74 of file mbfilter_7bit.c.

{
       if (c >= 0 && c < 0x80) {
              CK((*filter->output_function)(c, filter->data));
       } 
       return c;
}

Variable Documentation

Initial value:

Definition at line 38 of file mbfilter_7bit.c.