install rsrv.h

This commit is contained in:
Jeff Hill
2000-03-20 23:15:16 +00:00
parent b35e62ed07
commit eda62d862f
4 changed files with 53 additions and 4 deletions
+2
View File
@@ -5,6 +5,8 @@ include $(TOP)/configure/CONFIG
USR_INCLUDES = -I../../ca
INC += rsrv.h
LIBSRCS += caserverio.c
LIBSRCS += caservertask.c
LIBSRCS += camsgtask.c
+2 -2
View File
@@ -339,9 +339,9 @@ LOCAL int req_server (void)
}
/*
* rsrv_init()
* rsrv_init ()
*/
int rsrv_init()
int rsrv_init ()
{
clientQlock = semMutexMustCreate();
+43
View File
@@ -0,0 +1,43 @@
/*
* $Id$
*
* Author: Jeffrey O. Hill
* hill@luke.lanl.gov
* (505) 665 1831
* Date: 5-88
*
* Experimental Physics and Industrial Control System (EPICS)
*
* Copyright 1991, the Regents of the University of California,
* and the University of Chicago Board of Governors.
*
* This software was produced under U.S. Government contracts:
* (W-7405-ENG-36) at the Los Alamos National Laboratory,
* and (W-31-109-ENG-38) at Argonne National Laboratory.
*
* Initial development by:
* The Controls and Automation Group (AT-8)
* Ground Test Accelerator
* Accelerator Technology Division
* Los Alamos National Laboratory
*
* Co-developed with
* The Controls and Computing Group
* Accelerator Systems Division
* Advanced Photon Source
* Argonne National Laboratory
*
*/
#ifndef rsrvh
#define rsrvh
#include "shareLib.h"
epicsShareFunc int rsrv_init (void);
#define RSRV_OK 0
#define RSRV_ERROR (-1)
#endif /*rsrvh */
+6 -2
View File
@@ -30,6 +30,10 @@
#ifndef INCLserverh
#define INCLserverh
#ifdef epicsExportSharedSymbols
# error suspect that libCom is being exported from rsrv?
#endif /* ifdef epicsExportSharedSymbols */
#include "osiThread.h"
#include "bucketLib.h"
#include "asLib.h"
@@ -38,8 +42,8 @@
#include "caProto.h"
#include "ellLib.h"
#define RSRV_OK 0
#define RSRV_ERROR (-1)
#define epicsExportSharedSymbols
#include "rsrv.h"
#define LOCAL static