Main Page | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

dbcounter_record Struct Reference

The actual structure physically stored in DB_COUNTER This is NOT portable. The values that may be set as default during the initialization of counter. When the struct is stored into the database: The variable length font name is stored after atime if bit 4 of status is set. The variable length bgfile name is stored after atime, and font (if any), if bit 5 of status is set. More...

#include <countm.h>


Data Fields

cntval_t cnt
enum imagetype image
enum counttype count
enum randomtype random
enum imagetype bgfile_type
status_t status
int width_val
int point_val
rgb_t bgcolor_val
rgb_t text_val
char atime [COUNTM_ATIME_LENGTH]


Detailed Description

The actual structure physically stored in DB_COUNTER This is NOT portable. The values that may be set as default during the initialization of counter. When the struct is stored into the database: The variable length font name is stored after atime if bit 4 of status is set. The variable length bgfile name is stored after atime, and font (if any), if bit 5 of status is set.


Field Documentation

char dbcounter_record::atime[COUNTM_ATIME_LENGTH]
 

last write date (ctime output). Includes term zero. Format is: "MMM DD YYYY" M=three char month, DD is two digit day, YYYY is four digit year

rgb_t dbcounter_record::bgcolor_val
 

the stored default background color

enum imagetype dbcounter_record::bgfile_type
 

If status_bgfile==1, the background image type.

cntval_t dbcounter_record::cnt
 

The acutual value of the counter.

enum counttype dbcounter_record::count
 

the stored default count type

enum imagetype dbcounter_record::image
 

the stored default image type

int dbcounter_record::point_val
 

the stored default point size of font

enum randomtype dbcounter_record::random
 

the stored default random type

status_t dbcounter_record::status
 

bit field for various informations

rgb_t dbcounter_record::text_val
 

the stored default text color

int dbcounter_record::width_val
 

the stored default chars/digits to return


The documentation for this struct was generated from the following file:
Generated on Sat Jan 7 15:48:39 2006 for countm by  doxygen 1.4.2