/*
 * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
 *
 * This software is dual-licensed to you under the MIT License (MIT) and
 * the Universal Permissive License (UPL). See the LICENSE file in the root
 * directory for license terms. You may choose either license, or both.
 */


/**
 * @brief Common private header
 */

#ifndef UTIL_MEMORY_H
#define	UTIL_MEMORY_H

#ifdef	__cplusplus
extern "C" {
#endif
    
#include <stddef.h>
#include "iotcs_config.h"

void* util_malloc(size_t size);
void* util_calloc(size_t num, size_t size);
void util_free(void* ptr);

#ifdef	__cplusplus
}
#endif

#endif	/* UTIL_MEMORY_H */

