Prefix acore lib files with ac_ to avoid include clashes

pull/7822/head
Donatien Garnier 2018-08-22 11:47:09 +01:00
parent 483fcdfc83
commit f0b0762ca9
18 changed files with 29 additions and 29 deletions

View File

@ -37,7 +37,7 @@ extern "C" {
#include "stddef.h" #include "stddef.h"
#include "stdbool.h" #include "stdbool.h"
#include "acore/buffer.h" #include "acore/ac_buffer.h"
typedef struct __ac_buffer_builder { typedef struct __ac_buffer_builder {
ac_buffer_t ac_buffer; ac_buffer_t ac_buffer;

View File

@ -37,7 +37,7 @@ extern "C" {
#include "stddef.h" #include "stddef.h"
#include "stdbool.h" #include "stdbool.h"
#include "acore/buffer.h" #include "acore/ac_buffer.h"
/** Read n-bytes in big-endian format from buffer reader and advance read posiion /** Read n-bytes in big-endian format from buffer reader and advance read posiion
* \param pBuf the buffer to read from * \param pBuf the buffer to read from

View File

@ -37,7 +37,7 @@ typedef struct __ac_ostream ac_ostream_t;
#include "stdbool.h" #include "stdbool.h"
#include "stdint.h" #include "stdint.h"
#include "acore/buffer.h" #include "acore/ac_buffer.h"
typedef void (*ac_istream_fn)(ac_buffer_t *pDataIn, bool *pClose, size_t maxLength, void *pUserParam); typedef void (*ac_istream_fn)(ac_buffer_t *pDataIn, bool *pClose, size_t maxLength, void *pUserParam);
typedef void (*ac_ostream_fn)(ac_buffer_t *pDataOut, bool closed, void *pUserParam); typedef void (*ac_ostream_fn)(ac_buffer_t *pDataOut, bool closed, void *pUserParam);

View File

@ -23,11 +23,11 @@
#include "string.h" #include "string.h"
#include "acore/buffer.h" #include "acore/ac_buffer.h"
#include "acore/buffer_reader.h" #include "acore/ac_buffer_reader.h"
#include "acore/macros.h" #include "acore/ac_macros.h"
#include "acore/debug.h" #include "acore/ac_debug.h"
void ac_buffer_init(ac_buffer_t *pBuf, const uint8_t *data, size_t size) void ac_buffer_init(ac_buffer_t *pBuf, const uint8_t *data, size_t size)
{ {

View File

@ -20,9 +20,9 @@
* \author Donatien Garnier * \author Donatien Garnier
*/ */
#include "acore/buffer_builder.h" #include "acore/ac_buffer_builder.h"
#include "acore/buffer_reader.h" #include "acore/ac_buffer_reader.h"
#include "acore/macros.h" #include "acore/ac_macros.h"
#include "string.h" #include "string.h"

View File

@ -20,8 +20,8 @@
* \author Donatien Garnier * \author Donatien Garnier
*/ */
#include "acore/buffer_reader.h" #include "acore/ac_buffer_reader.h"
#include "acore/macros.h" #include "acore/ac_macros.h"
#include "string.h" #include "string.h"

View File

@ -20,8 +20,8 @@
* \author Donatien Garnier * \author Donatien Garnier
*/ */
#include "acore/stream.h" #include "acore/ac_stream.h"
#include "acore/macros.h" #include "acore/ac_macros.h"
//Called by supplier //Called by supplier
void ac_istream_init(ac_istream_t *pac_istream, ac_istream_fn fn, void *pUserParam) void ac_istream_init(ac_istream_t *pac_istream, ac_istream_fn fn, void *pUserParam)

View File

@ -20,7 +20,7 @@
#include <stdint.h> #include <stdint.h>
#include "stack/nfc_errors.h" #include "stack/nfc_errors.h"
#include "acore/buffer.h" #include "acore/ac_buffer.h"
namespace mbed { namespace mbed {
namespace nfc { namespace nfc {

View File

@ -24,7 +24,7 @@
#include "NFCNDEFCapable.h" #include "NFCNDEFCapable.h"
#include "NFCRemoteInitiator.h" #include "NFCRemoteInitiator.h"
#include "acore/buffer.h" #include "acore/ac_buffer.h"
namespace mbed { namespace mbed {
namespace nfc { namespace nfc {

View File

@ -16,9 +16,9 @@
#include "NFCNDEFCapable.h" #include "NFCNDEFCapable.h"
#include "acore/buffer.h" #include "acore/ac_buffer.h"
#include "acore/buffer_reader.h" #include "acore/ac_buffer_reader.h"
#include "acore/buffer_builder.h" #include "acore/ac_buffer_builder.h"
#include "ndef/ndef.h" #include "ndef/ndef.h"

View File

@ -16,9 +16,9 @@
#include "NFCRemoteEndpoint.h" #include "NFCRemoteEndpoint.h"
#include "acore/buffer.h" #include "acore/ac_buffer.h"
#include "acore/buffer_reader.h" #include "acore/ac_buffer_reader.h"
#include "acore/buffer_builder.h" #include "acore/ac_buffer_builder.h"
#include "stack/transceiver/transceiver.h" #include "stack/transceiver/transceiver.h"

View File

@ -16,9 +16,9 @@
#include "Type4RemoteInitiator.h" #include "Type4RemoteInitiator.h"
#include "acore/buffer.h" #include "acore/ac_buffer.h"
#include "acore/buffer_reader.h" #include "acore/ac_buffer_reader.h"
#include "acore/buffer_builder.h" #include "acore/ac_buffer_builder.h"
#include "stack/transceiver/transceiver.h" #include "stack/transceiver/transceiver.h"
#include "stack/tech/iso7816/iso7816.h" #include "stack/tech/iso7816/iso7816.h"

View File

@ -33,8 +33,8 @@
extern "C" { extern "C" {
#endif #endif
#include "acore/buffer.h" #include "acore/ac_buffer.h"
#include "acore/buffer_builder.h" #include "acore/ac_buffer_builder.h"
//Generic interface for NDEF messages //Generic interface for NDEF messages

View File

@ -27,7 +27,7 @@
extern "C" { extern "C" {
#endif #endif
#include "acore/stream.h" #include "acore/ac_stream.h"
#include "transceiver/protocols.h" #include "transceiver/protocols.h"
#include "tech/isodep/isodep_target.h" #include "tech/isodep/isodep_target.h"

View File

@ -29,7 +29,7 @@
#include "stdlib.h" #include "stdlib.h"
#include "acore/buffer.h" #include "acore/ac_buffer.h"
#include "transceiver/transceiver.h" #include "transceiver/transceiver.h"
#include "transceiver/protocols.h" #include "transceiver/protocols.h"