25 #include "dbCoreAPI.h"
35 DBCORE_API
int db_event_list (
36 const char *name,
unsigned level);
38 const char *name,
unsigned level);
39 DBCORE_API
int db_post_events (
40 void *pRecord,
void *pField,
unsigned caEventMask );
42 typedef void * dbEventCtx;
44 typedef void EXTRALABORFUNC (
void *extralabor_arg);
45 DBCORE_API dbEventCtx db_init_events (
void);
46 DBCORE_API
int db_start_events (
47 dbEventCtx ctx,
const char *taskname,
void (*init_func)(
void *),
48 void *init_func_arg,
unsigned osiPriority );
49 DBCORE_API
void db_close_events (dbEventCtx ctx);
50 DBCORE_API
void db_event_flow_ctrl_mode_on (dbEventCtx ctx);
51 DBCORE_API
void db_event_flow_ctrl_mode_off (dbEventCtx ctx);
52 DBCORE_API
int db_add_extra_labor_event (
53 dbEventCtx ctx, EXTRALABORFUNC *func,
void *arg);
54 DBCORE_API
void db_flush_extra_labor_event (dbEventCtx);
55 DBCORE_API
int db_post_extra_labor (dbEventCtx ctx);
56 DBCORE_API
void db_event_change_priority ( dbEventCtx ctx,
unsigned epicsPriority );
58 #ifdef EPICS_PRIVATE_API
59 DBCORE_API
void db_cleanup_events(
void);
60 DBCORE_API
void db_init_event_freelists (
void);
63 typedef void EVENTFUNC (
void *user_arg,
struct dbChannel *chan,
66 typedef void * dbEventSubscription;
67 DBCORE_API dbEventSubscription db_add_event (
69 EVENTFUNC *user_sub,
void *user_arg,
unsigned select);
70 DBCORE_API
void db_cancel_event (dbEventSubscription es);
71 DBCORE_API
void db_post_single_event (dbEventSubscription es);
72 DBCORE_API
void db_event_enable (dbEventSubscription es);
73 DBCORE_API
void db_event_disable (dbEventSubscription es);
77 DBCORE_API
void db_delete_field_log (
struct db_field_log *pfl);
78 DBCORE_API
int db_available_logs(
void);
81 #define DB_EVENT_ERROR (-1)
C++ and C descriptions for a thread.