libaegis/change.h File Reference

#include <libaegis/cstate.h>
#include <libaegis/fstate.h>
#include <libaegis/pconf.h>
#include <libaegis/view_path.h>
#include <libaegis/zero.h>
#include <libaegis/user.h>

Go to the source code of this file.

Data Structures

class  change

Defines

#define THE_CONFIG_FILE_OLD   "config"
#define THE_CONFIG_FILE_NEW   "aegis.conf"
#define TRUNK_CHANGE_NUMBER   ((long)((~(unsigned long)0) >> 1))
#define TIME_NOT_SET   (time_t)0

Functions

change::pointer change_alloc (project_ty *, long)
void change_free (change::pointer)
change::pointer change_copy (change::pointer)
void change_bind_existing (change::pointer)
int change_bind_existing_errok (change::pointer)
void change_bind_new (change::pointer)
change::pointer change_bogus (project_ty *)
cstate_tychange_cstate_get (change::pointer cp)
void change_cstate_write (change::pointer)
cstate_history_tychange_history_new (change::pointer, user_ty::pointer)
string_tychange_creator_name (change::pointer)
string_tychange_developer_name (change::pointer)
string_tychange_reviewer_name (change::pointer)
string_tychange_integrator_name (change::pointer)
void change_top_path_set (change::pointer, string_ty *)
void change_top_path_set (change::pointer, const nstring &)
void change_development_directory_set (change::pointer, string_ty *)
void change_integration_directory_set (change::pointer, string_ty *)
string_tychange_top_path_get (change::pointer, int)
string_tychange_development_directory_get (change::pointer, int)
string_tychange_integration_directory_get (change::pointer, int)
string_tychange_logfile_basename (void)
string_tychange_logfile_get (change::pointer)
void change_cstate_lock_prepare (change::pointer)
void change_error (change::pointer, sub_context_ty *, const char *)
void change_fatal (change::pointer, sub_context_ty *, const char *)
void change_verbose (change::pointer, sub_context_ty *, const char *)
void change_warning (change::pointer, sub_context_ty *, const char *)
void change_warning_obsolete_field (change::pointer cp, string_ty *errpos, const char *old_field, const char *new_field)
pconf_tychange_pconf_get (change::pointer, int)
void change_run_new_file_command (change::pointer cp, string_list_ty *slp, user_ty::pointer up)
void change_run_new_file_undo_command (change::pointer cp, string_list_ty *slp, user_ty::pointer up)
void change_run_new_test_command (change::pointer cp, string_list_ty *slp, user_ty::pointer up)
void change_run_new_test_undo_command (change::pointer cp, string_list_ty *slp, user_ty::pointer up)
void change_run_copy_file_command (change::pointer cp, string_list_ty *slp, user_ty::pointer up)
void change_run_copy_file_undo_command (change::pointer cp, string_list_ty *slp, user_ty::pointer up)
void change_run_remove_file_command (change::pointer cp, string_list_ty *slp, user_ty::pointer up)
void change_run_remove_file_undo_command (change::pointer cp, string_list_ty *slp, user_ty::pointer up)
void change_run_make_transparent_command (change::pointer cp, string_list_ty *slp, user_ty::pointer up)
void change_run_make_transparent_undo_command (change::pointer cp, string_list_ty *slp, user_ty::pointer up)
int change_run_project_file_command_needed (change::pointer cp)
void change_run_project_file_command (change::pointer cp, user_ty::pointer up)
void change_run_forced_develop_begin_notify_command (change::pointer cp, user_ty::pointer up)
void change_run_develop_end_notify_command (change::pointer cp)
void change_run_develop_end_undo_notify_command (change::pointer cp)
void change_run_review_begin_notify_command (change::pointer cp)
void change_run_review_begin_undo_notify_command (change::pointer cp)
void change_run_review_pass_notify_command (change::pointer cp)
void change_run_review_pass_undo_notify_command (change::pointer cp)
void change_run_review_fail_notify_command (change::pointer cp)
void change_run_integrate_pass_notify_command (change::pointer cp)
void change_run_integrate_fail_notify_command (change::pointer cp)
void change_run_history_get_command (change::pointer cp, fstate_src_ty *src, string_ty *output_file, user_ty::pointer up)
void change_run_history_create_command (change::pointer cp, fstate_src_ty *)
void change_run_history_put_command (change::pointer cp, fstate_src_ty *)
string_tychange_run_history_query_command (change::pointer cp, fstate_src_ty *src)
void change_run_history_label_command (change::pointer cp, fstate_src_ty *, string_ty *label)
void change_run_history_transaction_begin_command (change::pointer cp)
void change_run_history_transaction_end_command (change::pointer cp)
void change_run_history_transaction_abort_command (change::pointer cp)
void change_history_trashed_fingerprints (change::pointer, string_list_ty *)
void change_run_diff_command (change::pointer cp, user_ty::pointer up, string_ty *original, string_ty *input, string_ty *output)
void change_run_diff3_command (change::pointer cp, user_ty::pointer up, string_ty *original, string_ty *most_recent, string_ty *input, string_ty *output)
void change_run_merge_command (change::pointer cp, user_ty::pointer up, string_ty *original, string_ty *most_recent, string_ty *input, string_ty *output)
void change_run_patch_diff_command (change::pointer cp, user_ty::pointer up, string_ty *original, string_ty *input, string_ty *output, string_ty *index_name)
void change_run_annotate_diff_command (change::pointer cp, user_ty::pointer up, string_ty *original, string_ty *input, string_ty *output, string_ty *index_name, const char *diff_option)
int change_has_merge_command (change::pointer)
void change_run_integrate_begin_command (change::pointer)
void change_run_integrate_begin_undo_command (change::pointer)
void change_run_develop_begin_command (change::pointer, user_ty::pointer)
void change_run_develop_begin_undo_command (change::pointer cp, user_ty::pointer up)
int change_run_test_command (change::pointer cp, user_ty::pointer up, string_ty *, string_ty *, int, int, const nstring_list &variable_assignments)
int change_run_development_test_command (change::pointer cp, user_ty::pointer up, string_ty *, string_ty *, int, int, const nstring_list &variable_assignments)
void change_run_build_command (change::pointer)
void change_run_build_time_adjust_notify_command (change::pointer)
void change_run_development_build_command (change::pointer, user_ty::pointer, string_list_ty *)
void change_run_develop_end_policy_command (change::pointer cp, user_ty::pointer up)
string_tychange_file_whiteout (change::pointer, string_ty *)
void change_file_whiteout_write (change::pointer cp, string_ty *path, user_ty::pointer up)
void change_become (change::pointer)
void change_become_undo (change::pointer cp)
void change_developer_become (change::pointer)
void change_developer_become_undo (change::pointer cp)
int change_umask (change::pointer)
void change_development_directory_clear (change::pointer)
void change_integration_directory_clear (change::pointer)
void change_architecture_clear (change::pointer)
void change_architecture_add (change::pointer, string_ty *)
void change_architecture_query (change::pointer)
string_tychange_architecture_name (change::pointer, int)
string_tychange_run_architecture_discriminator_command (change::pointer cp)
cstate_architecture_times_tychange_architecture_times_find (change::pointer, string_ty *)
void change_build_time_set (change::pointer)
void change_test_time_set (change::pointer cp, time_t when)
void change_test_time_set (change::pointer cp, string_ty *variant, time_t when)
void change_test_baseline_time_set (change::pointer cp, time_t when)
void change_test_baseline_time_set (change::pointer cp, string_ty *variant, time_t when)
void change_regression_test_time_set (change::pointer cp, time_t when, string_ty *arch_name=0)
void change_test_times_clear (change::pointer)
void change_build_times_clear (change::pointer)
void change_architecture_from_pconf (change::pointer)
const char * change_outstanding_builds (change::pointer, time_t)
const char * change_outstanding_tests (change::pointer, time_t)
const char * change_outstanding_tests_baseline (change::pointer, time_t)
const char * change_outstanding_tests_regression (change::pointer, time_t)
int change_pathconf_name_max (change::pointer)
string_tychange_filename_check (change::pointer, string_ty *)
void change_create_symlinks_to_baseline (change::pointer, user_ty::pointer, const work_area_style_ty &)
void change_maintain_symlinks_to_baseline (change::pointer cp, user_ty::pointer up, bool undoing=false)
void change_remove_symlinks_to_baseline (change::pointer, user_ty::pointer, const work_area_style_ty &)
void change_rescind_test_exemption (change::pointer)
string_tychange_cstate_filename_get (change::pointer)
string_tychange_fstate_filename_get (change::pointer cp)
string_tychange_pfstate_filename_get (change::pointer cp)
void change_rescind_test_exemption_undo (change::pointer)
void change_force_regression_test_exemption (change::pointer)
void change_force_regression_test_exemption_undo (change::pointer)
void change_check_architectures (change::pointer)
string_tychange_new_test_filename_get (change::pointer, long, int)
string_tychange_development_directory_template (change::pointer, user_ty::pointer)
string_tychange_metrics_filename_pattern_get (change::pointer)
bool change_is_awaiting_development (change::pointer cp)
int change_is_being_developed (change::pointer cp)
bool change_is_being_integrated (change::pointer cp)
int change_is_completed (change::pointer cp)
long change_delta_number_get (change::pointer)
string_tychange_brief_description_get (change::pointer)
void change_uuid_set (change::pointer cp)
void change_uuid_clear (change::pointer cp)
void change_reviewer_list (change::pointer cp, string_list_ty &result)
bool change_reviewer_already (change::pointer cp, string_ty *login)
bool change_reviewer_already (change::pointer cp, const nstring &login)
time_t change_when_get (change::pointer cp, cstate_history_what_ty what)
bool change_diff_required (change::pointer cp)
bool change_build_required (change::pointer cp, bool conf_exists=true)


