Functions
Vortex Payload Feeder: an abstraction to efficiently feed content into vortex sending engine

Functions

VortexPayloadFeedervortex_payload_feeder_file (const char *path, axl_bool add_mime_head)
 Creates a feeder object connected to the file found at the path provided. More...
 
void vortex_payload_feeder_free (VortexPayloadFeeder *feeder)
 Function that signal and releases all resources associated to the feeder if the reference counting reaches 0. More...
 
axl_bool vortex_payload_feeder_is_finished (VortexPayloadFeeder *feeder)
 Allows to query the feeder if it has more content to be send. More...
 
VortexPayloadFeedervortex_payload_feeder_new (VortexPayloadFeederHandler handler, axlPointer user_data)
 Allows to create a new payload feeder object that will be defined by feeder handler provided. More...
 
axl_bool vortex_payload_feeder_pause (VortexPayloadFeeder *feeder, axl_bool close_transfer)
 Flags the feeder to be paused/cancelled as soon as possible. More...
 
axl_bool vortex_payload_feeder_ref (VortexPayloadFeeder *feeder)
 Allows to increase the reference counting associated to the payload feeder. More...
 
void vortex_payload_feeder_set_on_finished (VortexPayloadFeeder *feeder, VortexPayloadFeederFinishedHandler on_finished, axlPointer user_data)
 Allows to configure a finished handler that will be called when the feeder is done sending all its content. More...
 
void vortex_payload_feeder_status (VortexPayloadFeeder *feeder, VortexPayloadFeederStatus *status)
 Returns current status of the provided payload feeder. More...
 
void vortex_payload_feeder_unref (VortexPayloadFeeder *feeder)
 Allows to reduce a reference from the provided payload feeder. More...
 

Detailed Description