yumapro  20.10-12
YumaPro SDK
agt_signal.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2008 - 2012, Andy Bierman, All Rights Reserved.
3  * Copyright (c) 2012 - 2021, YumaWorks, Inc., All Rights Reserved.
4  *
5  * Unless required by applicable law or agreed to in writing,
6  * software distributed under the License is distributed on an
7  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8  * KIND, either express or implied. See the License for the
9  * specific language governing permissions and limitations
10  * under the License.
11  */
12 #ifndef _H_agt_signal
13 #define _H_agt_signal
14 
15 /* FILE: agt_signal.h
16 *********************************************************************
17 * *
18 * P U R P O S E *
19 * *
20 *********************************************************************/
21 
28 /*********************************************************************
29 * *
30 * C H A N G E H I S T O R Y *
31 * *
32 *********************************************************************
33 
34 date init comment
35 ----------------------------------------------------------------------
36 22-jan-07 abb Begun
37 
38 */
39 
40 #ifndef _H_status
41 #include "status.h"
42 #endif
43 
44 #ifdef __cplusplus
45 extern "C" {
46 #endif
47 
48 /********************************************************************
49 * *
50 * F U N C T I O N S *
51 * *
52 *********************************************************************/
53 
70 extern void
71  agt_signal_init (void);
72 
73 
79 extern void
80  agt_signal_cleanup (void);
81 
82 
88 extern void
89  agt_signal_handler (int intr);
90 
91 
95 #ifdef __cplusplus
96 } /* end extern 'C' */
97 #endif
98 
99 #endif /* _H_agt_signal */
NCX_SHUT_RESET
@ NCX_SHUT_RESET
kill -1 SIGHUP
Definition: ncxtypes.h:373
agt_signal.h
Handle interrupt signals for the server.
agt_signal_handler
void agt_signal_handler(int intr)
Handle an incoming interrupt signal.
Definition: agt_signal.c:142
agt_request_shutdown
void agt_request_shutdown(ncx_shutdowntyp_t mode, int intnum)
Request some sort of server shutdown.
Definition: agt.c:4136
agt.h
Multi-Protocol Network Management Server.
agt_signal_cleanup
void agt_signal_cleanup(void)
Cleanup the agt_signal module.
Definition: agt_signal.c:108
ncx.h
YANG module utility functions.
NCX_SHUT_RELOAD
@ NCX_SHUT_RELOAD
kill -10 SIGUSR1
Definition: ncxtypes.h:374
status.h
Global error messages for status code enumerations.
agt_signal_init
void agt_signal_init(void)
Initialize the agt_signal module.
Definition: agt_signal.c:77