Home | History | Annotate | Download | only in generated
      1 #ifndef _CHRE_SLPI_H
      2 #define _CHRE_SLPI_H
      3 /**
      4  * Defines the FastRPC interface between CHRE running on the SLPI and the host
      5  * daemon running on the AP.
      6  *
      7  * Note that the interface name gets prefixed to the function names in the
      8  * generated sources, with an underscore separating them.
      9  *
     10  * Refer to the implementations of these functions in the CHRE code that runs on
     11  * the SLPI for documentation covering the parameters, return values, etc.
     12  */
     13 #ifndef __QAIC_HEADER
     14 #define __QAIC_HEADER(ff) ff
     15 #endif //__QAIC_HEADER
     16 
     17 #ifndef __QAIC_HEADER_EXPORT
     18 #define __QAIC_HEADER_EXPORT
     19 #endif // __QAIC_HEADER_EXPORT
     20 
     21 #ifndef __QAIC_HEADER_ATTRIBUTE
     22 #define __QAIC_HEADER_ATTRIBUTE
     23 #endif // __QAIC_HEADER_ATTRIBUTE
     24 
     25 #ifndef __QAIC_IMPL
     26 #define __QAIC_IMPL(ff) ff
     27 #endif //__QAIC_IMPL
     28 
     29 #ifndef __QAIC_IMPL_EXPORT
     30 #define __QAIC_IMPL_EXPORT
     31 #endif // __QAIC_IMPL_EXPORT
     32 
     33 #ifndef __QAIC_IMPL_ATTRIBUTE
     34 #define __QAIC_IMPL_ATTRIBUTE
     35 #endif // __QAIC_IMPL_ATTRIBUTE
     36 #ifdef __cplusplus
     37 extern "C" {
     38 #endif
     39 __QAIC_HEADER_EXPORT int __QAIC_HEADER(chre_slpi_start_thread)(void) __QAIC_HEADER_ATTRIBUTE;
     40 __QAIC_HEADER_EXPORT int __QAIC_HEADER(chre_slpi_wait_on_thread_exit)(void) __QAIC_HEADER_ATTRIBUTE;
     41 __QAIC_HEADER_EXPORT int __QAIC_HEADER(chre_slpi_initialize_reverse_monitor)(void) __QAIC_HEADER_ATTRIBUTE;
     42 __QAIC_HEADER_EXPORT int __QAIC_HEADER(chre_slpi_stop_thread)(void) __QAIC_HEADER_ATTRIBUTE;
     43 __QAIC_HEADER_EXPORT int __QAIC_HEADER(chre_slpi_get_message_to_host)(unsigned char* buffer, int bufferLen, unsigned int* messageLen) __QAIC_HEADER_ATTRIBUTE;
     44 __QAIC_HEADER_EXPORT int __QAIC_HEADER(chre_slpi_deliver_message_from_host)(const unsigned char* message, int messageLen) __QAIC_HEADER_ATTRIBUTE;
     45 #ifdef __cplusplus
     46 }
     47 #endif
     48 #endif //_CHRE_SLPI_H
     49