GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > GRBP / V0-2-0

Constituent: grbpsiu     Tag: sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

GRBP_bitList.c File Reference

Maintains a bit list of elements, implementation. More...

#include "GRBP_bitList.h"
#include <string.h>

Include dependency graph for GRBP_bitList.c:


Functions

int GRBP_bitListSizeof (int max)
 Computes the amount of memory to maintain a list of max elements.
unsigned char * GRBP_bitListConstruct (GRBP_bitList *list, int max)
 Constructs (initializes) the list of max elements.
void GRBP_bitListSet (GRBP_bitList *list, unsigned int bit)
void GRBP_bitListClear (GRBP_bitList *list, unsigned int bit)
void GRBP_bitListClearCount (GRBP_bitList *list, int from, int mbits)
 Clears the mbits from a specified starting position from.

Detailed Description

Maintains a bit list of elements, implementation.

Author:
JJRussell - russell@slac.stanford.edu
   CVS $Id: GRBP_bitList.c,v 1.1.1.1 2007/06/18 00:42:58 russell Exp $

Function Documentation

void GRBP_bitListClearCount GRBP_bitList list,
int  from,
int  mbits
 

Clears the mbits from a specified starting position from.

Parameters:
list The bit list to clear
from The starting bit position
mbits The number of bits to clear

unsigned char * GRBP_bitListConstruct GRBP_bitList list,
int  max
 

Constructs (initializes) the list of max elements.

Returns:
Pointer to the next available memory
Parameters:
list The list to construct
max The maximum number of elements being maintained

int GRBP_bitListSizeof int  max  ) 
 

Computes the amount of memory to maintain a list of max elements.

Returns:
The size, in bytes, of the amount of memory to maintain a list of max elements
Parameters:
max The maximum number of elements to maintain


Generated on Fri Aug 3 03:46:36 2007 by  doxygen 1.4.4