MDBX_insert

Inserts a new record into the monitor database

Declaration

int NAPI MDBX_insert(
    GA_monitor *rec)

Prototype In

snap/monitor.h

Parameters

rec

Monitor record to store entry in

 

Return Value

Error code for operation.

Description

Inserts the specified record into the database. Because the database's are always very small, we simply do a complete copy of the record array, inserting the new record along the way. If the record already exists, we update the existing record with the new data.

See Also

MDBX_first, MDBX_update, MDBX_flush

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com