Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- C/Database Toolchest Library - name: <b>irmindex</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Name:       irmindex

Purpose:    remove an index from a database

Prototype:  int irmindex(Db_Obj *db, char *index_name);

Header:     isam.h

Inputs:     db          - database handle
            index_name  - name of index to remove

Description:
        irmindex removes the index named index_name from the database
        db by deleting all of the entries of that index from the index
        file.  The records in the data file are not affected.

        If there are many records in the database, irmindex may take a
        little while.  You can call iprogress to set up a function to be
        called by irmindex to display a message after each record is
        processed.

        It is an error to call irmindex for the Physical Index.

Returns:
        OK or ERROR

See Also: iprogress

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson