add decorated names
This commit is contained in:
@@ -15,6 +15,7 @@ INC += dbNotify.h
|
||||
INC += dbScan.h
|
||||
INC += dbTest.h
|
||||
INC += db_access.h
|
||||
INC += db_test.h
|
||||
INC += db_field_log.h
|
||||
INC += initHooks.h
|
||||
INC += recGbl.h
|
||||
|
||||
@@ -40,6 +40,7 @@
|
||||
|
||||
#include "dbDefs.h"
|
||||
#include "errlog.h"
|
||||
#define epicsExportSharedSymbols
|
||||
#include "db_access.h"
|
||||
#include "dbNotify.h"
|
||||
|
||||
@@ -49,7 +50,7 @@ static void print_returned();
|
||||
|
||||
|
||||
#define MAX_ELEMS 10
|
||||
int gft(char *pname)
|
||||
int epicsShareAPI gft(char *pname)
|
||||
{
|
||||
char tgf_buffer[MAX_ELEMS*MAX_STRING_SIZE+sizeof(struct dbr_ctrl_double)];
|
||||
struct dbAddr addr;
|
||||
@@ -97,7 +98,7 @@ int gft(char *pname)
|
||||
* TPF
|
||||
* Test put field
|
||||
*/
|
||||
int pft(char *pname,char *pvalue)
|
||||
int epicsShareAPI pft(char *pname,char *pvalue)
|
||||
{
|
||||
struct dbAddr addr;
|
||||
struct dbAddr *paddr = &addr;
|
||||
@@ -668,7 +669,7 @@ static void tpnCallback(PUTNOTIFY *ppn)
|
||||
free(ppn);
|
||||
}
|
||||
|
||||
long tpn(char *pname,char *pvalue)
|
||||
int epicsShareAPI tpn(char *pname,char *pvalue)
|
||||
{
|
||||
long status;
|
||||
struct dbAddr *pdbaddr=NULL;
|
||||
|
||||
30
src/db/db_test.h
Normal file
30
src/db/db_test.h
Normal file
@@ -0,0 +1,30 @@
|
||||
/* base/include/db_test.h */
|
||||
|
||||
/*****************************************************************
|
||||
COPYRIGHT NOTIFICATION
|
||||
*****************************************************************
|
||||
|
||||
(C) COPYRIGHT 1993 UNIVERSITY OF CHICAGO
|
||||
|
||||
This software was developed under a United States Government license
|
||||
described on the COPYRIGHT_UniversityOfChicago file included as part
|
||||
of this distribution.
|
||||
**********************************************************************/
|
||||
|
||||
#ifndef INCLdb_testh
|
||||
#define INCLdb_testh
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "shareLib.h"
|
||||
|
||||
epicsShareFunc int epicsShareAPI gft(char *pname);
|
||||
epicsShareFunc int epicsShareAPI pft(char *pname,char *pvalue);
|
||||
epicsShareFunc int epicsShareAPI tpn(char *pname,char *pvalue);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* INCLdb_testh */
|
||||
Reference in New Issue
Block a user