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

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

Contents


 DtSearchGetKeytypes(library call)         DtSearchGetKeytypes(library call)




 NAME    [Toc]    [Back]
      DtSearchGetKeytypes - Access the Keytypes array for a DtSearch
      database

 SYNOPSIS    [Toc]    [Back]
      #include <Dt/Search.h>
      int DtSearchGetKeytypes(
      char *dbname,
      int *ktcount,
      DtSrKeytype **keytypes);

 DESCRIPTION    [Toc]    [Back]
      The DtSearchGetKeytypes function returns a pointer to the keytypes
      array of the specified database. The caller may modify the is_selected
      member of any DtSrKeytype but should not alter any other member
      values.

      This function may be called anytime after DtSearchInit.

 ARGUMENTS    [Toc]    [Back]
      dbname    Specifies for which database the keytypes are requested. It
                is any one of the database name strings from the array
                returned from DtSearchInit or DtSearchReinit. If dbname is
                NULL, the first database name string in the array is used.

      ktcount   Specifies the address of the integer where the keytypes
                array size will be stored.

      keytypes  Specifies the address where pointer to keytypes array will
                be stored.

 RETURN VALUE    [Toc]    [Back]
      Returns DtSrOK and keytypes pointer and size.

      Any API function can also return DtSrREINIT or the return codes for
      fatal engine errors, as well as messages on the MessageList, at any
      time.

 SEE ALSO    [Toc]    [Back]
      dtsrcreate(1), DtSearchQuery(3), DtSrAPI(3), DtSearch(5)


                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
      
      
 Similar pages
Name OS Title
DtSearchQuery HP-UX Perform a DtSearch database search for a specified query
DtSearchFreeMessages HP-UX Access and manipulate messages on the DtSearch MessageList
DtSearchAddMessage HP-UX Access and manipulate messages on the DtSearch MessageList
DtSearchGetMessages HP-UX Access and manipulate messages on the DtSearch MessageList
DtSearchHasMessages HP-UX Access and manipulate messages on the DtSearch MessageList
unpack IRIX Unpacks an array of rank one into an array under control of a mask
dbopen Tru64 database access methods
dbopen FreeBSD database access methods
dbm_dirnfo FreeBSD database access functions
dbm FreeBSD database access functions
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service