~ubuntu-branches/ubuntu/wily/openvswitch/wily

« back to all changes in this revision

Viewing changes to lib/fatal-signal.h

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2015-08-10 11:35:15 UTC
  • mfrom: (1.1.30)
  • Revision ID: package-import@ubuntu.com-20150810113515-575vj06oq29emxsn
Tags: 2.4.0~git20150810.97bab95-0ubuntu1
* New upstream snapshot from 2.4 branch:
  - d/*: Align any relevant packaging changes with upstream.
* d/*: wrap-and-sort.
* d/openvswitch-{common,vswitch}.install: Correct install location for
  bash completion files.
* d/tests/openflow.py: Explicitly use ovs-testcontroller as provided
  by 2.4.0 release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
#ifndef FATAL_SIGNAL_H
18
18
#define FATAL_SIGNAL_H 1
19
19
 
 
20
#ifndef _WIN32
 
21
#include <signal.h>
 
22
#endif
20
23
#include <stdbool.h>
21
24
 
22
25
/* Basic interface. */
28
31
void fatal_signal_run(void);
29
32
void fatal_signal_wait(void);
30
33
void fatal_ignore_sigpipe(void);
 
34
void fatal_signal_atexit_handler(void);
31
35
 
32
36
/* Convenience functions for unlinking files upon termination.
33
37
 *
41
45
 * it through. */
42
46
void fatal_signal_handler(int sig_nr);
43
47
 
 
48
#ifndef _WIN32
 
49
void fatal_signal_block(sigset_t *prev_mask);
 
50
#endif
 
51
 
44
52
#endif /* fatal-signal.h */