Define Documentation

#define THE_CONFIG_FILE_NEW   "aegis.conf"

Definition at line 37 of file change.h.

#define THE_CONFIG_FILE_OLD   "config"

Definition at line 36 of file change.h.

#define TIME_NOT_SET   (time_t)0

Definition at line 47 of file change.h.

#define TRUNK_CHANGE_NUMBER   ((long)((~(unsigned long)0) >> 1))

Definition at line 45 of file change.h.


Function Documentation

change::pointer change_alloc ( project_ty ,
long   
)

void change_architecture_add ( change::pointer  ,
string_ty  
)

void change_architecture_clear ( change::pointer   ) 

void change_architecture_from_pconf ( change::pointer   ) 

string_ty* change_architecture_name ( change::pointer  ,
int   
)

void change_architecture_query ( change::pointer   ) 

cstate_architecture_times_ty* change_architecture_times_find ( change::pointer  ,
string_ty  
)

void change_become ( change::pointer   ) 

void change_become_undo ( change::pointer  cp  ) 

void change_bind_existing ( change::pointer   ) 

int change_bind_existing_errok ( change::pointer   ) 

void change_bind_new ( change::pointer   ) 

change::pointer change_bogus ( project_ty  ) 

string_ty* change_brief_description_get ( change::pointer   ) 

