prg_profile_lib_open()
Abstract
Opens a public profile library.
Syntax
prg_profile_lib_open (lib_name, options)
| Argument | Type | Description |
|---|---|---|
lib_name |
const char * |
Model name of the profile library. |
options |
int |
Integer containing flags indicating how to open the profile library (see Details). |
Return Type
PrgT_Profile_Lib_Handle
Handle to the profile library opened.
Header
prg_profile_funcs.h
Details
This function allocates memory for a profile library and reads it in from storage. Use prg_profile_lib_close() when the profile library is no longer needed.
Only one option is available: PRGC_PROFILE_LIB_OPT_ALLOW_MODS indicates that the profile library should be opened in read/write mode. If this option is not set, the profile library is opened read-only.