Logo Search packages:      
Sourcecode: maxdb-7.5.00 version File versions

hbd402.h

/****************************************************************************

  module      : hbd402.h

  -------------------------------------------------------------------------

  author      : AlexanderK
  responsible : UweH

  special area: Inverted Lists Selects
  description : 


  last changed: 1999-03-30  18:21
  see also    : 

  -------------------------------------------------------------------------

  copyright:    (c) 1998-2004 SAP AG



    ========== licence begin  GPL
    Copyright (c) 1998-2004 SAP AG

    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License
    as published by the Free Software Foundation; either version 2
    of the License, or (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
    ========== licence end

*****************************************************************************/


#ifndef HBD402_H
#define HBD402_H

/*===========================================================================*
 *  INCLUDES                                                                 *
 *===========================================================================*/

#include "gsp00.h"
#include "ggg00.h"
#include "gbd00.h"

/*===========================================================================*
 *  DEFINES                                                                  *
 *===========================================================================*/

#ifdef NO_INLINES
# define _INLINE
#else
# define _INLINE  inline
#endif

/*===========================================================================*
 *  FUNCTION PROTOTYPES                                                      *
 *===========================================================================*/

externCpp void 
bd402NextFromInvTree (cbd300_InvCurrent   &InvCurrent,
                      bool                 bIncludeStartSecKey,
                      tsp00_KeyPtr         pSecKey,
                      tsp00_Int2          &SecKeyLen);

/*---------------------------------------------------------------------------*/

externCpp void 
bd402SearchIndexForQualifiedRecords (cbd300_InvCurrent        &InvCurrent,
                                                       tgg00_FileId             &PrimFileId,
                                                       tsp00_KeyPtr              pStartSecKey,
                                                       tgg00_KeyLen             &StartSecKeyLen,
                                                       tsp00_KeyPtr              pStopSecKey,
                                                       tsp00_Int4                StopSecKeyLen,
                                                       tsp00_KeyPtr              pStartPrimKey,
                                                       tsp00_Int4                StartPrimKeyLen,
                                                       tsp00_KeyPtr              pStopPrimKey,
                                                       tsp00_Int4                StopPrimKeyLen,
                                                       tsp00_KeyPtr              pFirstPrimKey,
                                                       tsp00_Int2               &FirstPrimKeyLen,
                                                       tsp00_Int4                RecBufSize,
                                                       tsp00_MoveObjPtr          pRecBuf,
                                                       tgg00_SelectFieldsParam  &SelectParam,
                                                       tgg00_StackDesc          &StackDesc,
                                                       tgg00_LockReqMode        &GrantedLock,
                                                       bool                     &bPrimaryFileErr);


/*---------------------------------------------------------------------------*/

externCpp void 
bd402SearchResultFileForQualifiedRecords (cbd300_InvCurrent        &InvCurrent,
                                                              tgg00_FileId             &PrimFileId,
                                                              tsp00_KeyPtr              pStartKey,
                                                              tgg00_KeyLen             &StartKeyLen,
                                                              tsp00_Int4                RecBufSize,
                                                              tsp00_MoveObjPtr          pRecBuf,
                                                              tgg00_SelectFieldsParam  &SelectParam,
                                                              tgg00_StackDesc          &StackDesc,
                                                              tgg00_LockReqMode        &GrantedLock);

/*---------------------------------------------------------------------------*/


#endif  /* HBD402_H */

Generated by  Doxygen 1.6.0   Back to index