The change_brief_description_get function may be used to get the brief_descriotion field of the change attributes.

bool change_build_required ( change::pointer  cp,
bool  conf_exists = true 
)

The change_build_required function is used to see of the project (and this specific change set) need the build command to be run.

Parameters:
cp The change in question.
conf_exists true if the project configuration file must exist (causing fatal error if it does not), or false if it doesn't matter.
Returns:
bool; true if build command needs to be run, false if not.

void change_build_time_set ( change::pointer   ) 

void change_build_times_clear ( change::pointer   ) 

void change_check_architectures ( change::pointer   ) 

change::pointer change_copy ( change::pointer   ) 

void change_create_symlinks_to_baseline ( change::pointer  ,
user_ty::pointer  ,
const work_area_style_ty  
)

string_ty* change_creator_name ( change::pointer   ) 

string_ty* change_cstate_filename_get ( change::pointer   ) 

cstate_ty* change_cstate_get ( change::pointer  cp  )  [inline]

Definition at line 509 of file change.h.

void change_cstate_lock_prepare ( change::pointer   ) 

void change_cstate_write ( change::pointer   ) 

long change_delta_number_get ( change::pointer   ) 

The change_delta_number_get function is used to get the delta number of a change, or zero if the change is not yet completed.

void change_developer_become ( change::pointer   ) 

