SDFEXISTS(3SDF)

NAME
sdfexistslib, sdfexistsfun, sdfexistscir, sdfexistslay - functions to test whether a seadif cell exists and to provide an entry in the internal hash tables of the sealib functions.

SYNOPSIS
 #include <sealib.h>
 extern LIBTABPTR thislibtab; /* set by existslib */
 extern FUNTABPTR thisfuntab; /* set by existsfun */
 extern CIRTABPTR thiscirtab; /* set by existscir */
 extern LAYTABPTR thislaytab; /* set by existslay */
 public int sdfexistslib(STRING libname)
 public int sdfexistsfun(STRING funname, STRING libname)
 public int sdfexistscir(STRING cirname, STRING funname, STRING libname)
 public int sdfexistslay(STRING layname, STRING cirname,
                        STRING funname, STRING libname)

DESCRIPTION
These functions return TRUE if the named object exists in the data base, otherwise they return NIL. In addition, if the function returns TRUE, the corresponding global pointer thislibtab, thisfuntab, thiscirtab or thislaytab points to an entry in the hash tables that contains information about the object. To see what kind of information is currently available from the hash tables, please inspect the data structures defined in the file <libio.h>.

WARNING
As usual, the argument strings of these functions must be canonic, see cs(3SDF).

AUTHOR
Paul Stravers, Delft University of Technology. E-mail address is ocean@donau.et.tudelft.nl.

SEE ALSO
sealib(3SDF), sdfread(3SDF), sdfwrite(3SDF), sdfremove(3SDF), sdfopen(3SDF), sdfclose(3SDF), sdfattachlib(3SDF), cs(3SDF), memman(3SDF), seadif(4SDF), sdfimage(4SDF).