From 01b361761417cdbd32af9ed5de982cb69027c25d Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Mon, 16 Sep 1996 16:33:45 +0000 Subject: [PATCH] added ca_version() proto and pFile/lineNo args to exception args --- src/ca/cadef.h | 7 +++++++ src/include/cadef.h | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/src/ca/cadef.h b/src/ca/cadef.h index 8d92b6263..d5e646b8c 100644 --- a/src/ca/cadef.h +++ b/src/ca/cadef.h @@ -258,6 +258,8 @@ struct exception_handler_args{ long stat; /* Channel access std status code */ long op; /* External codes for channel access operations */ char *ctx; /* A character string containing context info */ + char *pFile; /* source file name (may be NULL) */ + unsigned lineNo; /* source file line number */ }; @@ -984,6 +986,11 @@ int epicsShareAPI ca_v42_ok(chid chan); int epicsShareAPI ca_v42_ok(); #endif /*CAC_FUNC_PROTO*/ +/* + * function that returns the CA version string + */ +READONLY char * epicsShareAPI ca_version(); + /* * ca_replace_printf_handler () * diff --git a/src/include/cadef.h b/src/include/cadef.h index 8d92b6263..d5e646b8c 100644 --- a/src/include/cadef.h +++ b/src/include/cadef.h @@ -258,6 +258,8 @@ struct exception_handler_args{ long stat; /* Channel access std status code */ long op; /* External codes for channel access operations */ char *ctx; /* A character string containing context info */ + char *pFile; /* source file name (may be NULL) */ + unsigned lineNo; /* source file line number */ }; @@ -984,6 +986,11 @@ int epicsShareAPI ca_v42_ok(chid chan); int epicsShareAPI ca_v42_ok(); #endif /*CAC_FUNC_PROTO*/ +/* + * function that returns the CA version string + */ +READONLY char * epicsShareAPI ca_version(); + /* * ca_replace_printf_handler () *