Next: blonde_rate_minute, Previous: blonde_plan_minute, Up: Data Methods [Contents][Index]
extern int blonde_post_minute (void *, const void *, unsigned, unsigned, unsigned *, void **);
The function inserts the $3 long $2 key in the $1 in-memory table if the key is not recorded by the table, with enough data space to store *$5 bytes, and retrieves the key associated data if the key is featured by the table. The data storage address is stored at $6 and its size at $5. The address is internal to the in-memory table and may be used to store associated data for newly created keys and read associated data for existing keys only until the next library call.
If BLONDE_MINUTE_POST_PRESS
bit is set by $4 and if $2 is already
recorded by $1, the function resizes the data associated with $2, according the
remaining $4 change flags and the *$5 change size, the same way
blonde_plan_minute
does. If the bit is not set (and the key is
recorded), the changes made to the key associated data may be not written in
the data store with the subsequent transaction closings, as no data change is
recorded.
See blonde_ever_detail.
See blonde_plan_minute.
The function returns BLONDE_MINUTE_EVER_MATCH
if the key was present in
the table, 0 for insertion success and one of the defined error codes for
failure.