Pepper_47_C_interfaces
Public Attributes | List of all members
PPP_PexeStreamHandler_1_0 Struct Reference

#include <ppp_pexe_stream_handler.h>

Collaboration diagram for PPP_PexeStreamHandler_1_0:
Collaboration graph

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)
 

Detailed Description

Definition at line 31 of file ppp_pexe_stream_handler.h.

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.

Definition at line 35 of file ppp_pexe_stream_handler.h.

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.

Definition at line 40 of file ppp_pexe_stream_handler.h.

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.

Definition at line 52 of file ppp_pexe_stream_handler.h.

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().

Definition at line 47 of file ppp_pexe_stream_handler.h.


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