Thunderstone Software Document Search, Retrieval, and Management
Search:
Texis Manual
 

getcounter() - Get a valid counter value

SYNOPSIS

ft_counter *getcounter(DDIC *ddic);


PARAMETERS

DDIC *ddic

Currently open database.


DESCRIPTION
This will return a pointer to a counter structure. This structure is guaranteed to be unique amongst all users of the same database. Getcounter returns an allocated structure, so once it has been committed to disk it must be freed. The pointer that is returned is suitable for use in a putfld() call where the field is of type counter.

Returns a pointer to an allocated structure on success, and NULL on failure.


SEE ALSO
putfld(), putdbtblrow()


Copyright © Thunderstone Software     Last updated: Thu Dec 22 14:51:46 EST 2011
 
Home   ::   Products   ::   Solutions   ::   How to Buy   ::   Support   ::   Contact Us   ::   News   ::   About
Copyright © 2012 Thunderstone Software LLC. All rights reserved.