michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef _RESET_API_H_ michael@0: #define _RESET_API_H_ michael@0: michael@0: michael@0: /** michael@0: * resetRequest michael@0: * michael@0: * This function tells the reset Manager that the SIPCC module michael@0: * wants to do a HARD RESET. This is most likely because of a request michael@0: * from the CUCM. michael@0: * michael@0: * The response received for this request is asynchronous and michael@0: * should be handled via event provided by reset manager. michael@0: * The CCAPI_Service_shutdown api needs to be called for the michael@0: * handling of the response to the reset request michael@0: * michael@0: */ michael@0: void resetRequest(); michael@0: michael@0: michael@0: /** michael@0: * resetReady michael@0: * michael@0: * This function tells the reset manager that call control is michael@0: * ready for reset. This is called whenever the call control michael@0: * determines that it is idle michael@0: * michael@0: * The resetManager will keep track of events can initate michael@0: * reset when it has received ready. michael@0: * michael@0: */ michael@0: void resetReady(); michael@0: michael@0: /** michael@0: * resetNotReady michael@0: * michael@0: * This function tells the reset manager that call control is michael@0: * NOT ready for reset. This is called whenever the call control michael@0: * is not idle michael@0: * michael@0: * The resetManager will keep track of events and it CANNOT initate michael@0: * reset until a resetReady event is received michael@0: * michael@0: */ michael@0: void resetNotReady(); michael@0: michael@0: #endif /* _RESET_API_H_ */