Pepper_56_C_interfaces
Pepper_56_C_interfaces
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
PPP_PexeStreamHandler_1_0 Struct Reference

Public Attributes

void(* DidCacheHit )(void *user_data, PP_FileHandle nexe_file_handle)
 
void(* DidCacheMiss )(void *user_data, int64_t expected_total_length, PP_FileHandle temp_nexe_file)
 
void(* DidStreamData )(void *user_data, const void *data, int32_t length)
 
void(* DidFinishStream )(void *user_data, int32_t pp_error)
 

Member Data Documentation

void(* PPP_PexeStreamHandler_1_0::DidCacheHit)(void *user_data, PP_FileHandle nexe_file_handle)

Invoked as a result of a cache hit for a translated pexe.

void(* PPP_PexeStreamHandler_1_0::DidCacheMiss)(void *user_data, int64_t expected_total_length, PP_FileHandle temp_nexe_file)

Invoked as a result of a cache miss for a translated pexe. Provides the expected length of the pexe, as read from HTTP headers.

void(* PPP_PexeStreamHandler_1_0::DidFinishStream)(void *user_data, int32_t pp_error)

Invoked when the stream has finished downloading, regardless of whether it succeeded. Not invoked if DidCacheHit() was called.

void(* PPP_PexeStreamHandler_1_0::DidStreamData)(void *user_data, const void *data, int32_t length)

Invoked when a block of data has been downloaded. Only invoked after DidCacheMiss().


The documentation for this struct was generated from the following file: