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

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

Contents


 DtMmdbOpenInfoLib(library call)             DtMmdbOpenInfoLib(library call)




 NAME    [Toc]    [Back]
      DtMmdbOpenInfoLib - opens an infolib for service

 SYNOPSIS    [Toc]    [Back]
      #include <DtMmdb.h>
      int DtMmdbOpenInfoLib(
      const char* infolib_path,
      const char* selected_base_name,
      DtMmdbBool delayed_infolib_init);

 DESCRIPTION    [Toc]    [Back]
      The DtMmdbOpenInfoLib function opens an infolib for user access and
      returns the descriptor for the infolib. It makes the database engine
      ready to provide service for an infolib. To obtain information about
      an infolib, use the DtMmdbInfoLibGetInfo function.

 ARGUMENTS    [Toc]    [Back]
      infolib_path
                Specifies the absolute path for the infolib.

      selected_base_name
                Specifies a single bookcase to be accessed in this session.
                A NULL value indicates that all bookcases will be accessed.

      delayed_infolib_init
                Specifies whether the bookcase activation will be delayed
                until access time. If you specify DtMmdbTrue,
                DtMmdbOpenInfoLib postpones the activation. This is useful
                when you want faster Dtinfo Database Engine initialization.

 RETURN VALUE    [Toc]    [Back]
      -1        The initialization failed.

      >=0       The initialization succeeded. The returned integer
                represents a valid infolib descriptor.

 EXAMPLE    [Toc]    [Back]
      The following shows how a DtMmdbOpenInfoLib call might be coded.

      DtMmdbOpenInfoLib(myInfoLibPath, "myBookCase", DtMmdbFalse);

 SEE ALSO    [Toc]    [Back]
      DtMmdbInfoLibGetInfo(3), DtMmdbCloseInfoLib(3)


                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
      
      
 Similar pages
Name OS Title
DtMmdbCloseInfoLib HP-UX closes an infolib
DtMmdbInfoLibGetInfo HP-UX obtains information about an infolib
DtMmdbInfoLibInfo HP-UX dtinfo infolib structure
DtMmdbGetBookCaseByIndex HP-UX obtains a descriptor for a bookcase based on an infolib index
DtMmdbInfoLibFreeInfo HP-UX frees space occupied by an infolib information structure
DtMsgLogOpenFile HP-UX opens a log file
CDopen IRIX opens a CD-ROM drive for audio use
DXmSvnAddEntries Tru64 Opens new entries in the structure.
editobj IRIX opens an object definition for editing
sem_open Tru64 Opens/creates a named semaphore for use by a process (P1003.1b)
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service