} /* extern "C" */
#endif
-#endif //#ifndef CA_COMMON_H_
+#endif /* CA_COMMON_H_ */
* This file contains the APIs for Resource Model to use.
*/
-#ifndef __CA_INTERFACE_H_
-#define __CA_INTERFACE_H_
+#ifndef CA_INTERFACE_H_
+#define CA_INTERFACE_H_
/**
* Connectivity Abstraction Interface APIs.
} /* extern "C" */
#endif
-#endif
+#endif /* CA_INTERFACE_H_ */
* This file provides APIs related to mutex and semaphores.
*/
-#ifndef _CAMUTEX_H_
-#define _CAMUTEX_H_
+#ifndef CA_MUTEX_H_
+#define CA_MUTEX_H_
#include "cacommon.h"
} /* extern "C" */
#endif /* __cplusplus */
-#endif /*__UMUTEX_H_ */
+#endif /* CA_MUTEX_H_ */
* a name that best describes the used technology, not the OS.
*/
-#ifndef CATHREAD_POOL_H_
-#define CATHREAD_POOL_H_
+#ifndef CA_THREAD_POOL_H_
+#define CA_THREAD_POOL_H_
#include "cacommon.h"
} /* extern "C" */
#endif /* __cplusplus */
-#endif /* CATHREAD_POOL_H_ */
+#endif /* CA_THREAD_POOL_H_ */
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-#ifndef _U_LOGGER_H_
-#define _U_LOGGER_H_
+#ifndef U_LOGGER_H_
+#define U_LOGGER_H_
#include <stdint.h>
#include <stdio.h>
#ifdef __cplusplus
}
#endif // __cplusplus
-#endif /* _U_LOGGER_H_ */
+#endif /* U_LOGGER_H_ */
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-#ifndef __OIC_CONSOLE_LOGGER_
-#define __OIC_CONSOLE_LOGGER_
+#ifndef OIC_CONSOLE_LOGGER_
+#define OIC_CONSOLE_LOGGER_
#include "oic_logger_types.h"
} // extern "C"
#endif
-#endif
+#endif /* OIC_CONSOLE_LOGGER_ */
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-#ifndef __OIC_LOGGER_H_
-#define __OIC_LOGGER_H_
+#ifndef OIC_LOGGER_H_
+#define OIC_LOGGER_H_
#include "oic_logger_types.h"
} // extern "C"
#endif
-#endif
+#endif /* OIC_LOGGER_H_ */
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-#ifndef __OIC_LOGGER_TYPES_H_
-#define __OIC_LOGGER_TYPES_H_
+#ifndef OIC_LOGGER_TYPES_H_
+#define OIC_LOGGER_TYPES_H_
#include <stddef.h>
} // extern "C"
#endif
-#endif
+#endif /* OIC_LOGGER_TYPES_H_ */
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-#ifndef _OIC_MALLOC_H_
-#define _OIC_MALLOC_H_
+#ifndef OIC_MALLOC_H_
+#define OIC_MALLOC_H_
// The purpose of this module is to allow custom dynamic memory allocation
// code to easily be added to the TB Stack by redefining the OICMalloc and
#ifdef __cplusplus
}
#endif // __cplusplus
-#endif /* _OIC_MALLOC_H_ */
+#endif /* OIC_MALLOC_H_ */
* limitations under the License.
*
******************************************************************/
-#ifndef _OIC_STRING_H_
-#define _OIC_STRING_H_
+#ifndef OIC_STRING_H_
+#define OIC_STRING_H_
#ifdef __cplusplus
extern "C"
#ifdef __cplusplus
}
#endif // __cplusplus
-#endif
-/* _OIC_STRING_H_ */
-
+#endif /* OIC_STRING_H_ */
*
******************************************************************/
-#ifndef __U_ARRAYLIST_H_
-#define __U_ARRAYLIST_H_
+#ifndef U_ARRAYLIST_H_
+#define U_ARRAYLIST_H_
#include <stdint.h>
#include "cacommon.h"
}
#endif
-#endif /* _U_ARRAYLIST_H_ */
+#endif /* U_ARRAYLIST_H_ */
* This file contains the APIs for queue to be implemented.
*/
-#ifndef __U_QUEUE_H_
-#define __U_QUEUE_H_
+#ifndef U_QUEUE_H_
+#define U_QUEUE_H_
#include "cacommon.h"
} /* extern "C" */
#endif /* __cplusplus */
-#endif /* _U_QUEUE_H_ */
+#endif /* U_QUEUE_H_ */
} /* extern "C" */
#endif
-#endif // CA_ADAPTER_INTERFACE_H_
+#endif /* CA_ADAPTER_INTERFACE_H_ */
* limitations under the License.
*
******************************************************************/
-#ifndef _CA_ADAPTER_NET_DTLS_H
-#define _CA_ADAPTER_NET_DTLS_H
+#ifndef CA_ADAPTER_NET_DTLS_H_
+#define CA_ADAPTER_NET_DTLS_H_
#include "dtls.h"
#include "uarraylist.h"
uint32_t dataLen,
eDtlsAdapterType_t type);
-#endif //_CA_ADAPTER_NET_DTLS_H
+#endif /* CA_ADAPTER_NET_DTLS_H_ */
#ifdef __cplusplus
} /* extern "C" */
#endif
-#endif // CA_ADAPTER_UTILS_H_
+#endif /* CA_ADAPTER_UTILS_H_ */
* This file contains the APIs for EDR adapters.
*/
-#ifndef __CA_EDRADAPTER_H_
-#define __CA_EDRADAPTER_H_
+#ifndef CA_EDRADAPTER_H_
+#define CA_EDRADAPTER_H_
/**
* EDR Interface AP
} /* extern "C" */
#endif
-#endif //__CA_EDRADAPTER_H_
+#endif /* CA_EDRADAPTER_H_ */
* This file contains the APIs for EDR adapters to be implemented.
*/
-#ifndef __CA_EDRADAPTER_SINGLETHREAD_H_
-#define __CA_EDRADAPTER_SINGLETHREAD_H_
+#ifndef CA_EDRADAPTER_SINGLETHREAD_H_
+#define CA_EDRADAPTER_SINGLETHREAD_H_
/**
* EDR Interface AP
} /* extern "C" */
#endif
-#endif //__CA_EDRADAPTER_SINGLETHREAD_H_
+#endif /* CA_EDRADAPTER_SINGLETHREAD_H_ */
* modules.
*/
-#ifndef __CA_EDR_INTERFACE_H_
-#define __CA_EDR_INTERFACE_H_
+#ifndef CA_EDR_INTERFACE_H_
+#define CA_EDR_INTERFACE_H_
#include "caedradapter.h"
} /* extern "C" */
#endif
-#endif //__CA_EDR_INTERFACE_H_
+#endif /* CA_EDR_INTERFACE_H_ */
} /* extern "C" */
#endif
-#endif //#ifndef CA_INTERFACE_CONTROLLER_H_
+#endif /* CA_INTERFACE_CONTROLLER_H_ */
} /* extern "C" */
#endif
-#endif //#ifndef __CA_INTERFACE_CONTROLLER_H_
+#endif /* CA_INTERFACE_CONTROLLER_SINGLETHREAD_H_ */
} /* extern "C" */
#endif
-#endif // #ifndef CA_IP_ADAPTER_SINGLETHREAD_H_
+#endif /* CA_IP_ADAPTER_SINGLETHREAD_H_ */
}
#endif
-#endif //CA_IP_INTERFACE_H_
+#endif /* CA_IP_INTERFACE_H_ */
}
#endif
-#endif //CA_IP_INTERFACE_SINGLETHREAD_H_
+#endif /* CA_IP_INTERFACE_SINGLETHREAD_H_ */
* This file contains the APIs for LE adapters to be implemented.
*/
-#ifndef _CA_LEADAPTER_H_
-#define _CA_LEADAPTER_H_
+#ifndef CA_LEADAPTER_H_
+#define CA_LEADAPTER_H_
#include "cacommon.h"
#include "caadapterinterface.h"
} /* extern "C" */
#endif
-#endif //#ifndef _CA_LEADAPTER_H_
+#endif /* CA_LEADAPTER_H_ */
* This file contains the APIs for LE adapters to be implemented.
*/
-#ifndef _CA_LEADAPTER_SINGLETHREAD_H_
-#define _CA_LEADAPTER_SINGLETHREAD_H_
+#ifndef CA_LEADAPTER_SINGLETHREAD_H_
+#define CA_LEADAPTER_SINGLETHREAD_H_
#include "cacommon.h"
#include "caadapterinterface.h"
} /* extern "C" */
#endif
-#endif //#ifndef _CA_LEADAPTER_SINGLETHREAD_H_
+#endif /* CA_LEADAPTER_SINGLETHREAD_H_ */
* This file provides APIs for BLE modules.
*/
-#ifndef _CA_LE_INTERFACE_H_
-#define _CA_LE_INTERFACE_H_
+#ifndef CA_LE_INTERFACE_H_
+#define CA_LE_INTERFACE_H_
#include <stdbool.h>
}
#endif
-#endif //_CA_LE_INTERFACE_H_
+#endif /* CA_LE_INTERFACE_H_ */
* This file provides APIs for BLE modules.
*/
-#ifndef _CA_LE_INTERFACE_SINGLETHREAD_H_
-#define _CA_LE_INTERFACE_SINGLETHREAD_H_
+#ifndef CA_LE_INTERFACE_SINGLETHREAD_H_
+#define CA_LE_INTERFACE_SINGLETHREAD_H_
#include <stdbool.h>
}
#endif
-#endif //_CA_LE_INTERFACE_SINGLETHREAD_H_
+#endif /* CA_LE_INTERFACE_SINGLETHREAD_H_ */
* @brief This file contains message functionality.
*/
-#ifndef __CA_MESSAGE_HANDLER_H_
-#define __CA_MESSAGE_HANDLER_H_
+#ifndef CA_MESSAGE_HANDLER_H_
+#define CA_MESSAGE_HANDLER_H_
#include "cacommon.h"
#include "coap.h"
} /* extern "C" */
#endif
-#endif //#ifndef __CA_MESSAGE_HANDLER_H_
+#endif /* CA_MESSAGE_HANDLER_H_ */
* @brief This file contains message functionality.
*/
-#ifndef __CA_MESSAGE_HANDLER_SINGLETHREAD_H_
-#define __CA_MESSAGE_HANDLER_SINGLETHREAD_H_
+#ifndef CA_MESSAGE_HANDLER_SINGLETHREAD_H_
+#define CA_MESSAGE_HANDLER_SINGLETHREAD_H_
#include "cacommon.h"
#include "coap.h"
} /* extern "C" */
#endif
-#endif //#ifndef __CA_MESSAGE_HANDLER_SINGLETHREAD_H_
+#endif /* CA_MESSAGE_HANDLER_SINGLETHREAD_H_ */
* fragmentation and reassemebly.
*/
-#ifndef _CA_MSG_PARSER_H_
-#define _CA_MSG_PARSER_H_
+#ifndef CA_MSG_PARSER_H_
+#define CA_MSG_PARSER_H_
#include "cacommon.h"
#include "logger.h"
} /* extern "C" */
#endif
-#endif // _CA_MSG_PARSER_H_
+#endif /* CA_MSG_PARSER_H_ */
} /* extern "C" */
#endif
-#endif //#ifndef NETWORK_CONFIGURATOR_H_
+#endif /* NETWORK_CONFIGURATOR_H_ */
} /* extern "C" */
#endif
-#endif //#ifndef CA_PROTOCOL_MESSAGE_H_
+#endif /* CA_PROTOCOL_MESSAGE_H_ */
* This file contains common utility function for handling message ques.
*/
-#ifndef CA_QUEUEINGTHREAD_H_
-#define CA_QUEUEINGTHREAD_H_
+#ifndef CA_QUEUEING_THREAD_H_
+#define CA_QUEUEING_THREAD_H_
#include <stdint.h>
} /* extern "C" */
#endif
-#endif // CA_QUEUEINGTHREAD_H_
+#endif /* CA_QUEUEING_THREAD_H_ */
} /* extern "C" */
#endif
-#endif //#ifndef CA_REMOTE_HANDLER_H_
+#endif /* CA_REMOTE_HANDLER_H_ */
} /* extern "C" */
#endif
-#endif // CA_RETRANSMISSION_H_
+#endif /* CA_RETRANSMISSION_H_ */
} /* extern "C" */
#endif
-#endif // CA_RETRANSMISSION_SINGLETHREAD_H_
+#endif /* CA_RETRANSMISSION_SINGLETHREAD_H_ */
} /* extern "C" */
#endif
-#endif
+#endif /* CA_EDR_CLIENT_H_ */
* @file
* @brief This file contains the APIs for BT LE communications.
*/
-#ifndef CA_EDR_NWMONITOR_H_
-#define CA_EDR_NWMONITOR_H_
+#ifndef CA_EDR_NW_MONITOR_H_
+#define CA_EDR_NW_MONITOR_H_
#include "cacommon.h"
} /* extern "C" */
#endif
-#endif
+#endif /* CA_EDR_NW_MONITOR_H_ */
} /* extern "C" */
#endif
-#endif
+#endif /* CA_EDR_SERVER_H_ */
* @file
* @brief This file contains the APIs for BT communications.
*/
-#ifndef CA_EDR_UTILES_H_
-#define CA_EDR_UTILES_H_
+#ifndef CA_EDR_UTILS_H_
+#define CA_EDR_UTILS_H_
#include "cacommon.h"
#include "cathreadpool.h"
} /* extern "C" */
#endif
-#endif
+#endif /* CA_EDR_UTILS_H_ */
* This file provides APIs to manage discovered bluetooth device list.
*/
-#ifndef __CA_EDR_DEVICE_LIST_H_
-#define __CA_EDR_DEVICE_LIST_H_
+#ifndef CA_EDR_DEVICE_LIST_H_
+#define CA_EDR_DEVICE_LIST_H_
#include "cacommon.h"
} /* extern "C" */
#endif
-#endif //__CA_EDR_DEVICE_LIST_H_
+#endif /* CA_EDR_DEVICE_LIST_H_ */
* This file provides the APIs to send data on established RFCOMM connections.
*/
-#ifndef __CA_EDR_ENDPOINT_H_
-#define __CA_EDR_ENDPOINT_H_
+#ifndef CA_EDR_ENDPOINT_H_
+#define CA_EDR_ENDPOINT_H_
#include <bluetooth.h>
} /* extern "C" */
#endif
-#endif //__CA_EDR_ENDPOINT_H_
+#endif /* CA_EDR_ENDPOINT_H_ */
* This file provides helper functions for EDR adapter.
*/
-#ifndef __CA_EDR_UTILS_H_
-#define __CA_EDR_UTILS_H_
+#ifndef CA_EDR_UTILS_H_
+#define CA_EDR_UTILS_H_
#include <stdbool.h>
#include <string.h>
} /* extern "C" */
#endif
-#endif //__CA_EDR_UTILS_H_
+#endif /* CA_EDR_UTILS_H_ */
} /* extern "C" */
#endif
-#endif
+#endif /* CA_LECLIENT_H_ */
} /* extern "C" */
#endif
-#endif
+#endif /* CA_LENWMONITOR_H_ */
* @file caleutils.h
* @brief This file contains the APIs for BT LE communications.
*/
-#ifndef CA_LEUTILES_H_
-#define CA_LEUTILES_H_
+#ifndef CA_LE_UTILS_H_
+#define CA_LE_UTILS_H_
#include "cacommon.h"
#include "cathreadpool.h"
} /* extern "C" */
#endif
-#endif
+#endif /* CA_LE_UTILS_H_ */
* notifying the change of characteristcs for the request will be done here.
*/
-#ifndef _BLE_ADAPTER_ARDUINO_H_
-#define _BLE_ADAPTER_ARDUINO_H_
+#ifndef BLE_ADAPTER_ARDUINO_H_
+#define BLE_ADAPTER_ARDUINO_H_
#include "cacommon.h"
#include "caadapterinterface.h"
} /* extern "C" */
#endif
-#endif //#ifndef _BLE_ADAPTER_ARDUINO_H_
+#endif /* BLE_ADAPTER_ARDUINO_H_ */
* for the request and response will be done here.
*/
-#ifndef _BLE_CLIENT_
-#define _BLE_CLIENT_
+#ifndef TZ_BLE_CLIENT_H_
+#define TZ_BLE_CLIENT_H_
#include <bluetooth.h>
#include <bluetooth_type.h>
*/
CAResult_t CALEReadDataFromLEClient();
-#endif //#ifndef _BLE_CLIENT_
+#endif /* TZ_BLE_CLIENT_H_ */
* LE adapter will interact with this sub module.
*/
-#ifndef __TZ_BLE_SERVER_H_
-#define __TZ_BLE_SERVER_H_
+#ifndef TZ_BLE_SERVER_H_
+#define TZ_BLE_SERVER_H_
#include "caadapterinterface.h"
#include "logger.h"
*/
void *CABleServerSenderQueueProcessor();
-#endif //#ifndef __TZ_BLE_SERVER_H_
+#endif /* TZ_BLE_SERVER_H_ */
* is connected.
*/
-#ifndef _BLE_UTIL_H_
-#define _BLE_UTIL_H_
+#ifndef TZ_BLE_UTIL_H_
+#define TZ_BLE_UTIL_H_
#include <bluetooth.h>
*/
const char *CABTGetErrorMsg(bt_error_e err);
-#endif //#ifndef _BLE_UTIL_H_
+#endif /* TZ_BLE_UTIL_H_ */
}
#endif
-#endif //CA_ETHERNET_ADAPTER_UTILS_
+#endif /* CA_ETHERNET_ADAPTER_UTILS_ */