10 #ifndef GO_WEB_SCAN_PIPE_MSG_POOL_H
11 #define GO_WEB_SCAN_PIPE_MSG_POOL_H
121 #include <GoWebScanSdk/GoWebScanPipeMsgPool.x.h>
kStatus(kCall * GoWebScanPipeMsgPoolDestroyFx)(GoWebScanPipeMsg msg)
Defines the signature for the message destruction handler.
Definition: GoWebScanPipeMsgPool.h:36
kStatus GoWebScanPipeMsgPool_Construct(GoWebScanPipeMsgPool *pool, kAlloc allocator)
Constructs a GoWebScanPipeMsgPool object.
kStatus GoWebScanPipeMsgPool_SetSizeHandler(GoWebScanPipeMsgPool pool, GoWebScanPipeMsgPoolSizeFx size)
Sets the callback function for the message's data buffer size (in bytes).
kSize GoWebScanPipeMsgPool_AllocCount(GoWebScanPipeMsgPool pool)
Gets the count of the pool's allocated list.
Essential GoWebScan declarations.
kStatus(kCall * GoWebScanPipeMsgPoolAllocFx)(kPointer context, GoWebScanPipeMsgPool pool, GoWebScanPipeMsg *msg)
Defines the signature for the memory allocation handler for a message.
Definition: GoWebScanPipeMsgPool.h:30
kStatus GoWebScanPipeMsgPool_SetAllocHandler(GoWebScanPipeMsgPool pool, GoWebScanPipeMsgPoolAllocFx alloc, kPointer receiver)
Sets the message allocation callback function.
kStatus(kCall * GoWebScanPipeMsgPoolFreeFx)(GoWebScanPipeMsg msg)
Defines the signature for the memory recycling handler for a message.
Definition: GoWebScanPipeMsgPool.h:33
kStatus GoWebScanPipeMsgPool_SetFreeHandler(GoWebScanPipeMsgPool pool, GoWebScanPipeMsgPoolFreeFx free)
Sets the callback function to recycle memory allocated for a message.
kSize(kCall * GoWebScanPipeMsgPoolSizeFx)(GoWebScanPipeMsg msg)
Defines the signature for the message size handler.
Definition: GoWebScanPipeMsgPool.h:39
kSize GoWebScanPipeMsgPool_FreeCount(GoWebScanPipeMsgPool pool)
Gets the count of the pool's free list.
kStatus GoWebScanPipeMsgPool_Alloc(GoWebScanPipeMsgPool pool, GoWebScanPipeMsg *msg)
Allocates a GoWebScanPipeMsg object and adds it to the pool's allocated list.
Represents a pool of GoWebScanPipeMsg objects. The pool allocates GoWebScanPipeMsg objects with a def...
Base class for a msg that can be processed with a GoWebScanPipeTask and submitted to the GoWebScanPip...
kStatus GoWebScanPipeMsgPool_SetDestroyHandler(GoWebScanPipeMsgPool pool, GoWebScanPipeMsgPoolDestroyFx destroy)
Sets the message destruction callback function.