|
1 /* This Source Code Form is subject to the terms of the Mozilla Public |
|
2 * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
4 |
|
5 #ifndef _RESET_API_H_ |
|
6 #define _RESET_API_H_ |
|
7 |
|
8 |
|
9 /** |
|
10 * resetRequest |
|
11 * |
|
12 * This function tells the reset Manager that the SIPCC module |
|
13 * wants to do a HARD RESET. This is most likely because of a request |
|
14 * from the CUCM. |
|
15 * |
|
16 * The response received for this request is asynchronous and |
|
17 * should be handled via event provided by reset manager. |
|
18 * The CCAPI_Service_shutdown api needs to be called for the |
|
19 * handling of the response to the reset request |
|
20 * |
|
21 */ |
|
22 void resetRequest(); |
|
23 |
|
24 |
|
25 /** |
|
26 * resetReady |
|
27 * |
|
28 * This function tells the reset manager that call control is |
|
29 * ready for reset. This is called whenever the call control |
|
30 * determines that it is idle |
|
31 * |
|
32 * The resetManager will keep track of events can initate |
|
33 * reset when it has received ready. |
|
34 * |
|
35 */ |
|
36 void resetReady(); |
|
37 |
|
38 /** |
|
39 * resetNotReady |
|
40 * |
|
41 * This function tells the reset manager that call control is |
|
42 * NOT ready for reset. This is called whenever the call control |
|
43 * is not idle |
|
44 * |
|
45 * The resetManager will keep track of events and it CANNOT initate |
|
46 * reset until a resetReady event is received |
|
47 * |
|
48 */ |
|
49 void resetNotReady(); |
|
50 |
|
51 #endif /* _RESET_API_H_ */ |