This is Unofficial EPICS BASE Doxygen Site
registryJLinks.c
Go to the documentation of this file.
1 /*************************************************************************\
2 * Copyright (c) 2016 UChicago Argonne LLC, as Operator of Argonne
3 * National Laboratory.
4 * EPICS BASE is distributed subject to a Software License Agreement found
5 * in file LICENSE that is included with this distribution.
6 \*************************************************************************/
7 /* registryJLinks.c */
8 
9 #include "registry.h"
10 #define epicsExportSharedSymbols
11 #include "dbBase.h"
12 #include "dbStaticLib.h"
13 #include "registryJLinks.h"
14 #include "dbJLink.h"
15 
16 epicsShareFunc int registryJLinkAdd(DBBASE *pbase, struct jlif *pjlif)
17 {
18  linkSup *plinkSup = dbFindLinkSup(pbase, pjlif->name);
19 
20  if (plinkSup)
21  plinkSup->pjlif = pjlif;
22  return !!plinkSup;
23 }
linkSup * dbFindLinkSup(dbBase *pdbbase, const char *name)
Definition: dbStaticLib.c:3158
#define epicsShareFunc
Definition: shareLib.h:209
struct jlif * pjlif
Definition: dbBase.h:52
Definition: dbBase.h:48
Definition: dbBase.h:170