Commit: 3314e606a2014670a77495255ba7862436ee480b
Parent: a3e9d397f0b5afa613504a0d77f59279ef3dc5d2
Author: Anderson Lizardo <anderson.lizardo@openbossa.org>
Committer: Johan Hedberg <johan.hedberg@nokia.com>
Date: 2011-03-30 19:37:40
Tree: c64fd4ed3f070fd72b1a9ae995b94c4d1e93238d

Add attrib_db_find_avail() function to attribute server This new function searches for a range of at least "nitems" available (unused) attribute handles. It then returns either zero (if no available range was found) or the start handle of the available range.

Diffstat

M src/attrib-server.c | 28 ++++++++++++++++++++++++++++
M src/attrib-server.h | 1 +

2 files changed, 29 insertions(+), 0 deletions(-)

View Full Diff | Patch