/*!******************************************************************************

  @file         hgg04_1.h

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

  @author       <unknown>

  @brief        <unknown topic>

\if EMIT_LICENCE

    ========== licence begin  GPL
    Copyright (c) 2000-2005 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
\endif

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

#ifndef HGG04_1_H
#define HGG04_1_H


/*===========================================================================*
 *     RefType: C++                                                          *
 *===========================================================================*/

/*===========================================================================*
 *     MD5: '\xa0\x7b\x89\xc7\xe9\x3f\xe3\x3e\x71\x9c\x4f\xee\xca\x0f\xd0\xe6'
 *===========================================================================*/


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

#include "gsp00.h"
#include "ggg00.h"
#include "ggg07.h"


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

externPascal void g04limitprimkeys (
    const tgg00_MessBlock  &  mblock,
    tgg07_ColPosArr       &  startkeyarr,
    tgg00_Lkey            &  start_key,
    tgg07_ColPosArr       &  stopkeyarr,
    tgg00_Lkey            &  stop_key,
    pasbool               &  use_stopkey,
    tsp00_Int2               in_stpos_hint,
    tsp00_Int2               in_value_idx);

/* Don't edit this file by hand, it is generated by ptocProto.py */

externPascal void g04limitinvkeys (
    const tgg00_MessBlock  &  mblock,
    tgg07_StrInvInRange   &  inv_strat,
    tgg00_Lkey            &  startkey,
    tgg00_Lkey            &  stopkey,
    tsp00_Int2               in_stpos_hint,
    tsp00_Int2               in_value_idx);

/* Don't edit this file by hand, it is generated by ptocProto.py */

externPascal void gg04one_subq_limitprimkey (
    tgg00_MessBlock       &  mblock,
    tgg00_Rec             &  subq_buf,
    tgg07_ColPosArr       &  keyarr,
    tgg00_Lkey            &  one_key,
    pasbool               &  use_stopkey);

/* Don't edit this file by hand, it is generated by ptocProto.py */

externPascal void gg04one_subq_limitinvkey (
    tgg00_MessBlock       &  mblock,
    tgg00_Rec             &  subq_buf,
    tgg07_StrInvInRange   &  inv_strat,
    tgg00_Lkey            &  one_key,
    pasbool                  is_startkey);

/* Don't edit this file by hand, it is generated by ptocProto.py */

externPascal void g04smallest_greater_key_ex (
    tgg00_Lkey            &  key,
    tsp00_Int2               max_length);

/* Don't edit this file by hand, it is generated by ptocProto.py */

externPascal void g04greatest_smaller_key_ex (
    tgg00_Lkey            &  key,
    tsp00_Int2               max_length);

/* Don't edit this file by hand, it is generated by ptocProto.py */

externPascal void g04smallest_greater_key (
    tgg00_Lkey            &  key);

/* Don't edit this file by hand, it is generated by ptocProto.py */

externPascal void g04greatest_smaller_key (
    tgg00_Lkey            &  key);

/* Don't edit this file by hand, it is generated by ptocProto.py */

externPascal pasbool g04isnull_value (
    tgg00_StackEntry      &  stackentry,
    tgg00_MessBlock       &  mblock);

/* Don't edit this file by hand, it is generated by ptocProto.py */

externPascal pasbool g04iseffective_value (
    tgg00_StackEntry      &  stackentry,
    tgg00_MessBlock       &  mblock);

/* Don't edit this file by hand, it is generated by ptocProto.py */


#endif

