EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: EPICS Base Release-Candidate Double Feature!
From: Andrew Johnson <[email protected]>
To: Matt Rippa <[email protected]>
Cc: Talk EPICS Tech <[email protected]>
Date: Fri, 18 Nov 2016 11:30:35 -0600
Hi Matt,

On 11/17/2016 09:25 PM, Matt Rippa wrote:
> I can't seem to track down a change to dbGetLinkValue() which is now
> missing from R3.15.
> In R3.14.12.4 it's defined here:
> 
> dbAccessDefs.h: epicsShareFunc long epicsShareAPI dbGetLinkValue(
>     struct link *,short dbrType,void *pbuffer,long *options,long *nRequest);

dbGetLinkValue() was meant to be an internal API; the documented API was
actually a macro called dbGetLink() with the same arguments. Section
15.4.2.2 of the Application Developers Guide says "dbGetLink is
implemented as a macro that calls dbGetLinkValue and can reference its
arguments more than once. The macro skips the call for constant links.
User code should never call dbGetLinkValue."

We have replaced the macro with a function dbGetLink() which is now
declared in dbLink.h and has the same arguments:

> epicsShareFunc long dbGetLink(struct link *, short dbrType, void *pbuffer,
>         long *options, long *nRequest);

This was part of the move to making link-types extensible which will be
coming in Base-3.16.1

HTH,

- Andrew

-- 
Arguing for surveillance because you have nothing to hide is no
different than making the claim, "I don't care about freedom of
speech because I have nothing to say." -- Edward Snowdon

Replies:
Linking a HIGH and LOW field to a PV Bo Jakobsen
References:
EPICS Base Release-Candidate Double Feature! Andrew Johnson
RE: EPICS Base Release-Candidate Double Feature! freddie.akeroyd
Re: EPICS Base Release-Candidate Double Feature! Andrew Johnson
RE: EPICS Base Release-Candidate Double Feature! freddie.akeroyd
Re: EPICS Base Release-Candidate Double Feature! Johnson, Andrew N.
RE: EPICS Base Release-Candidate Double Feature! freddie.akeroyd
Re: EPICS Base Release-Candidate Double Feature! Matt Rippa
Re: EPICS Base Release-Candidate Double Feature! Andrew Johnson
Re: EPICS Base Release-Candidate Double Feature! Matt Rippa

Navigate by Date:
Prev: RE: MCA or LabCA on Linux-64bit Allison, Stephanie
Next: Linking a HIGH and LOW field to a PV Bo Jakobsen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: EPICS Base Release-Candidate Double Feature! Matt Rippa
Next: Linking a HIGH and LOW field to a PV Bo Jakobsen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 21 Nov 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·