1#ifndef __PM_H__ 2#define __PM_H__ 3 4#include <stddef.h> 5#include <stdint.h> 6 7// Pointer Map 8 9struct pm; 10 11struct pm * pm_create(void); 12size_t pm_destroy(struct pm * pm); 13 14int pm_set(struct pm * pm, uintptr_t key, void * value); 15int pm_get(struct pm * pm, uintptr_t key, void ** value_p); 16 17#endif 18