~james-page/ubuntu/saucy/openvswitch/1.12-snapshot

« back to all changes in this revision

Viewing changes to lib/fatal-signal.h

  • Committer: James Page
  • Date: 2013-08-21 10:16:57 UTC
  • mfrom: (1.1.20)
  • Revision ID: james.page@canonical.com-20130821101657-3o0z0qeiv5zkwlzi
New upstream snapshot

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (c) 2008, 2009, 2010 Nicira, Inc.
 
2
 * Copyright (c) 2008, 2009, 2010, 2013 Nicira, Inc.
3
3
 *
4
4
 * Licensed under the Apache License, Version 2.0 (the "License");
5
5
 * you may not use this file except in compliance with the License.
20
20
#include <stdbool.h>
21
21
 
22
22
/* Basic interface. */
 
23
void fatal_signal_init(void);
23
24
void fatal_signal_add_hook(void (*hook_cb)(void *aux),
24
25
                           void (*cancel_cb)(void *aux), void *aux,
25
26
                           bool run_at_exit);