00001
00014
00015 #import "xml.h"
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031 typedef char * xsd__string;
00032 typedef int xsd__int;
00033 typedef time_t xsd__dateTime;
00034 typedef LONG64 xsd__long;
00035 typedef double xsd__double;
00036
00037
00038
00042 struct ns__FileTask {
00046 xsd__long id;
00050 xsd__int type;
00054 xsd__int status;
00058 xsd__double progress_percentage;
00062 xsd__int error_code;
00066 xsd__string error_string;
00070 xsd__string user_DN;
00071 };
00072
00073 struct ns__string_vector {
00074 xsd__string* __ptr;
00075 int __size;
00076 };
00077
00078 struct ns__FileTask_array {
00079 struct ns__FileTask* __ptr;
00080 int __size;
00081 };
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095 struct tns__TcpOptions
00096 {
00097 int nrStreams ;
00098 int receiveBufferSize ;
00099 int sendBufferSize ;
00100 };
00101
00102
00103
00104
00105 int tns__logDataTransfer(
00106 char* _String_USCORE1,
00107 char* _String_USCORE2,
00108 LONG64 _long_USCORE3,
00109 char* _String_USCORE4,
00110 struct tns__TcpOptions* _TcpOptions_USCORE5,
00111 time_t _Calendar_USCORE6,
00112 time_t _Calendar_USCORE7,
00113 struct tns__logDataTransferResponse {
00114 void* dump;} * out);
00115
00116
00117
00118
00119 int tns__estimateTcpOptions(
00120 char* _String_USCORE1,
00121 char* _String_USCORE2,
00122 LONG64 _long_USCORE3,
00123 char* _String_USCORE4,
00124 int _int_USCORE5,
00125 time_t _Calendar_USCORE6,
00126 struct tns__estimateTcpOptionsResponse {
00127 struct tns__TcpOptions* _result;
00128 } * out);
00129
00130
00131
00132
00133
00134
00135
00136
00137
00138
00139
00153 int ns__DATACopyFile(xsd__string source_URL,
00154 xsd__string dest_URL,
00155 int use_parallel,
00156 int no_overwrite,
00157 int maintain_permissions,
00158 xsd__string* response);
00159
00172 int ns__DATACopyFileDefaults(xsd__string source_URL,
00173 xsd__string dest_URL,
00174 xsd__string* response);
00175
00188 int ns__DATAMoveFile(xsd__string source_URL,
00189 xsd__string dest_URL,
00190 int use_parallel,
00191 int no_overwrite,
00192 int maintain_permissions,
00193 xsd__string* response);
00194
00206 int ns__DATAMoveFileDefaults(xsd__string source_URL,
00207 xsd__string dest_URL,
00208 xsd__string* response);
00209
00218 int ns__DATADeleteFileDefaults(xsd__string in_URL, xsd__string* response);
00219
00227 int ns__isAlive(int dump, int* response);
00228
00235 int ns__getServiceDescription(void* dump, xsd__string* description);
00236
00255 int ns__DATATransferFile(int operation,
00256 xsd__string source_URL,
00257 xsd__string dest_URL,
00258 int use_parallel,
00259 int no_overwrite,
00260 int maintain_permissions,
00261 xsd__string *response);
00262
00272 int ns__DATAinit_CopyFile(xsd__string source_URL, xsd__string dest_URL,
00273 int use_parallel,
00274 int no_overwrite,
00275 int maintain_permissions,
00276 struct ns__FileTask *response);
00277
00286 int ns__DATAinit_MoveFile(xsd__string source_URL, xsd__string dest_URL,
00287 int use_parallel,
00288 int no_overwrite,
00289 int maintain_permissions,
00290 struct ns__FileTask *response);
00291
00300 int ns__DATAinit_DeleteFile(xsd__string source_URL, struct ns__FileTask *response);
00301
00316 int ns__DATAinit_TransferFile(int operation,
00317 xsd__string source_URL, xsd__string dest_URL,
00318 int use_parallel,
00319 int no_overwrite,
00320 int maintain_permissions,
00321 struct ns__FileTask *response);
00322
00336 int ns__DATArestartFileTask(xsd__long id,
00337 struct ns__FileTask *response);
00338
00348 int ns__DATAgetFileTask(xsd__long id,
00349 struct ns__FileTask *response);
00350
00361 int ns__DATAwaitFileTask(xsd__long id,
00362 struct ns__FileTask *response);
00363
00374 int ns__DATAstopFileTask(xsd__long id,
00375 struct ns__FileTask *response);
00376
00389 int ns__DATAdeleteFileTask(xsd__long id,
00390 int *response);
00391
00402 int ns__DATAmultipleCopy(struct ns__string_vector in_URLs,
00403 xsd__string *response);
00404
00405
00409 struct List_response {
00413 char *retlist;
00417 char *response;
00418 };
00419
00436 int ns__DATA_FTP_List(char* in_URL, int verbose, int cached,
00437 struct List_response *resp);
00438
00446 int ns__DATAConnectedList(char* in_URL, int verbose,
00447 struct List_response *resp);
00448
00449
00457 int ns__DATA_FTP_SimpleList(char* in_URL, int cached,
00458 struct List_response *resp);
00459
00468 int ns__DATA_FTP_VerboseList(char* in_URL,
00469 int cached,
00470 struct List_response *resp);
00471
00479 int ns__DATA_FTP_MachineListDirectory(char* in_URL,
00480 int cached,
00481 struct List_response *resp);
00482
00490 int ns__DATA_FTP_MachineListFile(char* in_URL,
00491 int cached,
00492 struct List_response *resp);
00493
00494
00498 struct Directory_entry {
00502 char* name;
00506 char* Charset;
00511 char* Perm;
00515 char* Modify;
00519 long long Size;
00523 int mode;
00527 char* Type;
00528 }
00529
00533 struct Directory_entries {
00537 struct Directory_entry* __ptr;
00541 int __size;
00542 };
00543
00547 struct List_structured_response {
00551 struct Directory_entries entries;
00555 char* response;
00556 };
00557
00558 struct List_structured_file_response {
00562 struct Directory_entry file;
00566 char* response;
00567 };
00568
00582 int ns__DATA_FTP_StructuredMachineListDirectory(char* in_URL,
00583 int cached,
00584 struct List_structured_response *resp);
00585
00597 int ns__DATA_FTP_StructuredMachineListFile(char* in_URL,
00598 int cached,
00599 struct List_structured_file_response *resp);
00600
00612 int ns__DATA_FTP_Mkdir(char* in_URL, int cached, char **resp);
00613
00614
00624 int ns__DATAConnectedMkdir(char* in_URL, char **resp);
00625
00626
00627
00631 struct Time_response {
00635 long seconds;
00639 char *response;
00640 };
00641
00654 int ns__DATA_FTP_ModTime(char* in_URL, int cached, struct Time_response *resp);
00655
00666 int ns__DATAConnectedModTime(char* in_URL, struct Time_response *resp);
00667
00668
00669
00673 struct Size_response {
00677 unsigned long size;
00681 char *response;
00682 };
00683
00695 int ns__DATA_FTP_Size(char* in_URL, int cached, struct Size_response *resp);
00696
00706 int ns__DATAConnectedSize(char* in_URL, struct Size_response *resp);
00707
00716 int ns__DATA_FTP_Delete(char* in_URL,
00717 int cached,
00718 char **resp);
00719
00728 int ns__DATA_FTP_Exists(char* in_URL,
00729 int cached,
00730 char **resp);
00731
00741 int ns__DATA_FTP_Chmod(char* in_URL,
00742 int mode,
00743 int cached,
00744 char **resp);
00745
00746
00758 int ns__DATAStopCache(void* dump, char** response);