ssldump/common/include/r_bitfield.h

25 lines
504 B
C
Raw Normal View History

2015-01-31 09:13:33 +00:00
/**
r_bitfield.h
Copyright (C) 2001 RTFM, Inc.
All Rights Reserved.
ekr@rtfm.com Wed Oct 3 10:43:50 2001
*/
#ifndef _r_bitfield_h
#define _r_bitfield_h
typedef struct r_bitfield_ {
2023-08-14 10:37:08 +00:00
UINT4 *data;
UINT4 len;
UINT4 base;
2015-01-31 09:13:33 +00:00
} r_bitfield;
2023-08-14 10:37:08 +00:00
int r_bitfield_set PROTO_LIST((r_bitfield *, int bit));
int r_bitfield_isset PROTO_LIST((r_bitfield *, int bit));
int r_bitfield_create PROTO_LIST((r_bitfield * *setp, UINT4 size));
int r_bitfield_destroy PROTO_LIST((r_bitfield * *setp));
2015-01-31 09:13:33 +00:00
#endif