-
Notifications
You must be signed in to change notification settings - Fork 0
/
minimal_gbldefs.c
37 lines (31 loc) · 1.3 KB
/
minimal_gbldefs.c
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
/****************************************************************
* *
* Copyright (c) 2018 YottaDB LLC and/or its subsidiaries. *
* All rights reserved. *
* *
* 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. *
* *
****************************************************************/
/* This is like gbldefs.c but contains all global variables that are needed
* even by "gtmsecshr_wrapper" (which does not pull in gbldefs.c).
* Not including "mdef.h" in this module since this is also included in the encryption plugin.
*/
#include "gtm_common_defs.h"
#include "ydb_logicals.h"
/* ydbenvname contains the list of env vars supported by YottaDB */
LITDEF char *ydbenvname[YDBENVINDX_MAX_INDEX] =
{
# define YDBENVINDX_TABLE_ENTRY(ydbenvindx, ydbenvname, gtmenvname) ydbenvname,
# include "ydb_logicals_tab.h"
# undef YDBENVINDX_TABLE_ENTRY
};
/* gtmenvname contains the list of env vars supported by GT.M (and in turn by YottaDB) */
LITDEF char *gtmenvname[YDBENVINDX_MAX_INDEX] =
{
# define YDBENVINDX_TABLE_ENTRY(ydbenvindx, ydbenvname, gtmenvname) gtmenvname,
# include "ydb_logicals_tab.h"
# undef YDBENVINDX_TABLE_ENTRY
};