Added seqcaStats routine, returns CA channel count information.
patch 75f583f6c2c791408d176ffe22ef766504461e43
Author: Andrew Johnson <anj@aps.anl.gov>
Date: Wed Jul 23 00:24:01 CEST 2008
* Added seqcaStats routine, returns CA channel count information.
hunk ./src/seq/seqCom.h 205
+epicsShareFunc void epicsShareAPI seqcaStats(int *pchans, int *pdiscon);
hunk ./src/seq/seq_qry.c 300
+
+void epicsShareAPI seqcaStats(int *pchans, int *pdiscon) {
+ struct seqStats stats = {0, 0, 0, 0};
+ seqTraverseProg(seqcarCollect, (void *) &stats);
+ if (pchans) *pchans = stats.nChans;
+ if (pdiscon) *pdiscon = stats.nChans - stats.nConn;
+}