diff --git a/src/ca/CAref.html b/src/ca/CAref.html index 30e8127d4..94f43aed8 100644 --- a/src/ca/CAref.html +++ b/src/ca/CAref.html @@ -1938,8 +1938,8 @@ Termination Appear to be Ignored

Short lived CA client applications that issue a CA put request and then immediately exit the process (return from main or call exit) may find that there request isn't executed. To guarantee -that the request is sent call ca_flush followed by -ca_context_destroy prior to terminating the process.

+that the request is sent call ca_flush_io() followed by +ca_context_destroy() prior to terminating the process.

ENOBUFS Messages

@@ -2648,7 +2648,7 @@ get called in the correct order.

resources used by the client library such as sockets and allocated memory are automatically released by the system when the process exits and ca_context_destroy() hasn't been called, but on light weight systems such as -vxWorks or RTEMS no cleanup occurs unless the application call +vxWorks or RTEMS no cleanup occurs unless the application calls ca_context_destroy().

Returns

@@ -2661,16 +2661,10 @@ ca_context_destroy().

ca_create_channel()

#include <cadef.h>
-typedef void ( *pCallBack ) (
-         struct connection_handler_args );
-int ca_create_channel
-(
-        const char     *PROCESS_VARIABLE_NAME, 
-        caCh           *USERFUNC, 
-        void           *PUSER,
-        capri          priority,
-        chid           *PCHID
-);
+typedef void ( caCh ) (struct connection_handler_args); +int ca_create_channel (const char *PVNAME, + caCh *USERFUNC, void *PUSER, + capri PRIORITY, chid *PCHID );

Description

@@ -2719,7 +2713,7 @@ time.

Arguments

-
PROCESS_VARIABLE_NAME
+
PVNAME
A nil terminated process variable name string. EPICS process control function block database variable names are of the form "<record name>.<field name>". If the field name and the period separator @@ -2818,17 +2812,15 @@ subscriptions (monitors) registered with the channel.

#include <cadef.h>
 int ca_put ( chtype TYPE, 
         chid CHID, void *PVALUE ); 
-int ca_array_put ( chtype TYPE, 
-        unsigned long COUNT, 
+int ca_array_put ( chtype TYPE, unsigned long COUNT, 
         chid CHID, const void *PVALUE);
-typedef void ( *pCallBack ) (struct event_handler_args );
+typedef void ( caEventCallBackFunc ) (struct event_handler_args);
 int ca_put_callback ( chtype TYPE, 
         chid CHID, const void *PVALUE, 
-        pCallBack PFUNC, void *USERARG ); 
-int ca_array_put_callback ( chtype TYPE, 
-        unsigned long COUNT, 
+        caEventCallBackFunc PFUNC, void *USERARG ); 
+int ca_array_put_callback ( chtype TYPE, unsigned long COUNT, 
         chid CHID, const void *PVALUE, 
-        pCallBack PFUNC, void *USERARG );
+ caEventCallBackFunc PFUNC, void *USERARG );

Description

@@ -2948,12 +2940,13 @@ int ca_get ( chtype TYPE, chid CHID, void *PVALUE ); int ca_array_get ( chtype TYPE, unsigned long COUNT, chid CHID, void *PVALUE ); -typedef void ( *pCallBack ) (struct event_handler_args ); +typedef void ( caEventCallBackFunc ) (struct event_handler_args); int ca_get_callback ( chtype TYPE, - chid CHID, pCallBack USERFUNC, void *USERARG); + chid CHID, + caEventCallBackFunc USERFUNC, void *USERARG); int ca_array_get_callback ( chtype TYPE, unsigned long COUNT, chid CHID, - pCallBack USERFUNC, void *USERARG ); + caEventCallBackFunc USERFUNC, void *USERARG);

Description

@@ -3051,11 +3044,10 @@ when a CA get request is initiated.

ca_create_subscription()

#include <cadef.h>
-typedef void ( *pCallBack ) (
-        struct event_handler_args );
-int ca_create_subscription ( chtype TYPE, 
-        unsigned long COUNT, chid CHID, 
-        unsigned long MASK, pCallBack USERFUNC, void *USERARG, 
+typedef void ( caEventCallBackFunc ) (struct event_handler_args);
+int ca_create_subscription ( chtype TYPE, unsigned long COUNT,
+        chid CHID, unsigned long MASK,
+        caEventCallBackFunc USERFUNC, void *USERARG, 
         evid *PEVID );

Description

@@ -3540,7 +3532,7 @@ get the lowest latency response to the arrival of CA messages.

ca_replace_printf_handler ()

#include <cadef.h>
-typedef int caPrintfFunc ( const char *pFromat, va_list args );
+typedef int caPrintfFunc ( const char *pFormat, va_list args );
 int ca_replace_printf_handler ( caPrintfFunc *PFUNC );

Description

@@ -3571,8 +3563,9 @@ SEVCHK ( status, "failed to install my printf handler" );

ca_replace_access_rights_event()

#include <cadef.h>
-typedef void ( *pCallBack )( struct access_rights_handler_args );
-int ca_replace_access_rights_event ( chid CHAN, pCallBack PFUNC );
+typedef void ( caEventCallBackFunc )(struct access_rights_handler_args); +int ca_replace_access_rights_event ( chid CHAN, + caEventCallBackFunc PFUNC );

Description

@@ -4029,7 +4022,7 @@ SEVCHK ( status, Sync group delete failed );

ca_sg_block()

#include <cadef.h>
-int ca_sg_block ( CA_SYNC_GID GID, double timeout );
+int ca_sg_block ( CA_SYNC_GID GID, double TIMEOUT );

Description

@@ -4050,13 +4043,16 @@ access background activity while it is waiting.

Arguments

-
GID
+
GID
Identifier of the synchronous group.
+
TIMEOUT
+
The duration to block in this routine in seconds. A timeout of zero + seconds blocks forever.

Examples

CA_SYNC_GID gid;
-status = ca_sg_block(gid);
+status = ca_sg_block(gid, 0.0);
 SEVCHK(status, Sync group block failed);

Returns

@@ -4267,8 +4263,8 @@ reissued.

ca_client_status()

int ca_client_status ( unsigned level );
-int ca_context_status ( struct ca_client_context *, 
-       unsigned level );
+int ca_context_status ( struct ca_client_context *CONTEXT, + unsigned LEVEL );

Description

@@ -4279,7 +4275,7 @@ ca_client_status() prints information about the calling threads CA context.

Arguments

CONTEXT
-
A pointer to the CA context to join with.
+
A pointer to the CA context to examine.
LEVEL
The interest level. Increasing level produces increasing detail.