20 if ( resc_hier !=
NULL ) {
23 irods::log(
PASSMSG(
"failed in call to irods::get_host_for_hier_string", ret ) );
40 if ( remoteFlag < 0 ) {
45 "rsStructFileSync: resolveHost returned unrecognized value %d",
61 "remoteStructFileSync: Invalid rodsServerHost" );
73 "remoteStructFileSync: rcStructFileSync failed for %s, status = %d",
90 struct_obj->spec_coll( _struct_inp->
specColl );
91 struct_obj->addr( _struct_inp->
addr );
92 struct_obj->flags( _struct_inp->
flags );
93 struct_obj->comm( _comm );
94 struct_obj->opr_type( _struct_inp->
oprType );
96 struct_obj->spec_coll_type( _struct_inp->
specColl->
type );
102 struct_obj->data_type( data_type );
109 if ( !ret_err.
ok() ) {
112 return ret_err.
code();
119 ret_err = resc->call( _comm,
"sync", struct_obj );
123 if ( !ret_err.
ok() ) {
126 return ret_err.
code();
129 return ret_err.
code();