#ifndef BASE_POOL_H
#define BASE_POOL_H
#ifndef NOINTNSAPI
#define INTNSAPI
#endif
#include <ucx/string.h>
#ifndef NETSITE_H
#include "../public/nsapi.h"
#endif
#ifndef BASE_PBLOCK_H
#endif
#ifndef BASE_SESSION_H
#endif
#ifndef FRAME_REQ_H
#endif
#ifdef INTNSAPI
#ifdef __cplusplus
extern "C" {
#endif
NSAPI_PUBLIC int INTpool_init(pblock *pb, Session *sn, Request *rq);
sstr_t sstrdup_pool(
pool_handle_t *pool,
sstr_t s);
#ifdef DEBUG_CACHES
NSAPI_PUBLIC int INTpool_service_debug(pblock *pb, Session *sn, Request *rq);
#endif
#ifdef DEBUG
NSAPI_PUBLIC void INTpool_assert(
pool_handle_t *pool_handle,
const void *ptr);
#endif
#ifdef __cplusplus
}
#endif
#define pool_init INTpool_init
#ifdef DEBUG_CACHES
#define pool_service_debug INTpool_service_debug
#endif
#ifdef DEBUG
#define POOL_ASSERT(pool, ptr) INTpool_assert(pool, ptr);
#else
#define POOL_ASSERT(pool, ptr)
#endif
#endif
#endif