GPAK  1.0.0
A general-purpose archive library

◆ gpak_set_user_data()

GPAK_API void gpak_set_user_data ( gpak_t _pak,
void *  _user_data 
)
Brief Description:\n Sets user data for a G-PAK archive.

This function associates user-defined data with the specified G-PAK archive.

Parameters
_pakA pointer to the gpak_t.
_user_dataA pointer to the user-defined data.

Definition at line 323 of file gpak.c.

324 {
325  _pak->user_data_ = _user_data;
326 }
void * user_data_
Definition: gpak_data.h:266

References gpak::user_data_.