![]() |
![]() |
![]() |
![]() |
Set files as permanent (not prunable) or prunable
#include <mme/mme.h> int mme_set_files_permanent( mme_hdl_t *hdl, bool permanent, const char *fidselect );
mme
The function mme_set_files_permanent() marks specified media files as permanent (not prunable), or prunable. This feature can be used to ensure that files, such as ring tones, are never pruned from the MME's database. The default setting for files is prunable.
To mark one or more files as either permanent or prunable, call mme_set_files_permanent() with a SELECT statement to select the file or files from the library table, and the permanent argument set to “true” (permanent) or false (prunable), as required. This action sets the permanent field in the library table for the selected file or files. When the MME is pruning its database it will not remove files with the permanent field set to true.
For more information about prune management, see “Database pruning” in the chapter Configuring Device Support and Media Synchronization of the MME Configuration Guide.
None delivered.
This function doesn't block.
QNX Neutrino
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |
![]() |
![]() |
![]() |
![]() |