ITK Function Reference

(V10000.1.0.60_20160308.00)
auditmgr.h
Go to the documentation of this file.
1 /*==============================================================================
2  Copyright (c) 2003-2005 UGS Corporation
3  Unpublished - All Rights Reserved
4  ==============================================================================*/
5 
13 /* */
14 
15 #ifndef AUDITMGR_H
16 #define AUDITMGR_H
17 
18 #include <qry/qry.h>
19 #include <tc/tc_startup.h>
20 #include <stdarg.h>
21 #include <ss/ss_const.h>
22 #include <sa/libsa_exports.h>
23 
30 #define AUDITDEF_class_name_c "AuditDefinition"
31 
32 #ifdef __cplusplus
33  extern "C"{
34 #endif
35 
39 extern SA_API int AUDITMGR__init_classes();
40 
44 extern SA_API int AUDITMGR_create_audit_definition (
45  tag_t objectType,
46  tag_t eventType,
47  int propCount,
50  char** propertiesNames,
51  int maxDaysKept,
54  tag_t archiveMedia,
57  tag_t userDefinedLogHandler,
58  tag_t* auditDefTag
59  );
60 
64 extern SA_API int AUDITMGR_find_audit_definition (
65  tag_t objectType,
66  tag_t eventType,
67  int* nFound,
68  tag_t** auditDefTags
69  );
70 
74 extern SA_API int AUDITMGR_get_storage_type (
75  tag_t auditDefTag,
76  int* storageType
81  );
82 
93 extern SA_API int AUDITMGR_set_storage_type (
94  tag_t auditDefTag,
95  int storageType
98  );
99 
100 extern SA_API int AUDITMGR_get_object_type (
101  tag_t auditDefTag,
102  tag_t* objectType
103  );
104 
105 extern SA_API int AUDITMGR_get_event_type (
106  tag_t auditDefTag,
107  tag_t* eventType
108  );
109 
110 extern SA_API int AUDITMGR_get_audit_properties (
111  tag_t auditDefTag,
112  int* propCount,
113  char*** propertiesNames
114  );
115 
116 extern SA_API int AUDITMGR_get_max_days_kept (
117  tag_t auditDefTag,
118  int* daysCount
119  );
120 
121 extern SA_API int AUDITMGR_get_archive_media (
122  tag_t auditDefTag,
123  tag_t* archiveMedia
124  );
125 
126 extern SA_API int AUDITMGR_get_log_handler (
127  tag_t auditDefTag,
128  tag_t* logHandler
129  );
130 
131 extern SA_API int AUDITMGR_remove_audit_properties (
132  tag_t auditDefTag,
133  int propCount,
134  char** propsNames
135  );
136 
137 extern SA_API int AUDITMGR_add_audit_properties (
138  tag_t auditDefTag,
139  int propCount,
140  char** propertiesNames
141  );
142 
143 extern SA_API int AUDITMGR_set_max_days_kept (
144  tag_t auditDefTag,
145  int daysCount
146  );
147 
148 extern SA_API int AUDITMGR_set_archive_media (
149  tag_t auditDefTag,
150  tag_t archiveMedia
151  );
152 
153 extern SA_API int AUDITMGR_set_log_handler (
154  tag_t auditDefTag,
155  tag_t logHandler
156  );
157 
158 extern SA_API int AUDITMGR_get_auditable_types (
159  int* count,
160  tag_t** tags
161  );
162 
163 extern SA_API int AUDITMGR_get_auditable_type_names (
164  int* count,
165  char*** typeNames
166  );
167 
170 #ifdef __cplusplus
171 }
172 #endif
173 
174 #include <sa/libsa_undef.h>
175 
176 #endif