void change_developer_become_undo ( change::pointer  cp  ) 

string_ty* change_developer_name ( change::pointer   ) 

void change_development_directory_clear ( change::pointer   ) 

string_ty* change_development_directory_get ( change::pointer  ,
int   
)

void change_development_directory_set ( change::pointer  ,
string_ty  
)

string_ty* change_development_directory_template ( change::pointer  ,
user_ty::pointer   
)

bool change_diff_required ( change::pointer  cp  ) 

The change_diff_required function is used to see of the project (and this specific change set) need the diff command to be run.

Parameters:
cp The change in question.
Returns:
bool; true if diff command needs to be run, false if not.

void change_error ( change::pointer  ,
sub_context_ty ,
const char *   
)

void change_fatal ( change::pointer  ,
sub_context_ty ,
const char *   
)

string_ty* change_file_whiteout ( change::pointer  ,
string_ty  
)

void change_file_whiteout_write ( change::pointer  cp,
string_ty path,
user_ty::pointer  up 
)

string_ty* change_filename_check ( change::pointer  ,
string_ty  
)

void change_force_regression_test_exemption ( change::pointer   ) 

void change_force_regression_test_exemption_undo ( change::pointer   ) 

void change_free ( change::pointer   ) 

string_ty* change_fstate_filename_get ( change::pointer  cp  ) 

The change_fstate_filename_get function is used to obtain the absolute path of the file which holds the change's file state.

Parameters:
cp The change being operated on.
Returns:
a string. DO NOT str_free it when you are done with it, it is cached.

int change_has_merge_command ( change::pointer   ) 

cstate_history_ty* change_history_new ( change::pointer  ,
user_ty::pointer   
)

void change_history_trashed_fingerprints ( change::pointer  ,
string_list_ty  
)

void change_integration_directory_clear ( change::pointer   ) 

string_ty* change_integration_directory_get ( change::pointer  ,
int   
)

void change_integration_directory_set ( change::pointer  ,
string_ty  
)

string_ty* change_integrator_name ( change::pointer   ) 

bool change_is_awaiting_development ( change::pointer  cp  )  [inline]

The change_is_awaiting_development function returns true if the given change is in the awaiting development state, and false if it is not.

Definition at line 907 of file change.h.

int change_is_being_developed ( change::pointer  cp  )  [inline]

The change_is_being_developed function returns true (non-zero) if the given change is in the being developed state, and false (zero) if it is not.

Definition at line 918 of file change.h.

bool change_is_being_integrated ( change::pointer  cp  )  [inline]

The change_is_being_integrated function is used to determine whether or not a change is in the being integrated state.

Parameters:
cp The change in question.
Returns:
bool; true if the given change is in the being integarted state, and false if it is not.

Definition at line 934 of file change.h.

int change_is_completed ( change::pointer  cp  )  [inline]

The change_is_completed function returns true (non-zero) if the given change is in the completed state, and false (zero) if it is not.

Definition at line 944 of file change.h.

string_ty* change_logfile_basename ( void   ) 

