GPAK  1.0.0
A general-purpose archive library

◆ gpak_set_process_handler()

GPAK_API void gpak_set_process_handler ( gpak_t _pak,
gpak_progress_handler_t  _progress_handler 
)
Brief Description:\n Sets a progress handler for a G-PAK archive.

This function sets a callback function to handle progress updates during G-PAK operations.

Parameters
_pakA pointer to the gpak_t.
_progress_handlerA callback function for handling progress updates.

Definition at line 333 of file gpak.c.

334 {
335  _pak->progress_handler_ = _progress_handler;
336 }
gpak_progress_handler_t progress_handler_
Definition: gpak_data.h:265

References gpak::progress_handler_.