60 std::vector<resource_group_t>
groups;
88 std::vector< std::pair<time_t, std::string> > versions;
99 extern int scpm_journal_abort_steps;
111 const int scpm_flag_read_only = 1024;
112 const int scpm_flag_wait_commit = 2048;
std::string name
String containg the resource name.
Definition: scpm_types.h:85
bool user_defined
Is true for user defined resource groups.
Definition: scpm_types.h:41
std::string profile_name
Contains the profile name.
Definition: scpm_types.h:65
std::string active_profile
active profile
Definition: scpm_types.h:77
variable type for profile switch information
Definition: scpm_types.h:63
std::string name
String containing the resource name.
Definition: scpm_types.h:47
save_mode_t save_mode
defines save mode for the resource
Definition: scpm_types.h:59
bool db_loaded
SCDB loaded
Definition: scpm_types.h:72
const int scpm_flag_hash
print progress bar when useful (using hash marks)
Definition: scpm_types.h:105
std::string scpm_version
version of the SCPM subsystem
Definition: scpm_types.h:78
const int scpm_flag_skip_load
skip loading of database
Definition: scpm_types.h:109
std::string db_format
SCDB format
Definition: scpm_types.h:80
bool active
Is true in case the group is active.
Definition: scpm_types.h:43
bool user_modified
Is true for user modified.
Definition: scpm_types.h:42
const int scpm_flag_verbose
tell what's going on
Definition: scpm_types.h:104
const int scpm_flag_debug
log debug messages
Definition: scpm_types.h:106
std::string resource_name
string contain resource name
Definition: scpm_types.h:54
const int scpm_flag_force
force flag (deletes/overwrites silently data)
Definition: scpm_types.h:101
const int scpm_flag_exit_on_warning
abort even on warnings
Definition: scpm_types.h:108
bool enabled
SCPM enabled
Definition: scpm_types.h:71
std::string description
String describing the resource group.
Definition: scpm_types.h:40
const int scpm_flag_quiet
no user output
Definition: scpm_types.h:103
variable type for resource information
Definition: scpm_types.h:53
bool is_deleted
resource new flag
Definition: scpm_types.h:57
Variable type to represent a resource entry of a resource group.
Definition: scpm_types.h:46
std::string name
String containing the resource group name.
Definition: scpm_types.h:39
bool initialized
SCPM initialized
Definition: scpm_types.h:70
transport container for SCPM status information
Definition: scpm_types.h:69
char * scpm_error
Contains last error.
std::string db_format_version
SCDB format version
Definition: scpm_types.h:81
Variable type to represent a resource group.
Definition: scpm_types.h:38
bool db_uptodate
SCDB up to date
Definition: scpm_types.h:73
Rebuilds only data part of scdb (not yet supported)
Definition: scpm_types.h:94
bool is_new
resource new flag
Definition: scpm_types.h:56
std::vector< resource_info_t > modified_resources
Vector containing resource descriptions of modified resources.
Definition: scpm_types.h:66
save_mode_t
Enum varaible type.
Definition: scpm_types.h:32
std::string type
String containg the resource type.
Definition: scpm_types.h:86
bool user_defined
Bool indicating whether the resource is user defined.
Definition: scpm_types.h:50
std::vector< resource_group_t > groups
holds the names of the resource groups the resource belongs to
Definition: scpm_types.h:60
Removes obsolete resources and adds new ones.
Definition: scpm_types.h:92
const int scpm_flag_skip
skip flag (silently drops changes in profiles)
Definition: scpm_types.h:102
bool profile_modified
profile modified flag
Definition: scpm_types.h:64
Rebuilds only resources part of scdb.
Definition: scpm_types.h:93
bool active
Bool indicating whether the resource is active.
Definition: scpm_types.h:49
std::string resource_type
string contain resource type
Definition: scpm_types.h:55
Helpers struct for backup funtions.
Definition: scpm_types.h:84
const int scpm_flag_force_db
force loading of database even when versions do not match
Definition: scpm_types.h:110
rebuild_mode_t
Rebuild mode enum.
Definition: scpm_types.h:91
Totally rebuilds scdb (not yet supported)
Definition: scpm_types.h:95
bool save
resource to save flag
Definition: scpm_types.h:58
const int scpm_flag_boot
boot mode (does not call resource actions)
Definition: scpm_types.h:107
std::string db_version
SCDB version
Definition: scpm_types.h:79
std::string type
String containing the resource type.
Definition: scpm_types.h:48