1 /* $XConsortium: csmget.c /main/2 1996/05/09 03:58:53 drk $ */
3 * COMPONENT_NAME: austext
9 * OBJECT CODE ONLY SOURCE MATERIALS
11 /*-----------------------------------------------------------------------
12 csmget.c -- db_VISTA current set member database address get module.
14 (C) Copyright 1987 by Raima Corporation.
15 -----------------------------------------------------------------------*/
17 /* ********************** EDIT HISTORY *******************************
19 SCR DATE INI DESCRIPTION
20 ----- --------- --- -----------------------------------------------------
21 04-Aug-88 RTK MULTI_TASK changes
28 /* Get current set member
30 d_csmget(set, dba TASK_PARM DBN_PARM)
31 int set; /* Set table entry */
32 DB_ADDR FAR *dba; /* db address of record to become current */
34 DBN_DECL /* database number */
36 SET_ENTRY FAR *set_ptr;
38 DB_ENTER(DB_ID TASK_ID LOCK_SET(SET_NOIO));
40 if (nset_check(set, &set, (SET_ENTRY FAR * FAR *)&set_ptr) != S_OKAY)
43 if ( ! (*dba = curr_mem[set]) )
48 /* vpp -nOS2 -dUNIX -nBSD -nVANILLA_BSD -nVMS -nMEMLOCK -nWINDOWS -nFAR_ALLOC -f/usr/users/master/config/nonwin csmget.c */