Back to index

php5  5.3.10
Functions | Variables
mbfilter_ascii.h File Reference
#include "mbfilter.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int mbfl_filt_conv_ascii_wchar (int c, mbfl_convert_filter *filter)
int mbfl_filt_conv_wchar_ascii (int c, mbfl_convert_filter *filter)

Variables

const mbfl_encoding mbfl_encoding_ascii

Function Documentation

int mbfl_filt_conv_ascii_wchar ( int  c,
mbfl_convert_filter *  filter 
)

Definition at line 81 of file mbfilter_ascii.c.

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

Definition at line 90 of file mbfilter_ascii.c.

{
       if (c >= 0 && c < 0x80) {
              CK((*filter->output_function)(c, filter->data));
       } else {
              if (filter->illegal_mode != MBFL_OUTPUTFILTER_ILLEGAL_MODE_NONE) {
                     CK(mbfl_filt_conv_illegal_output(c, filter));
              }
       }

       return c;
}

Here is the call graph for this function:


Variable Documentation

Definition at line 42 of file mbfilter_ascii.c.