*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> DtDbLoad (3)              
Title
Content
Arch
Section
 

Contents


 DtDbLoad(library call)                               DtDbLoad(library call)




 NAME    [Toc]    [Back]
      DtDbLoad - load actions and data types database

 SYNOPSIS    [Toc]    [Back]
      #include <Dt/Action.h>
      void DtDbLoad(void)

 DESCRIPTION    [Toc]    [Back]
      The DtDbLoad function loads the actions and data types database into
      the application.  When the function returns, the database has been
      loaded.

      An environment variable determines the set of directories to be
      searched.  The DtDbLoad function loads all actions and data types
      defined in files with a .dt suffix located in these directories.

      The directory search path is based on the value of the
      DTDATABASESEARCHPATH environment variable and internal defaults.
      DTDATABASESEARCHPATH contains a comma-separated list of directories in
      [host:]/path format.  The application must call DtDbLoad before
      calling any of the routines that query either the action or data type
      databases.  If called multiple times, the old databases are freed
      before the new ones are created.

 RETURN VALUE    [Toc]    [Back]
      The DtDbLoad function returns no value.

 APPLICATION USAGE    [Toc]    [Back]
      If this function is used in a long-lived application, the application
      must dynamically reload the databases when they are modified.  To do
      this, the client must register to receive notification whenever the
      actions and data types database needs to be modified.  It is up to the
      application to recall DtDbLoad after receiving notification.  This is
      done with a call to DtDbReloadNotify(3).

      If errors are encountered when reading the database files, error
      messages are written to the user's errorlog file ($HOME/.dt/errorlog).
      Records containing errors are not incorporated into the internal
      database.

 SEE ALSO    [Toc]    [Back]
      Dt/Action.h - DtAction(5), DtDbReloadNotify(3), dtdtfile(4).


                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
      
      
 Similar pages
Name OS Title
DtDtsLoadDataTypes HP-UX load and initialize the data types database
DtDbReloadNotify HP-UX reload the Dt actions and data typing services database
DtDtsRelease HP-UX free memory associated with the data types database
cry2mips IRIX Converts Fortran data types between Cray Fortran data types and MIPS IEEE Fortran data types
class_load_database Tru64 load a new database
perldata OpenBSD Perl data types
perldata IRIX Perl data types
types OpenBSD system data types
DtDtsDataTypeNames HP-UX get a list of available data types
DtDtsFindAttribute HP-UX get a specified list of data types
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service