sipxportlib
Version 3.3
Main Page
Classes
Files
File List
File Members
include
os
OsAssert.h
Go to the documentation of this file.
1
//
2
// Copyright (C) 2004-2006 SIPfoundry Inc.
3
// Licensed by SIPfoundry under the LGPL license.
4
//
5
// Copyright (C) 2004-2006 Pingtel Corp. All rights reserved.
6
// Licensed to SIPfoundry under a Contributor Agreement.
7
//
8
// $$
10
11
12
#ifndef _OsAssert_h_
13
#define _OsAssert_h_
14
15
/* SYSTEM INCLUDES */
16
17
/* APPLICATION INCLUDES */
18
19
#ifdef __cplusplus
20
extern
"C"
{
21
#endif
22
23
/* DEFINES */
24
25
#define OS_ASSERT_REBOOT 47
26
#define OS_ASSERT_SUSPEND 17
27
#define OS_ASSERT_ALWAYS_SUSPEND 4717
28
29
/* MACROS */
30
/* EXTERNAL FUNCTIONS */
31
32
/*
33
* OsAssert_SetFailureAction(boolean):
34
* Set action on assert() failure: reboot system, or suspend calling task
35
*/
36
#ifdef _VXWORKS
/* [ */
37
extern
int
OsAssert_SetFailureAction
(
int
assertFailureAction);
38
#else
/* _VXWORKS ] [ */
39
#define OsAssert_SetFailureAction(assertFailureAction)
40
#endif
/* _VXWORKS ] */
41
42
/*
43
* assertCount(): Return number of assertion failures reported.
44
*/
45
extern
int
assertCount
(
void
);
46
47
/* EXTERNAL VARIABLES */
48
/* CONSTANTS */
49
/* STRUCTS */
50
/* TYPEDEFS */
51
/* FORWARD DECLARATIONS */
52
53
#ifdef __cplusplus
54
}
55
#endif
56
#endif
/* _OsAssert_h_ */
57
OsAssert_SetFailureAction
#define OsAssert_SetFailureAction(assertFailureAction)
Definition:
OsAssert.h:39
assertCount
int assertCount(void)
Generated by
1.8.11