EPICS Base
7.0.7.0
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
initHooks.h
Go to the documentation of this file.
1
/*************************************************************************\
2
* Copyright (c) 2009 UChicago Argonne LLC, as Operator of Argonne
3
* National Laboratory.
4
* Copyright (c) 2002 The Regents of the University of California, as
5
* Operator of Los Alamos National Laboratory.
6
* SPDX-License-Identifier: EPICS
7
* EPICS BASE is distributed subject to a Software License Agreement found
8
* in file LICENSE that is included with this distribution.
9
\*************************************************************************/
10
50
#ifndef INC_initHooks_H
51
#define INC_initHooks_H
52
53
#include "libComAPI.h"
54
55
#ifdef __cplusplus
56
extern
"C"
{
57
#endif
58
71
typedef
enum
{
72
initHookAtIocBuild
= 0,
73
initHookAtBeginning
,
74
initHookAfterCallbackInit
,
75
initHookAfterCaLinkInit
,
76
initHookAfterInitDrvSup
,
77
initHookAfterInitRecSup
,
78
initHookAfterInitDevSup
,
79
initHookAfterInitDatabase
,
80
initHookAfterFinishDevSup
,
81
initHookAfterScanInit
,
82
initHookAfterInitialProcess
,
83
initHookAfterCaServerInit
,
84
initHookAfterIocBuilt
,
86
initHookAtIocRun
,
87
initHookAfterDatabaseRunning
,
88
initHookAfterCaServerRunning
,
89
initHookAfterIocRunning
,
91
initHookAtIocPause
,
92
initHookAfterCaServerPaused
,
93
initHookAfterDatabasePaused
,
94
initHookAfterIocPaused
,
96
initHookAtShutdown
,
97
initHookAfterCloseLinks
,
98
initHookAfterStopScan
,
99
initHookAfterStopCallback
,
100
initHookAfterStopLinks
,
101
initHookBeforeFree
,
102
initHookAfterShutdown
,
104
/* Deprecated states: */
105
initHookAfterInterruptAccept
,
106
initHookAtEnd
,
107
}
initHookState
;
108
114
typedef
void (*
initHookFunction
)(
initHookState
state);
115
122
LIBCOM_API
int
initHookRegister
(
initHookFunction
func);
123
129
LIBCOM_API
void
initHookAnnounce
(
initHookState
state);
130
137
LIBCOM_API
const
char
*
initHookName
(
int
state);
138
143
LIBCOM_API
void
initHookFree
(
void
);
144
145
#ifdef __cplusplus
146
}
147
#endif
148
149
#endif
/* INC_initHooks_H */
initHookAnnounce
LIBCOM_API void initHookAnnounce(initHookState state)
Routine called by iocInit() to trigger notifications.
initHookAfterInitDrvSup
Definition:
initHooks.h:76
initHookAtIocPause
Definition:
initHooks.h:91
initHookAfterCloseLinks
Definition:
initHooks.h:97
initHookAtBeginning
Definition:
initHooks.h:73
initHookAfterIocPaused
Definition:
initHooks.h:94
initHookRegister
LIBCOM_API int initHookRegister(initHookFunction func)
Register a function for initHook notifications.
initHookAfterInitDevSup
Definition:
initHooks.h:78
initHookAtIocRun
Definition:
initHooks.h:86
initHookAtIocBuild
Definition:
initHooks.h:72
initHookAfterStopScan
Definition:
initHooks.h:98
initHookAfterIocBuilt
Definition:
initHooks.h:84
initHookAfterCaServerPaused
Definition:
initHooks.h:92
initHookFunction
void(* initHookFunction)(initHookState state)
Type for application callback functions.
Definition:
initHooks.h:114
initHookAfterInitDatabase
Definition:
initHooks.h:79
initHookAfterStopLinks
Definition:
initHooks.h:100
initHookAfterShutdown
Definition:
initHooks.h:102
initHookName
LIBCOM_API const char * initHookName(int state)
Returns printable representation of state.
initHookAfterScanInit
Definition:
initHooks.h:81
initHookAfterInitialProcess
Definition:
initHooks.h:82
initHookAfterIocRunning
Definition:
initHooks.h:89
initHookAtShutdown
Definition:
initHooks.h:96
initHookBeforeFree
Definition:
initHooks.h:101
initHookAfterCaServerInit
Definition:
initHooks.h:83
initHookAfterCallbackInit
Definition:
initHooks.h:74
initHookState
initHookState
Initialization stages.
Definition:
initHooks.h:71
initHookAfterInterruptAccept
Definition:
initHooks.h:105
initHookAfterDatabaseRunning
Definition:
initHooks.h:87
initHookAfterDatabasePaused
Definition:
initHooks.h:93
initHookAfterFinishDevSup
Definition:
initHooks.h:80
initHookAfterStopCallback
Definition:
initHooks.h:99
initHookAfterCaLinkInit
Definition:
initHooks.h:75
initHookAfterCaServerRunning
Definition:
initHooks.h:88
initHookAtEnd
Definition:
initHooks.h:106
initHookFree
LIBCOM_API void initHookFree(void)
Forget all registered application functions.
initHookAfterInitRecSup
Definition:
initHooks.h:77
Generated on Wed Sep 7 2022 16:32:57 for EPICS Base by
1.8.5