96 lines
3.4 KiB
C
96 lines
3.4 KiB
C
|
#ifndef h_netglobal
|
||
|
#define h_netglobal
|
||
|
/******************************************************************************
|
||
|
*
|
||
|
* netglobal.h - standard Network daemon data definitions
|
||
|
*
|
||
|
* Module %M% Version %I% Date %H%
|
||
|
*
|
||
|
* (c) Copyright 1998 Ardent Software Inc. - All Rights Reserved
|
||
|
* This is unpublished proprietary source code of Ardent Software Inc.
|
||
|
* The copyright notice above does not evidence any actual or intented
|
||
|
* publication of such source code.
|
||
|
*
|
||
|
*******************************************************************************
|
||
|
*
|
||
|
* Maintenence log - insert most recent change descriptions at top
|
||
|
*
|
||
|
* Date.... GTAR# WHO Description........................................
|
||
|
* 10/14/98 23801 SAP Change copyrights.
|
||
|
* 05/13/94 13942 JSW Add recordlocked
|
||
|
* 04/25/94 13773 JSW Add fileinfo
|
||
|
* 12/20/90 7868 TMC Port Rel 5.7 to Rel 7
|
||
|
* 06/13/90 4944 TMC Networking Phase II
|
||
|
* 06/28/89 -- GPS New file
|
||
|
*
|
||
|
*****************************************************************************/
|
||
|
|
||
|
#if NETwork
|
||
|
|
||
|
/* _NETflag and _NETqueid are initialized by DBinit.c */
|
||
|
|
||
|
#include ERRNO_H
|
||
|
#define MB (struct msgbuf *)
|
||
|
EXTERN int _NETflag ; /* flag indicating if network is active */
|
||
|
EXTERN int _NETqueid; /* kernal id for network message queue */
|
||
|
EXTERN int errno;
|
||
|
PRI_RW int i,n,respid,mrty;
|
||
|
PRI_RW struct fs_file filereq;
|
||
|
PRI_RW struct fs_access accessreq;
|
||
|
PRI_RW struct fs_close closereq;
|
||
|
PRI_RW struct fs_fstat fstatreq;
|
||
|
PRI_RW struct fs_lseek lseekreq;
|
||
|
PRI_RW struct fs_open openreq;
|
||
|
PRI_RW struct fs_read readreq;
|
||
|
PRI_RW struct fs_stat statreq;
|
||
|
PRI_RW struct fs_write writereq;
|
||
|
PRI_RW struct fs_fstatrs fstatres;
|
||
|
PRI_RW struct fs_io2rs io2res;
|
||
|
PRI_RW struct fs_lseekrs lseekres;
|
||
|
PRI_RW struct fs_readrs readres;
|
||
|
/*
|
||
|
* These are the structures for second (DB) level of networking.
|
||
|
*/
|
||
|
PRI_RW struct fs_DBopen DBopenreq;
|
||
|
PRI_RW struct fs_DBopenrs DBopenres;
|
||
|
PRI_RW struct fs_DBclose DBclosereq;
|
||
|
PRI_RW struct fs_DBclosers DBcloseres;
|
||
|
PRI_RW struct fs_DBclrfl DBclrflreq;
|
||
|
PRI_RW struct fs_DBclrflrs DBclrflres;
|
||
|
PRI_RW struct fs_DBdel DBdelreq;
|
||
|
PRI_RW struct fs_DBdelrs DBdelres;
|
||
|
PRI_RW struct fs_DBprobe DBprobereq;
|
||
|
PRI_RW struct fs_DBprobers DBproberes;
|
||
|
PRI_RW struct fs_DBread DBreadreq;
|
||
|
PRI_RW struct fs_DBreadrs DBreadres;
|
||
|
PRI_RW struct fs_DBrdata DBrdata;
|
||
|
PRI_RW struct fs_DBwrite DBwritereq;
|
||
|
PRI_RW struct fs_DBwriters DBwriteres;
|
||
|
PRI_RW struct fs_DBwdata DBwdata;
|
||
|
PRI_RW struct fs_DBupdlock DBupdlockreq;
|
||
|
PRI_RW struct fs_DBupdlockrs DBupdlockres;
|
||
|
PRI_RW struct fs_DBselect DBselectreq;
|
||
|
PRI_RW struct fs_sselect sselectreq;
|
||
|
PRI_RW struct fs_selectrs selectres;
|
||
|
PRI_RW struct fs_DBrblok DBrblokreq;
|
||
|
PRI_RW struct fs_DBrblokrs DBrblokres;
|
||
|
PRI_RW struct fs_DBwblok DBwblokreq;
|
||
|
PRI_RW struct fs_DBwblokrs DBwblokres;
|
||
|
PRI_RW struct fs_DBrelease DBreleasereq;
|
||
|
PRI_RW struct fs_DBreleasers DBreleaseres;
|
||
|
PRI_RW struct fs_DBstatus DBstatusreq;
|
||
|
PRI_RW struct fs_DBstatusrs DBstatusres;
|
||
|
PRI_RW struct fs_DBscandir DBscandirreq;
|
||
|
PRI_RW struct fs_DBscandirrs DBscandirres;
|
||
|
PRI_RW struct fs_DBwretry DBwretryreq;
|
||
|
PRI_RW struct fs_getinfo30 getinfo30req;
|
||
|
PRI_RW struct fs_getinfo30rs getinfo30res;
|
||
|
PRI_RW struct fs_DBscant25 DBscant25req;
|
||
|
PRI_RW struct fs_DBscant25rs DBscant25res;
|
||
|
PRI_RW struct fs_DBfinfo DBfinforeg;
|
||
|
PRI_RW struct fs_DBfinfors DBfinfores;
|
||
|
PRI_RW struct fs_DBrecordlocked DBrecordlockedreg;
|
||
|
PRI_RW struct fs_DBrecordlockedrs DBrecordlockedres;
|
||
|
#endif
|
||
|
#endif
|