ITK Function Reference

(V10000.1.0.60_20160308.00)
gms_publication.h
Go to the documentation of this file.
1 
2 /*==================================================================================================
3 
4  Copyright (c) 2004,2007 Electronic Data Systems Corporation
5  Unpublished - All rights reserved
6 
7 ====================================================================================================
8 File description: gms_itk.h
9 
10  This file contains the Global Multisite Distribution ITK interface
11  prototypes and typedefs for the ITK interface
12 
13 ====================================================================================================
14  Date Name Description of Change
15 08-Nov-2006 Yatish Patel initial
16 $HISTORY$
17 ==================================================================================================*/
18 
19 #ifndef GMS_PUBLICATION_ITK_HHH
20 #define GMS_PUBLICATION_ITK_HHH
21 
22 /* including without module in case these get published */
23 #include <tc/tc_startup.h>
24 #include <tccore/aom.h>
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
30 #include <publication/libpublication_exports.h>
31 
42 extern PUBLICATION_API int GMS_request_remote_export (
43  int n_items,
44  tag_t * objects,
46  int n_sites,
48  tag_t * target_sites,
50  char * reason,
51  tag_t option_set,
52  int n_options,
53  char ** option_names,
62  char ** option_values,
64  int n_session_options,
65  char ** session_option_names,
76  char ** session_option_values,
78  int priority,
85  logical email_notification,
86  int n_email_addrs,
88  char ** email_addrs,
90  int * n_msg_ids,
91  char *** msg_ids
93  );
94 
113 extern PUBLICATION_API int GMS_request_remote_import
114  ( int n_items, /* <I> */
115  tag_t * n_objects, /* <I> n_objects */
116  int * owning_site_ids, /* <I> n_objects */
117  char * reason, /* <I> */
118  tag_t option_set_tag, /* <I> */
119  int n_options, /* <I> */
120  char ** option_names, /* <I> n_options */
121  char ** option_values, /* <I> n_options */
122  int n_session_options, /* <I> */
123  char ** session_option_names, /* <I> n_session_options */
124  char ** session_option_values, /* <I> n_session_options */
125  int priority, /* <I> */
126  logical email_notification, /* <I> */
127  int n_email_addrs, /* <I> */
128  char ** email_addrs, /* <I> n_email_addrs */
129  int * n_msg_ids, /* <O> */
130  char *** msg_id /* <OF> n_msg_ids */
131  );
132 
133 extern PUBLICATION_API int GMS_check_replica_sync_state
134  ( int n_items, /* <I> */
135  tag_t * n_objects, /* <I> n_objects */
136  AOM_sync_type_t sync_type, /* <I> */
137  AOM_sync_state_t ** sync_state, /* <OF> n_objects */
138  int ** ifails /* <OF> n_objects */
139  );
140 
141 extern PUBLICATION_API int GMS_send_replica_deletion_notification(
142  tag_t owning_site, /* <I> */
143  int n_replicaGSIdentityStrings, /* <I> n_replicaGSIdentityStrings */
144  char** replicaGSIdentityStrings, /* <I> replicaGSIdentityStrings */
145  int n_stubGSIdentityStrings, /* <I> n_stubGSIdentityStrings */
146  char** stubGSIdentityStrings /* <I> stubGSIdentityStrings */
147 );
148 
149 
168 extern PUBLICATION_API int GMS_request_import_from_offline_package
169  (
170  const char * offline_package_file_path, /* <I> */
171  tag_t option_set_tag, /* <I> */
172  int n_options, /* <I> */
173  const char ** option_names, /* <I> */
174  const char ** option_values, /* <I> */
175  int n_session_options, /* <I> */
176  const char ** session_option_names, /* <I> */
177  const char ** session_option_values, /* <I> */
178  int priority, /* <I> */
179  logical email_notification, /* <I> */
180  int n_email_addrs, /* <I> */
181  const char ** email_addrs, /* <I> */
182  char ** msg_id /* <OF>*/
183  );
184 
185 /*
186 For Transfer of Ownership in GMS environment
187 @deprecated This function is deprecated, it will be renamed to GMS_request_ownership_transfer_using_date_range
188 */
189 extern PUBLICATION_API int GMS_request_ownership_transfer (
190  tag_t changeOwnershipToSite, /* <I> */
191  logical dryrun, /* <I> */
192  logical isSourceSiteExtinct, /* <I> */
193  logical email_notification, /* <I> */
194  int n_email_addrs, /* <I> */
195  char ** email_addrs, /* <I> */
196  char ** msg_id /* <OF>*/
197  );
198 
199 
200 /*
201 For Transfer of Ownership in GMS environment
202 */
203 extern PUBLICATION_API int GMS_request_ownership_transfer_using_date_range (
204  tag_t changeOwnershipToSite, /* <I> */
205  logical dryrun, /* <I> */
206  logical isSourceSiteExtinct, /* <I> */
207  logical email_notification, /* <I> */
208  int n_email_addrs, /* <I> */
209  char ** email_addrs, /* <I> */
210  const char *startDate, /* <I> */
211  const char *endDate, /* <I> */
212  char ** msg_id /* <OF>*/
213  );
214 
215 #ifdef __cplusplus
216 }
217 #endif
218 
219 #include <publication/libpublication_undef.h>
220 #endif
221