Cross reference for modules/ma/bitmask.c of index.

# File modules/ma/bitmask.c

      $Revision: 1.11 $

      bitmask (ma) - bitmask.c - library for manipulating fixed size bitmasks.

      Status: NOT REVUED, TESTED, INCOMPLETE

      Design and implementation by: Marek Bukowy, Chris Ottrey.

## Included Files

- `#include <stdio.h>`

- `#include <stdarg.h>`

- `#include <stdlib.h>`

- `#include <assert.h>`

- `#include <string.h>`

- `#include "modules/ma/bitmask.h"`

- `#include "include/memwrap.h"`
  - `#include <include/erroutines.h>`
  - `#include <glib.h>`

- `#include "include/globaldefs.h"`

## Global Function MA_and()

`mask_t MA_and ( mask_t a, mask_t b )`

Prototyped in: | modules/ma/bitmask.h

## Global Function MA_bitcount()

`int MA_bitcount ( mask_t m )`

Prototyped in: | modules/ma/bitmask.h
Calls: | MA_isset() | modules/ma/bitmask.c

## Global Function MA_clear()

`void MA_clear ( mask_t* m_ptr )`

Prototyped in: | modules/ma/bitmask.h
Calls: | memset()
Called by: | MA_new() | modules/ma/bitmask.c

## Global Function MA_isset()

`int MA_isset ( mask_t d, int b )`

Prototyped in: | modules/ma/bitmask.h
Called by: | MA_bitcount() | modules/ma/bitmask.c
| MA_prt() | modules/ma/bitmask.c
| MA_to_string() | modules/ma/bitmask.c
| er_getaspsym() | modules/er/er_arrays.c
| er_msgsel() | modules/er/er.c
| er_print_facmask() | modules/er/er_paths.c
| er_upd_asparray() | modules/er/er_paths.c

## Global Function MA_new()

`mask_t MA_new ( int n, ... )`

Prototyped in: | modules/ma/bitmask.h
Calls: | MA_clear() | modules/ma/bitmask.c
| MA_set() | modules/ma/bitmask.c
| __builtin_classify_type(), __builtin_next_arg(), __builtin_saveregs()
Called by: | er_getfacallmask() | modules/er/er_arrays.c

## Global Function MA_not()

`mask_t MA_not ( mask_t a )`

Prototyped in: | modules/ma/bitmask.h

## Global Function MA_or()

`mask_t MA_or ( mask_t a, mask_t b )`

Prototyped in: | modules/ma/bitmask.h

## Global Function MA_prt()

`void MA_prt ( mask_t m )`

Prototyped in: | modules/ma/bitmask.h
Calls: | MA_isset() | modules/ma/bitmask.c
| printf()

## Global Function MA_set()

`void MA_set ( mask_t* m_ptr, unsigned b, int v )`

Prototyped in: | modules/ma/bitmask.h
Calls: | __eprintf()
Called by: | MA_new() | modules/ma/bitmask.c
| er_getfacallmask() | modules/er/er_arrays.c
| er_yyparse() | modules/er/er.yacc.tab.c

## Global Function MA_to_string()

`char* MA_to_string ( mask_t mask, char* const* tokens )`

Prototyped in: | modules/ma/bitmask.h
Calls: | MA_isset() | modules/ma/bitmask.c
| fprintf(), sprintf(), strcat(), strcpy(), strlen(), wr_real_calloc()

## Global Function MA_xor()

`mask_t MA_xor ( mask_t a, mask_t b )`

Prototyped in: | modules/ma/bitmask.h