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

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

Contents


 DtSearchMergeResults(library call)       DtSearchMergeResults(library call)




 NAME    [Toc]    [Back]
      DtSearchMergeResults - Merge two DtSearch results lists into one

 SYNOPSIS    [Toc]    [Back]
      #include <Dt/Search.h>
      int DtSearchMergeResults(
      DtSrResult **targlist,
      DtSrResult **srclist);

 DESCRIPTION    [Toc]    [Back]
      DtSearchMergeResults merges the srclist results list into the targlist
      list using proximity for sort order, and sets the srclist source list
      pointer to NULL.

      This function is used to merge results from separate database searches
      for presentation to the user as a single results list.

      It presumes both lists are initially sorted by ascending proximity. It
      does nothing if source list is empty and returns DtSrOK. It moves the
      source list as is to the target list if the target list is empty and
      returns DtSrOK.

 ARGUMENTS    [Toc]    [Back]
      srclist   Specifies the results list to be merged into the target
                list.

      targlist  Specifies the results list into which the source list is to
                be merged.

 RETURN VALUE    [Toc]    [Back]
      DtSearchMergeResults returns DtSrERROR if either the srclist pointer
      or the srclist pointer is NULL. Otherwise, it returns DtSrOK,
      indicating a successful merge.

 SEE ALSO    [Toc]    [Back]
      DtSrAPI(3), DtSearchQuery(3), DtSearchSortResults(3),
      DtSearchFreeResults(3)


                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
      
      
 Similar pages
Name OS Title
DtSearchSortResults HP-UX Sort DtSearch results lists
DtSearchFreeResults HP-UX Free storage allocated for DtSearch results lists
DtSearchSetMaxResults HP-UX Set the DtSearch maximum results value
DtSearchGetMaxResults HP-UX Obtain the DtSearch maximum results value
dlaeda IRIX compute the Z vector corresponding to the merge step in the CURLVLth step of the merge process with TLVLS step
slaeda IRIX compute the Z vector corresponding to the merge step in the CURLVLth step of the merge process with TLVLS step
CL_CertAbortQuery Tru64 Terminate a results handle (CDSA)
CSSM_CL_CertAbortQueryfunction Tru64 Terminate a results handle (CDSA)
compview IRIX tool for viewing results of compression
CSSM_TP_RetrieveCredResult Tru64 Return the results of the credentials request (CDSA)
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service