src/server/util/pool.h

changeset 415
d938228c382e
parent 91
fac51f87def0
equal deleted inserted replaced
414:99a34860c105 415:d938228c382e
51 * 10-02-95 51 * 10-02-95
52 * 52 *
53 */ 53 */
54 54
55 // new 55 // new
56 #include <ucx/string.h> 56 #include <cx/string.h>
57 57
58 #ifndef NETSITE_H 58 #ifndef NETSITE_H
59 //include "netsite.h" 59 //include "netsite.h"
60 #include "../public/nsapi.h" 60 #include "../public/nsapi.h"
61 //include "nspr.h" 61 //include "nspr.h"
81 extern "C" { 81 extern "C" {
82 #endif 82 #endif
83 83
84 NSAPI_PUBLIC int INTpool_init(pblock *pb, Session *sn, Request *rq); 84 NSAPI_PUBLIC int INTpool_init(pblock *pb, Session *sn, Request *rq);
85 85
86 sstr_t sstrdup_pool(pool_handle_t *pool, sstr_t s); 86 cxmutstr cx_strdup_pool(pool_handle_t *pool, cxmutstr s);
87
88 CxAllocator* pool_allocator(pool_handle_t *pool);
87 89
88 #ifdef DEBUG_CACHES 90 #ifdef DEBUG_CACHES
89 NSAPI_PUBLIC int INTpool_service_debug(pblock *pb, Session *sn, Request *rq); 91 NSAPI_PUBLIC int INTpool_service_debug(pblock *pb, Session *sn, Request *rq);
90 #endif 92 #endif
91 93

mercurial