171bad7f0Spopcornmix /**
271bad7f0Spopcornmix  * Copyright (c) 2010-2012 Broadcom. All rights reserved.
371bad7f0Spopcornmix  *
471bad7f0Spopcornmix  * Redistribution and use in source and binary forms, with or without
571bad7f0Spopcornmix  * modification, are permitted provided that the following conditions
671bad7f0Spopcornmix  * are met:
771bad7f0Spopcornmix  * 1. Redistributions of source code must retain the above copyright
871bad7f0Spopcornmix  *    notice, this list of conditions, and the following disclaimer,
971bad7f0Spopcornmix  *    without modification.
1071bad7f0Spopcornmix  * 2. Redistributions in binary form must reproduce the above copyright
1171bad7f0Spopcornmix  *    notice, this list of conditions and the following disclaimer in the
1271bad7f0Spopcornmix  *    documentation and/or other materials provided with the distribution.
1371bad7f0Spopcornmix  * 3. The names of the above-listed copyright holders may not be used
1471bad7f0Spopcornmix  *    to endorse or promote products derived from this software without
1571bad7f0Spopcornmix  *    specific prior written permission.
1671bad7f0Spopcornmix  *
1771bad7f0Spopcornmix  * ALTERNATIVELY, this software may be distributed under the terms of the
1871bad7f0Spopcornmix  * GNU General Public License ("GPL") version 2, as published by the Free
1971bad7f0Spopcornmix  * Software Foundation.
2071bad7f0Spopcornmix  *
2171bad7f0Spopcornmix  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
2271bad7f0Spopcornmix  * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
2371bad7f0Spopcornmix  * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
2471bad7f0Spopcornmix  * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
2571bad7f0Spopcornmix  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
2671bad7f0Spopcornmix  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
2771bad7f0Spopcornmix  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
2871bad7f0Spopcornmix  * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
2971bad7f0Spopcornmix  * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
3071bad7f0Spopcornmix  * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
3171bad7f0Spopcornmix  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3271bad7f0Spopcornmix  */
3371bad7f0Spopcornmix 
3471bad7f0Spopcornmix #ifndef VCHIQ_CONNECTED_H
3571bad7f0Spopcornmix #define VCHIQ_CONNECTED_H
3671bad7f0Spopcornmix 
3771bad7f0Spopcornmix /* ---- Include Files ----------------------------------------------------- */
3871bad7f0Spopcornmix 
3971bad7f0Spopcornmix /* ---- Constants and Types ---------------------------------------------- */
4071bad7f0Spopcornmix 
4171bad7f0Spopcornmix typedef void (*VCHIQ_CONNECTED_CALLBACK_T)(void);
4271bad7f0Spopcornmix 
4371bad7f0Spopcornmix /* ---- Variable Externs ------------------------------------------------- */
4471bad7f0Spopcornmix 
4571bad7f0Spopcornmix /* ---- Function Prototypes ---------------------------------------------- */
4671bad7f0Spopcornmix 
4771bad7f0Spopcornmix void vchiq_add_connected_callback(VCHIQ_CONNECTED_CALLBACK_T callback);
4871bad7f0Spopcornmix void vchiq_call_connected_callbacks(void);
4971bad7f0Spopcornmix 
5071bad7f0Spopcornmix #endif /* VCHIQ_CONNECTED_H */
51