kinetic-c  v0.12.0
Seagate Kinetic Protocol Client Library for C
Functions
kinetic_allocator.c File Reference
#include "kinetic_allocator.h"
#include "kinetic_logger.h"
#include "kinetic_memory.h"
#include "kinetic_resourcewaiter.h"
#include "kinetic_resourcewaiter_types.h"
#include <stdlib.h>
#include <pthread.h>

Go to the source code of this file.

Functions

KineticSession * KineticAllocator_NewSession (struct bus *b, KineticSessionConfig *config)
 
void KineticAllocator_FreeSession (KineticSession *session)
 
KineticResponseKineticAllocator_NewKineticResponse (size_t const valueLength)
 
void KineticAllocator_FreeKineticResponse (KineticResponse *response)
 
KineticOperation * KineticAllocator_NewOperation (KineticSession *const session)
 
void KineticAllocator_FreeOperation (KineticOperation *operation)
 
void KineticAllocator_FreeP2PProtobuf (Com__Seagate__Kinetic__Proto__Command__P2POperation *proto_p2pOp)
 

Function Documentation

KineticSession* KineticAllocator_NewSession ( struct bus b,
KineticSessionConfig config 
)
void KineticAllocator_FreeSession ( KineticSession *  session)

Definition at line 54 of file kinetic_allocator.c.

References KineticFree(), and KineticResourceWaiter_Destroy().

KineticResponse* KineticAllocator_NewKineticResponse ( size_t const  valueLength)

Definition at line 62 of file kinetic_allocator.c.

References KineticCalloc(), and LOG0.

void KineticAllocator_FreeKineticResponse ( KineticResponse response)
KineticOperation* KineticAllocator_NewOperation ( KineticSession *const  session)
void KineticAllocator_FreeOperation ( KineticOperation *  operation)
void KineticAllocator_FreeP2PProtobuf ( Com__Seagate__Kinetic__Proto__Command__P2POperation *  proto_p2pOp)

Definition at line 123 of file kinetic_allocator.c.

References KineticAllocator_FreeP2PProtobuf().