1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
|
/****************************************************************
* *
* Copyright 2001, 2009 Fidelity Information Services, Inc *
* *
* This source code contains the intellectual property *
* of its copyright holder(s), and is made available *
* under a license. If you do not know the terms of *
* the license, please stop and do not read further. *
* *
****************************************************************/
#include "mdef.h"
#include "gdsroot.h"
#include "gtm_facility.h"
#include "fileinfo.h"
#include "gdsbt.h"
#include "gdsfhead.h"
#include "gvusr.h"
#include "gvusr_queryget.h"
/* this module is just a set of stubs */
void gvusr_init(gd_region *reg, gd_region **creg, gv_key **ckey, gv_key **akey)
{
return;
}
void gvusr_rundown(void)
{
return;
}
int gvusr_data(void)
{
return 1;
}
int gvusr_order(void)
{
return 1;
}
int gvusr_query(mval *v)
{
return 1;
}
int gvusr_zprevious(void)
{
return 1;
}
int gvusr_get(mval *v)
{
v->mvtype = MV_STR;
v->str.len = SIZEOF("TestData") - 1;
v->str.addr = "TestData";
return 1;
}
void gvusr_kill(bool do_subtree)
{
return;
}
void gvusr_put(mval *v)
{
return;
}
int gvusr_lock(uint4 lock_len, unsigned char *lock_key, gd_region *reg)
{ /* 0 indicates successful lock */
return TRUE;
}
void gvusr_unlock(uint4 lock_len, unsigned char *lock_key, gd_region *reg)
{
return;
}
boolean_t gvusr_queryget(mval *v)
{
return 1;
}
|