#include <stdio.h>
#include "shareLib.h"
Go to the source code of this file.
Definition at line 265 of file asCa.c.
int ascarFP(FILE *fp, int level)
Definition at line 267 of file asCa.c.
274 fprintf(fp,
"access security not started\n");
284 pcapvt = pasginp->
capvt;
288 if(level>1 || (level==1 && state!=
cs_conn)) {
289 fprintf(fp,
"connected:");
292 else if(state==
cs_conn) fprintf(fp,
"yes ");
293 else if(state==
cs_closed) fprintf(fp,
"closed");
294 else fprintf(fp,
"unknown");
295 fprintf(fp,
" read:%s write:%s",
304 fprintf(fp,
"%d channels %d not connected\n",n,nbad);
LIBCA_API unsigned epicsStdCall ca_write_access(chid chan)
LIBCOM_API volatile ASBASE * pasbase
LIBCA_API enum channel_state epicsStdCall ca_state(chid chan)
LIBCA_API const char *epicsStdCall ca_host_name(chid channel)
#define ellNext(PNODE)
Find the next node in list.
LIBCA_API const char *epicsStdCall ca_name(chid chan)
LIBCA_API unsigned epicsStdCall ca_read_access(chid chan)
#define ellFirst(PLIST)
Find the first node in list.
Definition at line 230 of file asCa.c.
244 errMessage(0,
"asCaStart: taskSpawn Failure\n");
#define epicsMutexMustCreate()
Create an epicsMutex semaphore for use from C code.
#define errMessage(S, PM)
LIBCOM_API epicsEventId epicsEventMustCreate(epicsEventInitialState initialState)
Create an epicsEvent for use from C code.
void epicsStdCall epicsMutexUnlock(epicsMutexId pmutexNode)
Release the semaphore.
LIBCOM_API unsigned int epicsStdCall epicsThreadGetStackSize(epicsThreadStackSizeClass size)
LIBCOM_API void epicsEventMustWait(epicsEventId id)
Wait for an event (see epicsEventWait()).
epicsThreadId epicsStdCall epicsThreadCreate(const char *name, unsigned int priority, unsigned int stackSize, EPICSTHREADFUNC funptr, void *parm)
#define epicsEventSignal(ID)
A synonym for epicsEventTrigger().
#define epicsThreadPriorityScanLow
#define epicsMutexMustLock(ID)
Claim a semaphore (see epicsMutexLock()).
void(* EPICSTHREADFUNC)(void *parm)
Definition at line 308 of file asCa.c.
315 if (pchans) *pchans = n;
316 if (pdiscon) *pdiscon = nbad;
332 if (pchans) *pchans = n;
333 if (pdiscon) *pdiscon = nbad;
LIBCOM_API volatile ASBASE * pasbase
LIBCA_API enum channel_state epicsStdCall ca_state(chid chan)
#define ellNext(PNODE)
Find the next node in list.
#define ellFirst(PLIST)
Find the first node in list.
Definition at line 254 of file asCa.c.
256 if(threadid==0)
return;
void epicsStdCall epicsMutexUnlock(epicsMutexId pmutexNode)
Release the semaphore.
LIBCOM_API void epicsEventMustWait(epicsEventId id)
Wait for an event (see epicsEventWait()).
#define epicsEventSignal(ID)
A synonym for epicsEventTrigger().
#define epicsMutexMustLock(ID)
Claim a semaphore (see epicsMutexLock()).