~ubuntu-branches/ubuntu/quantal/open-vm-tools/quantal-201210021442

« back to all changes in this revision

Viewing changes to lib/include/panic.h

  • Committer: Package Import Robot
  • Author(s): Nate Muench
  • Date: 2012-06-20 15:59:51 UTC
  • mfrom: (1.4.8)
  • Revision ID: package-import@ubuntu.com-20120620155951-6rupmpb0f70b52zr
Tags: 2012.05.21-724730-0ubuntu1
* Merging upstream version 2012.05.21-724730.
  - Fixes building against the current Quantal kernel. (LP: #1000344)
  - Fixes Quantal installation issues. (LP: #1019031)

* Sync with Debian
  - Updating to debhelper version 9.
  - Updating to standards version 3.9.3.
  - Updating copyright file machine-readable format version 1.0.
  - Building without multiarch paths for now

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
 * Initialize module to read custom behavior from config files.
34
34
 */
35
35
 
36
 
EXTERN void Panic_Init(void);
 
36
void Panic_Init(void);
37
37
 
38
38
/*
39
39
 * If you want the Panic module to just handle everything: implement Panic()
42
42
 * desired and get the default implementation of each feature.
43
43
 */
44
44
 
45
 
EXTERN NORETURN void Panic_Panic(const char *format, va_list args);
 
45
NORETURN void Panic_Panic(const char *format, va_list args);
46
46
 
47
47
/*
48
48
 * On panic, post a UI dialog about the panic and how to diagnose it:
49
49
 */
50
50
 
51
 
EXTERN void Panic_SetPanicMsgPost(Bool postMsg);
52
 
EXTERN Bool Panic_GetPanicMsgPost(void);
53
 
EXTERN void Panic_PostPanicMsg(const char *format, ...);
 
51
void Panic_SetPanicMsgPost(Bool postMsg);
 
52
Bool Panic_GetPanicMsgPost(void);
 
53
void Panic_PostPanicMsg(const char *format, ...);
54
54
 
55
55
/*
56
56
 * On panic, break into a debugger or enter an infinite loop until a
57
57
 * debugger stops it:
58
58
 */
59
59
 
60
 
EXTERN void Panic_SetBreakOnPanic(Bool breakOnPanic);
61
 
EXTERN Bool Panic_GetBreakOnPanic(void);
62
 
EXTERN void Panic_BreakOnPanic(void);
63
 
EXTERN void Panic_LoopOnPanic(void);
 
60
void Panic_SetBreakOnPanic(Bool breakOnPanic);
 
61
Bool Panic_GetBreakOnPanic(void);
 
62
void Panic_BreakOnPanic(void);
 
63
void Panic_LoopOnPanic(void);
64
64
 
65
65
/*
66
66
 * On panic, dump core; Panic is also the place where various pieces of
67
67
 * back end stash information about the core dump.
68
68
 */
69
69
 
70
 
EXTERN void Panic_SetCoreDumpOnPanic(Bool dumpCore);
71
 
EXTERN Bool Panic_GetCoreDumpOnPanic(void);
72
 
EXTERN void Panic_SetCoreDumpFileName(const char *fileName);
73
 
EXTERN const char *Panic_GetCoreDumpFileName(void);
74
 
EXTERN int  Panic_GetCoreDumpFlags(void);
75
 
EXTERN void Panic_SetCoreDumpFlags(int flags);
 
70
void Panic_SetCoreDumpOnPanic(Bool dumpCore);
 
71
Bool Panic_GetCoreDumpOnPanic(void);
 
72
void Panic_SetCoreDumpFileName(const char *fileName);
 
73
int  Panic_GetCoreDumpFlags(void);
 
74
void Panic_SetCoreDumpFlags(int flags);
76
75
 
77
76
/*
78
77
 * Extra debugging information that Panic module knows how to dump.
79
78
 */
80
 
EXTERN void Panic_DumpGuiResources(void);
 
79
void Panic_DumpGuiResources(void);
81
80
 
82
81
 
83
82
#endif //  _PANIC_H_