From a71778bfccab35abc32603b421183fcb1d78b924 Mon Sep 17 00:00:00 2001 From: Marty Kraimer Date: Tue, 2 May 2000 13:47:03 +0000 Subject: [PATCH] export casr; remove client_stat --- src/rsrv/caservertask.c | 11 +---------- src/rsrv/rsrv.h | 1 + src/rsrv/server.h | 3 --- 3 files changed, 2 insertions(+), 13 deletions(-) diff --git a/src/rsrv/caservertask.c b/src/rsrv/caservertask.c index 07a63253c..539ceb303 100644 --- a/src/rsrv/caservertask.c +++ b/src/rsrv/caservertask.c @@ -366,15 +366,6 @@ epicsShareFunc int epicsShareAPI rsrv_init (void) return RSRV_OK; } -/* - * client_stat() - */ -int client_stat(unsigned level) -{ - printf ("\"client_stat\" has been replaced by \"casr\"\n"); - return ellCount(&clientQ); -} - /* * log_one_client () */ @@ -480,7 +471,7 @@ LOCAL void log_one_client (struct client *client, unsigned level) /* * casr() */ -void casr (unsigned level) +void casr epicsShareAPI (unsigned level) { size_t bytes_reserved; struct client *client; diff --git a/src/rsrv/rsrv.h b/src/rsrv/rsrv.h index 0f3d18e57..6669ec207 100644 --- a/src/rsrv/rsrv.h +++ b/src/rsrv/rsrv.h @@ -36,6 +36,7 @@ #include "shareLib.h" epicsShareFunc int epicsShareAPI rsrv_init (void); +epicsShareFunc void epicsShareAPI casr (unsigned level); #define RSRV_OK 0 #define RSRV_ERROR (-1) diff --git a/src/rsrv/server.h b/src/rsrv/server.h index a4a1e30c3..cb40b2435 100644 --- a/src/rsrv/server.h +++ b/src/rsrv/server.h @@ -215,9 +215,6 @@ GLBLTYPE int casSufficentSpaceInPool; #define LOCK_CLIENTQ semMutexMustTake (clientQlock); #define UNLOCK_CLIENTQ semMutexGive (clientQlock); -int client_stat (unsigned level); -void casr (unsigned level); - void camsgtask (struct client *client); void cas_send_msg (struct client *pclient, int lock_needed); caHdr *cas_alloc_msg (struct client *pclient, unsigned extsize);