From ff7536539132a4ba2b038aad11a75beb8bf993f7 Mon Sep 17 00:00:00 2001 From: "Janet B. Anderson" Date: Sat, 29 Aug 1992 20:32:40 +0000 Subject: [PATCH] added options parm to recGblGetLinkValue --- src/rec/recAi.c | 5 +++-- src/rec/recAo.c | 3 ++- src/rec/recBi.c | 5 +++-- src/rec/recBo.c | 3 ++- src/rec/recEvent.c | 5 +++-- src/rec/recHistogram.c | 5 +++-- src/rec/recLongin.c | 5 +++-- src/rec/recLongout.c | 3 ++- src/rec/recMbbi.c | 5 +++-- src/rec/recMbbo.c | 3 ++- src/rec/recStringin.c | 5 +++-- src/rec/recStringout.c | 3 ++- src/rec/recWaveform.c | 5 +++-- 13 files changed, 34 insertions(+), 21 deletions(-) diff --git a/src/rec/recAi.c b/src/rec/recAi.c index dbc252c28..b611cf911 100644 --- a/src/rec/recAi.c +++ b/src/rec/recAi.c @@ -493,6 +493,7 @@ static long readValue(pai) long status; struct aidset *pdset = (struct aidset *) (pai->dset); long nRequest=1; + long options=0; if (pai->pact == TRUE){ status=(*pdset->read_ai)(pai); @@ -500,7 +501,7 @@ static long readValue(pai) } status=recGblGetLinkValue(&(pai->siml), - (void *)pai,DBR_ENUM,&(pai->simm),&nRequest); + (void *)pai,DBR_ENUM,&(pai->simm),&options,&nRequest); if (status) return(status); @@ -510,7 +511,7 @@ static long readValue(pai) } if (pai->simm == YES){ status=recGblGetLinkValue(&(pai->siol), - (void *)pai,DBR_DOUBLE,&(pai->sval),&nRequest); + (void *)pai,DBR_DOUBLE,&(pai->sval),&options,&nRequest); if (status==0){ pai->val=pai->sval; pai->udf=FALSE; diff --git a/src/rec/recAo.c b/src/rec/recAo.c index 5e5a66545..2db69b991 100644 --- a/src/rec/recAo.c +++ b/src/rec/recAo.c @@ -582,6 +582,7 @@ static long writeValue(pao) long status; struct aodset *pdset = (struct aodset *) (pao->dset); long nRequest=1; + long options=0; if (pao->pact == TRUE){ status=(*pdset->write_ao)(pao); @@ -589,7 +590,7 @@ static long writeValue(pao) } status=recGblGetLinkValue(&(pao->siml), - (void *)pao,DBR_ENUM,&(pao->simm),&nRequest); + (void *)pao,DBR_ENUM,&(pao->simm),&options,&nRequest); if (status) return(status); diff --git a/src/rec/recBi.c b/src/rec/recBi.c index 470e734d2..5b0b5f129 100644 --- a/src/rec/recBi.c +++ b/src/rec/recBi.c @@ -337,6 +337,7 @@ static long readValue(pbi) long status; struct bidset *pdset = (struct bidset *) (pbi->dset); long nRequest=1; + long options=0; if (pbi->pact == TRUE){ status=(*pdset->read_bi)(pbi); @@ -344,7 +345,7 @@ static long readValue(pbi) } status=recGblGetLinkValue(&(pbi->siml), - (void *)pbi,DBR_ENUM,&(pbi->simm),&nRequest); + (void *)pbi,DBR_ENUM,&(pbi->simm),&options,&nRequest); if (status) return(status); @@ -354,7 +355,7 @@ static long readValue(pbi) } if (pbi->simm == YES){ status=recGblGetLinkValue(&(pbi->siol), - (void *)pbi,DBR_USHORT,&(pbi->sval),&nRequest); + (void *)pbi,DBR_USHORT,&(pbi->sval),&options,&nRequest); if (status==0){ pbi->val=pbi->sval; pbi->udf=FALSE; diff --git a/src/rec/recBo.c b/src/rec/recBo.c index 3d308eaae..6d9bcb324 100644 --- a/src/rec/recBo.c +++ b/src/rec/recBo.c @@ -436,6 +436,7 @@ static long writeValue(pbo) long status; struct bodset *pdset = (struct bodset *) (pbo->dset); long nRequest=1; + long options=0; if (pbo->pact == TRUE){ status=(*pdset->write_bo)(pbo); @@ -443,7 +444,7 @@ static long writeValue(pbo) } status=recGblGetLinkValue(&(pbo->siml), - (void *)pbo,DBR_ENUM,&(pbo->simm),&nRequest); + (void *)pbo,DBR_ENUM,&(pbo->simm),&options,&nRequest); if (status) return(status); diff --git a/src/rec/recEvent.c b/src/rec/recEvent.c index e6acc67bf..5410b9516 100644 --- a/src/rec/recEvent.c +++ b/src/rec/recEvent.c @@ -221,6 +221,7 @@ static long readValue(pevent) long status; struct eventdset *pdset = (struct eventdset *) (pevent->dset); long nRequest=1; + long options=0; if (pevent->pact == TRUE){ status=(*pdset->read_event)(pevent); @@ -228,7 +229,7 @@ static long readValue(pevent) } status=recGblGetLinkValue(&(pevent->siml), - (void *)pevent,DBR_ENUM,&(pevent->simm),&nRequest); + (void *)pevent,DBR_ENUM,&(pevent->simm),&options,&nRequest); if (status) return(status); @@ -238,7 +239,7 @@ static long readValue(pevent) } if (pevent->simm == YES){ status=recGblGetLinkValue(&(pevent->siol), - (void *)pevent,DBR_USHORT,&(pevent->sval),&nRequest); + (void *)pevent,DBR_USHORT,&(pevent->sval),&options,&nRequest); if (status==0){ pevent->val=pevent->sval; pevent->udf=FALSE; diff --git a/src/rec/recHistogram.c b/src/rec/recHistogram.c index d60756075..7acbdfb64 100644 --- a/src/rec/recHistogram.c +++ b/src/rec/recHistogram.c @@ -440,6 +440,7 @@ static long readValue(phistogram) long status; struct histogramdset *pdset = (struct histogramdset *) (phistogram->dset); long nRequest=1; + long options=0; if (phistogram->pact == TRUE){ status=(*pdset->read_histogram)(phistogram); @@ -447,7 +448,7 @@ static long readValue(phistogram) } status=recGblGetLinkValue(&(phistogram->siml), - (void *)phistogram,DBR_ENUM,&(phistogram->simm),&nRequest); + (void *)phistogram,DBR_ENUM,&(phistogram->simm),&options,&nRequest); if (status) return(status); @@ -457,7 +458,7 @@ static long readValue(phistogram) } if (phistogram->simm == YES){ status=recGblGetLinkValue(&(phistogram->siol), - (void *)phistogram,DBR_DOUBLE,&(phistogram->sval),&nRequest); + (void *)phistogram,DBR_DOUBLE,&(phistogram->sval),&options,&nRequest); if (status==0){ phistogram->sgnl=phistogram->sval; } diff --git a/src/rec/recLongin.c b/src/rec/recLongin.c index 338fb78b7..b8d169e23 100644 --- a/src/rec/recLongin.c +++ b/src/rec/recLongin.c @@ -370,6 +370,7 @@ static long readValue(plongin) long status; struct longindset *pdset = (struct longindset *) (plongin->dset); long nRequest=1; + long options=0; if (plongin->pact == TRUE){ status=(*pdset->read_longin)(plongin); @@ -377,7 +378,7 @@ static long readValue(plongin) } status=recGblGetLinkValue(&(plongin->siml), - (void *)plongin,DBR_ENUM,&(plongin->simm),&nRequest); + (void *)plongin,DBR_ENUM,&(plongin->simm),&options,&nRequest); if (status) return(status); @@ -387,7 +388,7 @@ static long readValue(plongin) } if (plongin->simm == YES){ status=recGblGetLinkValue(&(plongin->siol), - (void *)plongin,DBR_LONG,&(plongin->sval),&nRequest); + (void *)plongin,DBR_LONG,&(plongin->sval),&options,&nRequest); if (status==0){ plongin->val=plongin->sval; plongin->udf=FALSE; diff --git a/src/rec/recLongout.c b/src/rec/recLongout.c index 84c46a405..0cb30aaee 100644 --- a/src/rec/recLongout.c +++ b/src/rec/recLongout.c @@ -414,6 +414,7 @@ static long writeValue(plongout) long status; struct longoutdset *pdset = (struct longoutdset *) (plongout->dset); long nRequest=1; + long options=0; if (plongout->pact == TRUE){ status=(*pdset->write_longout)(plongout); @@ -421,7 +422,7 @@ static long writeValue(plongout) } status=recGblGetLinkValue(&(plongout->siml), - (void *)plongout,DBR_ENUM,&(plongout->simm),&nRequest); + (void *)plongout,DBR_ENUM,&(plongout->simm),&options,&nRequest); if (status) return(status); diff --git a/src/rec/recMbbi.c b/src/rec/recMbbi.c index d33bcbf18..f1a63ba57 100644 --- a/src/rec/recMbbi.c +++ b/src/rec/recMbbi.c @@ -421,6 +421,7 @@ static long readValue(pmbbi) long status; struct mbbidset *pdset = (struct mbbidset *) (pmbbi->dset); long nRequest=1; + long options=0; if (pmbbi->pact == TRUE){ status=(*pdset->read_mbbi)(pmbbi); @@ -428,7 +429,7 @@ static long readValue(pmbbi) } status=recGblGetLinkValue(&(pmbbi->siml), - (void *)pmbbi,DBR_ENUM,&(pmbbi->simm),&nRequest); + (void *)pmbbi,DBR_ENUM,&(pmbbi->simm),&options,&nRequest); if (status) return(status); @@ -438,7 +439,7 @@ static long readValue(pmbbi) } if (pmbbi->simm == YES){ status=recGblGetLinkValue(&(pmbbi->siol), - (void *)pmbbi,DBR_USHORT,&(pmbbi->sval),&nRequest); + (void *)pmbbi,DBR_USHORT,&(pmbbi->sval),&options,&nRequest); if (status==0){ pmbbi->val=pmbbi->sval; pmbbi->udf=FALSE; diff --git a/src/rec/recMbbo.c b/src/rec/recMbbo.c index 074455925..85daab465 100644 --- a/src/rec/recMbbo.c +++ b/src/rec/recMbbo.c @@ -492,6 +492,7 @@ static long writeValue(pmbbo) long status; struct mbbodset *pdset = (struct mbbodset *) (pmbbo->dset); long nRequest=1; + long options=0; if (pmbbo->pact == TRUE){ status=(*pdset->write_mbbo)(pmbbo); @@ -499,7 +500,7 @@ static long writeValue(pmbbo) } status=recGblGetLinkValue(&(pmbbo->siml), - (void *)pmbbo,DBR_ENUM,&(pmbbo->simm),&nRequest); + (void *)pmbbo,DBR_ENUM,&(pmbbo->simm),&options,&nRequest); if (status) return(status); diff --git a/src/rec/recStringin.c b/src/rec/recStringin.c index 9ad41cd59..157c44981 100644 --- a/src/rec/recStringin.c +++ b/src/rec/recStringin.c @@ -240,6 +240,7 @@ static long readValue(pstringin) long status; struct stringindset *pdset = (struct stringindset *) (pstringin->dset); long nRequest=1; + long options=0; if (pstringin->pact == TRUE){ @@ -248,7 +249,7 @@ static long readValue(pstringin) } status=recGblGetLinkValue(&(pstringin->siml), - (void *)pstringin,DBR_ENUM,&(pstringin->simm),&nRequest); + (void *)pstringin,DBR_ENUM,&(pstringin->simm),&options,&nRequest); if (status) return(status); @@ -258,7 +259,7 @@ static long readValue(pstringin) } if (pstringin->simm == YES){ status=recGblGetLinkValue(&(pstringin->siol), - (void *)pstringin,DBR_STRING,pstringin->sval,&nRequest); + (void *)pstringin,DBR_STRING,pstringin->sval,&options,&nRequest); if (status==0){ strcpy(pstringin->val,pstringin->sval); pstringin->udf=FALSE; diff --git a/src/rec/recStringout.c b/src/rec/recStringout.c index b7b093e31..c0d8eb4d5 100644 --- a/src/rec/recStringout.c +++ b/src/rec/recStringout.c @@ -292,6 +292,7 @@ static long writeValue(pstringout) long status; struct stringoutdset *pdset = (struct stringoutdset *) (pstringout->dset); long nRequest=1; + long options=0; if (pstringout->pact == TRUE){ status=(*pdset->write_stringout)(pstringout); @@ -299,7 +300,7 @@ static long writeValue(pstringout) } status=recGblGetLinkValue(&(pstringout->siml), - (void *)pstringout,DBR_ENUM,&(pstringout->simm),&nRequest); + (void *)pstringout,DBR_ENUM,&(pstringout->simm),&options,&nRequest); if (status) return(status); diff --git a/src/rec/recWaveform.c b/src/rec/recWaveform.c index e7e931c56..7081a647c 100644 --- a/src/rec/recWaveform.c +++ b/src/rec/recWaveform.c @@ -370,6 +370,7 @@ static long readValue(pwf) long status; struct wfdset *pdset = (struct wfdset *) (pwf->dset); long nRequest=1; + long options=0; if (pwf->pact == TRUE){ @@ -378,7 +379,7 @@ static long readValue(pwf) } status=recGblGetLinkValue(&(pwf->siml), - (void *)pwf,DBR_ENUM,&(pwf->simm),&nRequest); + (void *)pwf,DBR_ENUM,&(pwf->simm),&options,&nRequest); if (status) return(status); @@ -389,7 +390,7 @@ static long readValue(pwf) if (pwf->simm == YES){ nRequest=pwf->nelm; status=recGblGetLinkValue(&(pwf->siol), - (void *)pwf,pwf->ftvl,pwf->bptr,&nRequest); + (void *)pwf,pwf->ftvl,pwf->bptr,&options,&nRequest); pwf->nord = nRequest; if (status==0){ pwf->udf=FALSE;