core/find.c File Reference


Detailed Description

Id
find.c 1204 2009-01-12 17:07:32Z d3p988
Copyright (C) 2008 Battelle Memorial Institute

Author:
David P. Chassin

Definition in file find.c.

Go to the source code of this file.

Functions

char * find_file (char *name, char *path, int mode)
 Search for a file in the specified path (or in GLPATH environment variable) access flags: 0 = exist only, 2 = write, 4 = read, 6 = read/write.
OBJECTfind_first (FINDLIST *list)
 Returns the first object currently in the the search list return.
int find_makearray (FINDLIST *list, OBJECT ***objs)
 Makes an array from the objects currently in the search list result.
OBJECTfind_next (FINDLIST *list, OBJECT *obj)
 Return the next object in the currenet search list.
FINDLIST * find_objects (FINDLIST *start,...)
 Search for objects that match criteria start may be a previous search result, or FT_NEW.
FINDLIST * findlist_copy (FINDLIST *list)
 Make a copy of a findlist.


GridLAB-DTM Version 2.0
An open-source project initiated by the US Department of Energy