string_ty* change_logfile_get ( change::pointer   ) 

void change_maintain_symlinks_to_baseline ( change::pointer  cp,
user_ty::pointer  up,
bool  undoing = false 
)

The change_maintain_symlinks_to_baseline is used to repair the symbolic links (etc) as dictated by the development_directory_style field of the project configuration file.

The "symlink" in the name is an historical accident, it also maintains the hard links and copies as well.

Parameters:
cp The change to operatte on
up The user to operate as
undoing True if this call is in response to and undo operation (aecpu, aemtu) because they need special attention for file time stamps. Defaults to false if not specified.
Note:
This function is NOT to be called by aeb, because it needs different logic.

This function may only be called when the change is in the "being developed" state.

string_ty* change_metrics_filename_pattern_get ( change::pointer   ) 

string_ty* change_new_test_filename_get ( change::pointer  ,
long  ,
int   
)

const char* change_outstanding_builds ( change::pointer  ,
time_t   
)

const char* change_outstanding_tests ( change::pointer  ,
time_t   
)

const char* change_outstanding_tests_baseline ( change::pointer  ,
time_t   
)

const char* change_outstanding_tests_regression ( change::pointer  ,
time_t   
)

int change_pathconf_name_max ( change::pointer   ) 

pconf_ty* change_pconf_get ( change::pointer  ,
int   
)

string_ty* change_pfstate_filename_get ( change::pointer  cp  ) 

The change_pfstate_filename_get function is used to obtain the absolute path of the file which holds the delta's cache of the project file state.

Parameters:
cp The change being operated on.
Returns:
a string. DO NOT str_free it when you are done with it, it is cached.

void change_regression_test_time_set ( change::pointer  cp,
time_t  when,
string_ty arch_name = 0 
)

The change_regression_test_time_set function is used to set (or clear) the regression test time stamp of the chanegh set.

Parameters:
cp The change set in question.
when The time the test was performed, or zero to clear the time.
arch_name The name of the architecture, or the NULL pointer to mean "the current one".

void change_remove_symlinks_to_baseline ( change::pointer  ,
user_ty::pointer  ,
const work_area_style_ty  
)

void change_rescind_test_exemption ( change::pointer   ) 

void change_rescind_test_exemption_undo ( change::pointer   ) 

bool change_reviewer_already ( change::pointer  cp,
const nstring login 
)

The change_reviewer_already function is used to determine if a user has already reviewed a change, since the last develop end.

Parameters:
cp The change to be consulted.
login The login name of the user in question.
Returns:
bool; true if the user has reviewed already, false if not.

bool change_reviewer_already ( change::pointer  cp,
string_ty login 
)

The change_reviewer_already function is used to determine if a user has already reviewed a change, since the last develop end.

Parameters:
cp The change to be consulted.
login The login name of the user in question.
Returns:
bool; true if the user has reviewed already, false if not.

void change_reviewer_list ( change::pointer  cp,
string_list_ty result 
)

The change_reviewer_list function is used to get the list of reviewers since the last develop_end. There can be more than one if the review_policy_command filed of the project configuration is being used.

Parameters:
cp The change to be consulted.
result where to put the answers.

string_ty* change_reviewer_name ( change::pointer   ) 

void change_run_annotate_diff_command ( change::pointer  cp,
user_ty::pointer  up,
string_ty original,
string_ty input,
string_ty output,
string_ty index_name,
const char *  diff_option 
)

string_ty* change_run_architecture_discriminator_command ( change::pointer  cp  ) 

void change_run_build_command ( change::pointer   ) 

void change_run_build_time_adjust_notify_command ( change::pointer   ) 

void change_run_copy_file_command ( change::pointer  cp,
string_list_ty slp,
user_ty::pointer  up 
)

void change_run_copy_file_undo_command ( change::pointer  cp,
string_list_ty slp,
user_ty::pointer  up 
)

void change_run_develop_begin_command ( change::pointer  ,
user_ty::pointer   
)

