Back to index

openldap  2.4.31
Classes | Functions | Variables
urestubs.c File Reference
#include "portable.h"
#include <ac/bytes.h>
#include "ure.h"
#include "ucdata.h"

Go to the source code of this file.

Classes

struct  ucmaskmap

Functions

ucs4_t _ure_tolower (ucs4_t c)
int _ure_matches_properties (unsigned long props, ucs4_t c)

Variables

static struct ucmaskmap masks [32]

Class Documentation

struct ucmaskmap

Definition at line 64 of file urestubs.c.

Class Members
unsigned long mask1
unsigned long mask2

Function Documentation

int _ure_matches_properties ( unsigned long  props,
ucs4_t  c 
)

Definition at line 114 of file urestubs.c.

{
       int i;
       unsigned long mask1=0, mask2=0;

       for( i=0; i<32; i++ ) {
              if( props & (1 << i) ) {
                     mask1 |= masks[i].mask1;
                     mask2 |= masks[i].mask2;
              }
       }

       return ucisprop( mask1, mask2, c );
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 59 of file urestubs.c.

{
    return uctoupper(c);
}

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

struct ucmaskmap masks[32] [static]