Alex 'AdUser' Z
|
02fd085351
|
* tools now depends only on public library interface
|
8 years ago |
Alex 'AdUser' Z
|
e938df873f
|
* change simdb_usage_*() : use just 0x0 and 0x1
|
8 years ago |
Alex 'AdUser' Z
|
58289201a4
|
+ simdb_record_bitmap()
|
8 years ago |
Alex 'AdUser' Z
|
43a3dca5f7
|
* ability to use locks on database file
|
8 years ago |
Alex 'AdUser' Z
|
ec3514ca87
|
* simdb_record_used() fix
|
8 years ago |
Alex 'AdUser' Z
|
757f2e48e5
|
* free memory for db handled on close
|
8 years ago |
Alex 'AdUser' Z
|
05fbfde344
|
* split simdb_search by two functions, sharing the same code:
* simdb_search_byid(db, search, num)
* simdb_search_file(db, search, path)
* move pointer to found matches inside simdb_search_t
* fix search without limit (possible OOM)
|
8 years ago |
Alex 'AdUser' Z
|
d692f9373c
|
* drop CALLOC() macro
|
8 years ago |
Alex 'AdUser' Z
|
146d4e4fe4
|
+ simdb_record_add()
|
8 years ago |
Alex 'AdUser' Z
|
44fe96c8fd
|
+ simdb_record_used()
|
8 years ago |
Alex 'AdUser' Z
|
0e3aa8f989
|
* add SIMDB_ERR_SAMPLER
|
8 years ago |
Alex 'AdUser' Z
|
97fb6cbf80
|
* keep records count in database
|
8 years ago |
Alex 'AdUser' Z
|
1cdeacdc54
|
+ simdb_record_del()
|
8 years ago |
Alex 'AdUser' Z
|
fadb954e89
|
* drop simdb_record_write(), simdb_rec_t, simdb_block_t, DB_{READ,WRITE} macro
|
8 years ago |
Alex 'AdUser' Z
|
4a37f289c0
|
* drop simdb_{record,block}_read()
|
8 years ago |
Alex 'AdUser' Z
|
17f23023e8
|
* use simdb_read() instead simdb_{record,block}_read()
|
8 years ago |
Alex 'AdUser' Z
|
c4359f673f
|
* add simdb_{read,write}()
|
8 years ago |
Alex 'AdUser' Z
|
2b4b68e86e
|
* add SIMDB_ERR_USAGE
|
8 years ago |
Alex 'AdUser' Z
|
7939d7f655
|
* reformat simdb_error()
|
8 years ago |
Alex 'AdUser' Z
|
53a775aedc
|
* use simdb_urec_t instead direct access by offsets
|
8 years ago |
Alex 'AdUser' Z
|
eb627d4229
|
* use new simdb_urec_t struct
* ratio_from_rec_data() -> simdb_record_ratio() refactoring
|
8 years ago |
Alex 'AdUser' Z
|
dc93c00cde
|
* more doxygen comments
|
8 years ago |
Alex 'AdUser' Z
|
461aaeaaca
|
* add prefixes for functions & defines in bitmap.[ch]
|
8 years ago |
Alex 'AdUser' Z
|
51c193248e
|
* rename main header
|
8 years ago |
Alex 'AdUser' Z
|
e29176e883
|
* rename simdb_{read,write}_{rec,blk} to simdb_{record,block}_{read,write}
|
8 years ago |
Alex 'AdUser' Z
|
fb4389d481
|
* style fixes in database.c
|
8 years ago |
Alex 'AdUser' Z
|
3af7b53fe6
|
* doxygen comments in database.[ch]
|
8 years ago |
Alex 'AdUser' Z
|
d832b28834
|
* hide ratio_from_rec_data()
|
8 years ago |
Alex 'AdUser' Z
|
ccf1af849b
|
* make simdb_t opaque type
|
8 years ago |
Alex 'AdUser' Z
|
934e9d546e
|
* global rename : imdb -> simdb
|
8 years ago |
Alex 'AdUser' Z
|
8e16263ad2
|
* more error codes
|
8 years ago |
Alex 'AdUser' Z
|
1310895f32
|
* return proper error code in macro DB_READ/DB_WRITE
|
8 years ago |
Alex 'AdUser' Z
|
5ec2a80866
|
* error return codes
* add a lot of #define's
* add imdb_error() for converting error code to detailed description
|
8 years ago |
Alex 'AdUser' Z
|
86b84abb23
|
* imdb_open()/imdb_close() now works with allocated data
|
8 years ago |
Alex 'AdUser' Z
|
dc64ed210c
|
* use single imdb_t->flags instead separate write and caps members
* make caps as bit mask
* prepare for imdb_open returns handle
|
8 years ago |
Alex 'AdUser' Z
|
f9b0ebb6d2
|
* chg imdb_t->errstr from pointer to buffer
|
8 years ago |
Alex 'AdUser' Z
|
ebb727f186
|
* chg imdb_t->path from pointer to buffer
|
8 years ago |
Alex 'AdUser' Z
|
9467c48744
|
* imdb_init() :
* renamed to imdb_create()
* changed signature
|
8 years ago |
Alex 'AdUser' Z
|
d7e02fcd86
|
* use pread/pwrite instead DB_SEEK() macro
|
8 years ago |
Alex 'AdUser' Z
|
e8a35c273d
|
* imdb_usage_slice()
|
10 years ago |
Alex 'AdUser' Z
|
9996f24d48
|
* fix ratio calc
|
10 years ago |
Alex 'AdUser' Z
|
21ff9dbeee
|
* imdb_db_t->write
|
10 years ago |
Alex 'AdUser' Z
|
5598fde41d
|
* rename type
|
10 years ago |
Alex 'AdUser' Z
|
b23d19e479
|
* database.c : imdb_write_rec() fix return value
|
10 years ago |
Alex 'AdUser' Z
|
fe59f4cde8
|
- imdb_*_list()
|
10 years ago |
Alex 'AdUser' Z
|
2f923e3199
|
* imdb_search() : update
|
10 years ago |
Alex 'AdUser' Z
|
6871af5d0d
|
* imdb_search() : update
|
10 years ago |
Alex 'AdUser' Z
|
983f3f0711
|
* imdb_read_rec() : chg return value and describe
|
10 years ago |
Alex 'AdUser' Z
|
93da988f76
|
* move definitions
|
10 years ago |
Alex 'AdUser' Z
|
c5fceaf78b
|
* change imdb_usage_map()
|
10 years ago |