next up previous contents
Next: cifGetItemCaseSensitivity Up: CIFLIB Item Convenience Functions Previous: CIFLIB Item Convenience Functions

cifGetItemFileOffset

NAME cifGetItemFileOffset

PROTOTYPE

#include "ciflib.h"

long cifGetItemFileOffset(const int   dicDataBlockIndex, 
                          const char *itemName)
PURPOSE

cifGetItemFileOffset returns the byte offset into the dictionary file at which the target item is defined in the target data block. The the data block is identified by index and the item is identified by name.

RECEIVES

dicDataBlockIndex zero-based index of the target data block
itemName name of the target item

RETURN VALUE

Returns an integer byte offset or the value -1 for failure.

REMARKS

See also: cifGetDataBlockFileOffset
  cifGetDataBlockFileOffsetByIndex



Olivera Tosic
6/17/2002