1/* 2 * Copyright (c) 2014, The Linux Foundation. All rights reserved. 3 * Permission to use, copy, modify, and/or distribute this software for 4 * any purpose with or without fee is hereby granted, provided that the 5 * above copyright notice and this permission notice appear in all copies. 6 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 7 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 8 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 9 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 10 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 11 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT 12 * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 13 */ 14 15 16 17#ifndef _API_ACCESS_H 18#define _API_ACCESS_H 19 20#ifdef __cplusplus 21extern "C" { 22#endif /* __cplusplus */ 23 24 sw_api_func_t * 25 sw_api_func_find(a_uint32_t api_id); 26 27 sw_api_param_t * 28 sw_api_param_find(a_uint32_t api_id); 29 30 a_uint32_t 31 sw_api_param_nums(a_uint32_t api_id); 32 33 sw_error_t 34 sw_api_get(sw_api_t *sw_api); 35 36#ifdef __cplusplus 37} 38#endif /* __cplusplus */ 39#endif /* _API_ACCESS_H */ 40