void change_run_develop_begin_undo_command ( change::pointer  cp,
user_ty::pointer  up 
)

void change_run_develop_end_notify_command ( change::pointer  cp  ) 

void change_run_develop_end_policy_command ( change::pointer  cp,
user_ty::pointer  up 
)

The change_run_develop_end_policy_command function is used to run the develop_end_policy_command specified in the project configuration file.

Parameters:
cp The change in question.
up The developer of the change.
Note:
This function does not return if the command exits with a non-zero exit status.

void change_run_develop_end_undo_notify_command ( change::pointer  cp  ) 

void change_run_development_build_command ( change::pointer  ,
user_ty::pointer  ,
string_list_ty  
)

int change_run_development_test_command ( change::pointer  cp,
user_ty::pointer  up,
string_ty ,
string_ty ,
int  ,
int  ,
const nstring_list variable_assignments 
)

void change_run_diff3_command ( change::pointer  cp,
user_ty::pointer  up,
string_ty original,
string_ty most_recent,
string_ty input,
string_ty output 
)

void change_run_diff_command ( change::pointer  cp,
user_ty::pointer  up,
string_ty original,
string_ty input,
string_ty output 
)

void change_run_forced_develop_begin_notify_command ( change::pointer  cp,
user_ty::pointer  up 
)

void change_run_history_create_command ( change::pointer  cp,
fstate_src_ty  
)

void change_run_history_get_command ( change::pointer  cp,
fstate_src_ty src,
string_ty output_file,
user_ty::pointer  up 
)

void change_run_history_label_command ( change::pointer  cp,
fstate_src_ty ,
string_ty label 
)

void change_run_history_put_command ( change::pointer  cp,
fstate_src_ty  
)

string_ty* change_run_history_query_command ( change::pointer  cp,
fstate_src_ty src 
)

The change_run_history_query_command function is used to obtain the head revision number of the history of the given source file.

Parameters:
cp The change to operate within.
src The source file meta-data of the file of interest.
Returns:
Pointer to string containing the version. Use str_free() when you are done with it.

void change_run_history_transaction_abort_command ( change::pointer  cp  ) 

The change_run_history_transaction_abort_command function is used to run the history_transaction_abort_command in the project configuration file. This is used by the aeipass(1) command if a history transaction needs to be aborted.

Parameters:
cp The change to operate within.

void change_run_history_transaction_begin_command ( change::pointer  cp  ) 

The change_run_history_transaction_begin_command function is used to run the history_transaction_begin_command in the project configuration file. This is used by the aeipass(1) command before any history put or create commands.

Parameters:
cp The change to operate within.

void change_run_history_transaction_end_command ( change::pointer  cp  ) 

The change_run_history_transaction_end_command function is used to run the history_transaction_end_command in the project configuration file. This is used by the aeipass(1) command after any history put or create commands.

Parameters:
cp The change to operate within.

void change_run_integrate_begin_command ( change::pointer   ) 

void change_run_integrate_begin_undo_command ( change::pointer   ) 

void change_run_integrate_fail_notify_command ( change::pointer  cp  ) 

void change_run_integrate_pass_notify_command ( change::pointer  cp  ) 

void change_run_make_transparent_command ( change::pointer  cp,
string_list_ty slp,
user_ty::pointer  up 
)

void change_run_make_transparent_undo_command ( change::pointer  cp,
string_list_ty slp,
user_ty::pointer  up 
)

void change_run_merge_command ( change::pointer  cp,
user_ty::pointer  up,
string_ty original,
string_ty most_recent,
string_ty input,
string_ty output 
)

void change_run_new_file_command ( change::pointer  cp,
string_list_ty slp,
user_ty::pointer  up 
)

void change_run_new_file_undo_command ( change::pointer  cp,
string_list_ty slp,
user_ty::pointer  up 
)

void change_run_new_test_command ( change::pointer  cp,
string_list_ty slp,
user_ty::pointer  up 
)

