/*******************************************************************************
 * (c) Copyright 2015 Microsemi Corporation.  All rights reserved.
 *
 *
 *
 * SVN $Revision: $
 * SVN $Date: $
 */

#ifndef API_INIT_H_
#define API_INIT_H_

/**
 * @brief This must be called to initialise the API
 *
 * It will create any necessary support threads and initialise all context to defaults.
 * This function should only be called at device startup. Any existing configuration will
 * be lost and must be restored by the system manager.
 */
void apiInit(void);

/* @brief This function should be called during application shutdown to ensure a graceful exit of the API
 */
void apiShutdown(void);

#endif /* API_INIT_H_ */
