• Main Page
  • Related Pages
  • Namespaces
  • Data Structures
  • Files
  • File List
  • Globals

signals.h

Go to the documentation of this file.
00001 /** @file
00002 
00003   A brief file description
00004 
00005   @section license License
00006 
00007   Licensed to the Apache Software Foundation (ASF) under one
00008   or more contributor license agreements.  See the NOTICE file
00009   distributed with this work for additional information
00010   regarding copyright ownership.  The ASF licenses this file
00011   to you under the Apache License, Version 2.0 (the
00012   "License"); you may not use this file except in compliance
00013   with the License.  You may obtain a copy of the License at
00014 
00015       http://www.apache.org/licenses/LICENSE-2.0
00016 
00017   Unless required by applicable law or agreed to in writing, software
00018   distributed under the License is distributed on an "AS IS" BASIS,
00019   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00020   See the License for the specific language governing permissions and
00021   limitations under the License.
00022  */
00023 
00024 /**************************************************************************
00025   Signal functions and handlers.
00026 
00027 **************************************************************************/
00028 
00029 #ifndef _signals_h_
00030 #define _signals_h_
00031 
00032 /*
00033  *  Global data
00034  */
00035 
00036 extern int exited_children;
00037 typedef void (*sig_callback_fptr) (int signo);
00038 /*
00039 *  plugins use this to attach clean up handlers
00040 *  for SIGSEGV and SIGBUS
00041 *  Return value: 0 on success, -1 on failure
00042 */
00043 int register_signal_callback(sig_callback_fptr f);
00044 
00045 /*
00046  *  Function prototypes
00047  */
00048 
00049 void init_signals(bool do_stackdump=true);
00050 void init_signals2();
00051 void init_daemon_signals();
00052 
00053 #endif /* _signals_h_ */

Generated by  doxygen 1.7.1