btstack_memory.h (6b64433e6a17b046d431031fa3995f31c29aa188) | btstack_memory.h (f471afd8963ca1a5b914db0cbb3471db087f44b8) |
---|---|
1/* 2 * Copyright (C) 2009-2012 by Matthias Ringwald 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 8 * 1. Redistributions of source code must retain the above copyright --- 27 unchanged lines hidden (view full) --- 36 37/* 38 * btstsack_memory.h 39 * 40 * @brief BTstack memory management via configurable memory pools 41 * 42 */ 43 | 1/* 2 * Copyright (C) 2009-2012 by Matthias Ringwald 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 8 * 1. Redistributions of source code must retain the above copyright --- 27 unchanged lines hidden (view full) --- 36 37/* 38 * btstsack_memory.h 39 * 40 * @brief BTstack memory management via configurable memory pools 41 * 42 */ 43 |
44#pragma once | 44#ifndef __BTSTACK_MEMORY_H 45#define __BTSTACK_MEMORY_H |
45 46#if defined __cplusplus 47extern "C" { 48#endif 49 50void btstack_memory_init(void); 51 52void * btstack_memory_hci_connection_get(void); --- 13 unchanged lines hidden (view full) --- 66void * btstack_memory_db_mem_device_link_key_get(void); 67void btstack_memory_db_mem_device_link_key_free(void *db_mem_device_link_key); 68void * btstack_memory_db_mem_service_get(void); 69void btstack_memory_db_mem_service_free(void *db_mem_service); 70 71#if defined __cplusplus 72} 73#endif | 46 47#if defined __cplusplus 48extern "C" { 49#endif 50 51void btstack_memory_init(void); 52 53void * btstack_memory_hci_connection_get(void); --- 13 unchanged lines hidden (view full) --- 67void * btstack_memory_db_mem_device_link_key_get(void); 68void btstack_memory_db_mem_device_link_key_free(void *db_mem_device_link_key); 69void * btstack_memory_db_mem_service_get(void); 70void btstack_memory_db_mem_service_free(void *db_mem_service); 71 72#if defined __cplusplus 73} 74#endif |
75 76#endif // __BTSTACK_MEMORY_H |
|