|
|
@ -145,6 +145,9 @@ void sxtrdb_exflags(sxtrdb_t *, int);
|
|
|
|
/* reset all the flags */
|
|
|
|
/* reset all the flags */
|
|
|
|
#define sxtrdb_flagsreset(a) sxtrdb_exflags((a), 0)
|
|
|
|
#define sxtrdb_flagsreset(a) sxtrdb_exflags((a), 0)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* compare buffers, returns 0 if equal */
|
|
|
|
|
|
|
|
int sxtrdb_cmp(sxtrdb_t *, sxtrdb_t *);
|
|
|
|
|
|
|
|
|
|
|
|
/* let the buffer to use actually used bytes, not all allocated space
|
|
|
|
/* let the buffer to use actually used bytes, not all allocated space
|
|
|
|
* will return SXT_SUCCESS on success (or in case if it doesn't required),
|
|
|
|
* will return SXT_SUCCESS on success (or in case if it doesn't required),
|
|
|
|
* SXT_ENOMEM or other error if fails
|
|
|
|
* SXT_ENOMEM or other error if fails
|
|
|
|