void change_run_new_test_undo_command ( change::pointer  cp,
string_list_ty slp,
user_ty::pointer  up 
)

void change_run_patch_diff_command ( change::pointer  cp,
user_ty::pointer  up,
string_ty original,
string_ty input,
string_ty output,
string_ty index_name 
)

void change_run_project_file_command ( change::pointer  cp,
user_ty::pointer  up 
)

int change_run_project_file_command_needed ( change::pointer  cp  ) 

void change_run_remove_file_command ( change::pointer  cp,
string_list_ty slp,
user_ty::pointer  up 
)

void change_run_remove_file_undo_command ( change::pointer  cp,
string_list_ty slp,
user_ty::pointer  up 
)

void change_run_review_begin_notify_command ( change::pointer  cp  ) 

void change_run_review_begin_undo_notify_command ( change::pointer  cp  ) 

void change_run_review_fail_notify_command ( change::pointer  cp  ) 

void change_run_review_pass_notify_command ( change::pointer  cp  ) 

void change_run_review_pass_undo_notify_command ( change::pointer  cp  ) 

int change_run_test_command ( change::pointer  cp,
user_ty::pointer  up,
string_ty ,
string_ty ,
int  ,
int  ,
const nstring_list variable_assignments 
)

void change_test_baseline_time_set ( change::pointer  cp,
string_ty variant,
time_t  when 
)

The change_test_baseline_time_set function is used to set the test time for a change, for the given architecture variant.

Parameters:
cp The change in question.
variant The name of the architecture of interest.
when The time the test was performed.

void change_test_baseline_time_set ( change::pointer  cp,
time_t  when 
)

The change_test_baseline_time_set function is used to set the baseline test time for a change. The architecture of the currently executing session is used.

Parameters:
cp The change in question.
when The time the test was performed.

void change_test_time_set ( change::pointer  cp,
string_ty variant,
time_t  when 
)

The change_test_time_set function is used to set the test time for a change, for the given architecture variant.

Parameters:
cp The change in question.
variant The name of the architecture of interest.
when The time the test was performed.

void change_test_time_set ( change::pointer  cp,
time_t  when 
)

The change_test_time_set function is used to set the test time for a change. The architecture of the currently executing session is used.

Parameters:
cp The change in question.
when The time the test was performed.

void change_test_times_clear ( change::pointer   ) 

string_ty* change_top_path_get ( change::pointer  ,
int   
)

void change_top_path_set ( change::pointer  ,
const nstring  
)

void change_top_path_set ( change::pointer  ,
string_ty  
)

int change_umask ( change::pointer   ) 

void change_uuid_clear ( change::pointer  cp  ) 

The change_uuid_clear function is used to clear a change's UUID, if it has been set in the past.

void change_uuid_set ( change::pointer  cp  ) 

The change_uuid_set function is used to set a change's UUID, if it has not been set already.

void change_verbose ( change::pointer  ,
sub_context_ty ,
const char *   
)

void change_warning ( change::pointer  ,
sub_context_ty ,
const char *   
)

The change_warning function is used to issue a warning message specific to a change. The message will be substituted accouring to aesub(5) and any additional substitutions provided in the substitution context.

void change_warning_obsolete_field ( change::pointer  cp,
string_ty errpos,
const char *  old_field,
const char *  new_field 
)

The change_warning_obsolete_field function is used to warn about the use of obsolete fields (in user suppied files, Aegis will take care of quietly cleaning up the meta-data files all by itself).

time_t change_when_get ( change::pointer  cp,
cstate_history_what_ty  what 
)

The change_when_get function is used to obtain the last (most recent) time for the given state transition.

Parameters:
cp The change in qiestion.
what The state transition to look for.
Returns:
time_t; the time of the event, or 0 if not found.


Generated on Wed Mar 12 23:37:36 2008 for Aegis by  doxygen 1.5.5