irods  4.2.8
About: iRODS (the integrated Rule Oriented Data System) is a distributed data-management system for creating data grids, digital libraries, persistent archives, and real-time data systems.
  Fossies Dox: irods-4.2.8.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

parseCommandLine.h
Go to the documentation of this file.
1 
4 /* definitions for parseCommandLine routine */
5 
6 #ifndef RODS_PARSE_COMMAND_LINE_H__
7 #define RODS_PARSE_COMMAND_LINE_H__
8 
9 #include "rodsType.h"
10 
11 #define True 1
12 #define False 0
13 
14 typedef struct {
15  int add; // JMC - backport 4643
16  int age;
17  int agevalue;
18  int all;
20  int admin;
21  int agginfo;
22  int ascii;
23  int ascitime;
24  int attr;
25  int noattr;
26  char *attrStr;
27  int bulk;
29  int condition;
34  int dim;
35  int dryrun;
36  int echo;
37  int empty; // JMC - backport 4552
38  int force;
39  int file;
40  char *fileString;
41  int global;
42  int rescGroup;
44  int hash;
45  char *hashValue;
46  int header;
47  int help;
48  int hostAddr;
50  int input;
52  int checksum;
54  int dataType;
57  int link;
58  int rlock; // JMC - backport 4604
59  int wlock; // JMC - backport 4604
62  char *mountType;
63  int replNum;
64  char *replNumValue;
65  int newFlag;
67  int noPage;
68  int number;
75  int option;
76  char *optionString;
77  int orphan;
78  int purgeCache; // JMC - backport 4537
79  int bundle; // JMC - backport 4536
80  int prompt;
81  int query;
82  char *queryStr;
83  int rbudp;
84  int reg;
85  int recursive;
86  int resource;
88  int remove;
90  int sizeFlag;
92  int srcResc;
94  int subset;
96  char *subsetStr;
97  int test;
98  int ticket;
99  char *ticketString;
100  int tree;
101  int ttl;
102  int ttlValue;
104  int user;
105  char *userString;
106  int unmount;
107  int verbose;
110  int zone;
111  char *zoneName;
112  int verify;
113  int var;
114  char *varStr;
115  int extract;
116  int restart;
120  int version;
121  int retries;
123  int regRepl;
124 
125  int parallel;
126  int serial;
128  int silent;
129  int sql;
130  int optind; /* index into argv where non-recognized options begin */
131 
134 
135  // =-=-=-=-=-=-=-
136  // atomic metadata put &
137  // kv pass through
139  char* acl_string;
140  int kv_pass;
142 
144 
145 #ifdef __cplusplus
146 extern "C" {
147 #endif
148 
149 int
150 parseCmdLineOpt( int argc, char **argv, const char *optString, int includeLong,
151  rodsArguments_t *rodsArgs );
152 
153 #ifdef __cplusplus
154 }
155 #endif
156 #endif // RODS_PARSE_COMMAND_LINE_H__
rodsArguments_t::parallel
int parallel
Definition: parseCommandLine.h:125
rodsArguments_t::restartFileString
char * restartFileString
Definition: parseCommandLine.h:117
rodsArguments_t::add
int add
Definition: parseCommandLine.h:15
rodsArguments_t::excludeFileString
char * excludeFileString
Definition: parseCommandLine.h:133
rodsArguments_t::bundle
int bundle
Definition: parseCommandLine.h:79
rodsArguments_t::showFirstLine
int showFirstLine
Definition: parseCommandLine.h:89
rodsArguments_t::sizeFlag
int sizeFlag
Definition: parseCommandLine.h:90
rodsArguments_t::ticketString
char * ticketString
Definition: parseCommandLine.h:99
rodsArguments_t::all
int all
Definition: parseCommandLine.h:18
rodsArguments_t::rescGroup
int rescGroup
Definition: parseCommandLine.h:42
rodsArguments_t::conditionString
char * conditionString
Definition: parseCommandLine.h:30
rodsArguments_t::optionString
char * optionString
Definition: parseCommandLine.h:76
rodsArguments_t
Definition: parseCommandLine.h:14
rodsArguments_t::attr
int attr
Definition: parseCommandLine.h:24
rodsArguments_t::mountType
char * mountType
Definition: parseCommandLine.h:62
rodsArguments_t::writeFlag
int writeFlag
Definition: parseCommandLine.h:109
rodsArguments_t::orphan
int orphan
Definition: parseCommandLine.h:77
rodsArguments_t::retriesValue
int retriesValue
Definition: parseCommandLine.h:122
rodsArguments_t::rbudp
int rbudp
Definition: parseCommandLine.h:83
rodsArguments_t::input
int input
Definition: parseCommandLine.h:50
rodsArguments_t::option
int option
Definition: parseCommandLine.h:75
rodsArguments_t::zoneName
char * zoneName
Definition: parseCommandLine.h:111
rodsArguments_t::verbose
int verbose
Definition: parseCommandLine.h:107
rodsArguments_t::srcRescString
char * srcRescString
Definition: parseCommandLine.h:93
rodsArguments_t::help
int help
Definition: parseCommandLine.h:47
rodsArguments_t::dataTypeString
char * dataTypeString
Definition: parseCommandLine.h:55
rodsArguments_t::collection
int collection
Definition: parseCommandLine.h:31
rodsArguments_t::hash
int hash
Definition: parseCommandLine.h:44
rodsArguments_t::accessControl
int accessControl
Definition: parseCommandLine.h:19
rodsArguments_t::version
int version
Definition: parseCommandLine.h:120
rodsArguments_t::zone
int zone
Definition: parseCommandLine.h:110
rodsArguments_t::empty
int empty
Definition: parseCommandLine.h:37
rodsArguments_t::attrStr
char * attrStr
Definition: parseCommandLine.h:26
rodsArguments_t::sql
int sql
Definition: parseCommandLine.h:129
rodsArguments_t::rlock
int rlock
Definition: parseCommandLine.h:58
rodsArguments_t::bulk
int bulk
Definition: parseCommandLine.h:27
rodsArguments_t::physicalPathString
char * physicalPathString
Definition: parseCommandLine.h:71
rodsArguments_t::resource
int resource
Definition: parseCommandLine.h:86
rodsArguments_t::excludeFile
int excludeFile
Definition: parseCommandLine.h:132
rodsArguments_t::query
int query
Definition: parseCommandLine.h:81
rodsArguments_t::kv_pass_string
char * kv_pass_string
Definition: parseCommandLine.h:141
rodsArguments_t::dim
int dim
Definition: parseCommandLine.h:34
rodsArguments_t::ttl
int ttl
Definition: parseCommandLine.h:101
rodsArguments_t::queryStr
char * queryStr
Definition: parseCommandLine.h:82
rodsArguments_t::rescGroupString
char * rescGroupString
Definition: parseCommandLine.h:43
rodsArguments_t::collectionString
char * collectionString
Definition: parseCommandLine.h:32
rodsArguments_t::verify
int verify
Definition: parseCommandLine.h:112
rodsArguments_t::checksum
int checksum
Definition: parseCommandLine.h:52
rodsArguments_t::metadata_string
char * metadata_string
Definition: parseCommandLine.h:138
rodsArguments_t::redirectConn
int redirectConn
Definition: parseCommandLine.h:51
rodsArguments_t::ticket
int ticket
Definition: parseCommandLine.h:98
rodsArguments_t::srcResc
int srcResc
Definition: parseCommandLine.h:92
rodsArguments_t::ttlValue
int ttlValue
Definition: parseCommandLine.h:102
rodsArguments_t::verifyChecksum
int verifyChecksum
Definition: parseCommandLine.h:53
rodsArguments_t::admin
int admin
Definition: parseCommandLine.h:20
rodsArguments_t::subset
int subset
Definition: parseCommandLine.h:94
rodsArguments_t::global
int global
Definition: parseCommandLine.h:41
rodsArguments_t::link
int link
Definition: parseCommandLine.h:57
rodsType.h
rodsArguments_t::condition
int condition
Definition: parseCommandLine.h:29
rodsArguments_t::file
int file
Definition: parseCommandLine.h:39
rodsArguments_t::echo
int echo
Definition: parseCommandLine.h:36
rodsArguments_t::acl_string
char * acl_string
Definition: parseCommandLine.h:139
rodsArguments_t::age
int age
Definition: parseCommandLine.h:16
rodsArguments_t::reg
int reg
Definition: parseCommandLine.h:84
rodsArguments_t::purgeCache
int purgeCache
Definition: parseCommandLine.h:78
rodsArguments_t::veryVerbose
int veryVerbose
Definition: parseCommandLine.h:108
parseCmdLineOpt
int parseCmdLineOpt(int argc, char **argv, const char *optString, int includeLong, rodsArguments_t *rodsArgs)
Definition: parseCommandLine.cpp:37
rodsArguments_t::backupMode
int backupMode
Definition: parseCommandLine.h:28
rodsArguments_t::hashValue
char * hashValue
Definition: parseCommandLine.h:45
rodsArguments_t::ascitime
int ascitime
Definition: parseCommandLine.h:23
rodsArguments_t::retries
int retries
Definition: parseCommandLine.h:121
rodsArguments_t::serial
int serial
Definition: parseCommandLine.h:126
rodsArguments_t::subsetByVal
int subsetByVal
Definition: parseCommandLine.h:95
rodsArguments_t::noattr
int noattr
Definition: parseCommandLine.h:25
rodsArguments_t::tree
int tree
Definition: parseCommandLine.h:100
rodsArguments_t::agginfo
int agginfo
Definition: parseCommandLine.h:21
rodsArguments_t::resourceString
char * resourceString
Definition: parseCommandLine.h:87
rodsArguments_t::wlock
int wlock
Definition: parseCommandLine.h:59
rodsArguments_t::noPage
int noPage
Definition: parseCommandLine.h:67
rodsArguments_t::hostAddr
int hostAddr
Definition: parseCommandLine.h:48
rodsArguments_t::force
int force
Definition: parseCommandLine.h:38
rodsArguments_t::hostAddrString
char * hostAddrString
Definition: parseCommandLine.h:49
rodsArguments_t::prompt
int prompt
Definition: parseCommandLine.h:80
rodsArguments_t::header
int header
Definition: parseCommandLine.h:46
rodsArguments_t::physicalPath
int physicalPath
Definition: parseCommandLine.h:70
rodsArguments_t::optind
int optind
Definition: parseCommandLine.h:130
rodsArguments_t::mountCollection
int mountCollection
Definition: parseCommandLine.h:61
rodsArguments_t::kv_pass
int kv_pass
Definition: parseCommandLine.h:140
rodsArguments_t::userString
char * userString
Definition: parseCommandLine.h:105
rodsArguments_t::recursive
int recursive
Definition: parseCommandLine.h:85
rodsArguments_t::dryrun
int dryrun
Definition: parseCommandLine.h:35
rodsArguments_t::startTimeInxStr
char * startTimeInxStr
Definition: parseCommandLine.h:66
rodsArguments_t::regRepl
int regRepl
Definition: parseCommandLine.h:123
rodsArguments_t::ascii
int ascii
Definition: parseCommandLine.h:22
rodsArguments_t::logicalPath
int logicalPath
Definition: parseCommandLine.h:72
rodsArguments_t::logicalPathString
char * logicalPathString
Definition: parseCommandLine.h:73
rodsArguments_t::subsetStr
char * subsetStr
Definition: parseCommandLine.h:96
rodsArguments_t::veryLongOption
int veryLongOption
Definition: parseCommandLine.h:60
rodsArguments_t::lfrestart
int lfrestart
Definition: parseCommandLine.h:118
rodsArguments_t::unmount
int unmount
Definition: parseCommandLine.h:106
rodsArguments_t::agevalue
int agevalue
Definition: parseCommandLine.h:17
rodsArguments_t::masterIcat
int masterIcat
Definition: parseCommandLine.h:127
rodsArguments_t::newFlag
int newFlag
Definition: parseCommandLine.h:65
rodsArguments_t::lfrestartFileString
char * lfrestartFileString
Definition: parseCommandLine.h:119
rodsArguments_t::test
int test
Definition: parseCommandLine.h:97
rodsArguments_t::varStr
char * varStr
Definition: parseCommandLine.h:114
rodsArguments_t::longOption
int longOption
Definition: parseCommandLine.h:56
rodsArguments_t::replNum
int replNum
Definition: parseCommandLine.h:63
rodsArguments_t::extract
int extract
Definition: parseCommandLine.h:115
rodsArguments_t::remove
int remove
Definition: parseCommandLine.h:88
rodsArguments_t::progressFlag
int progressFlag
Definition: parseCommandLine.h:74
rodsArguments_t::fileString
char * fileString
Definition: parseCommandLine.h:40
rodsArguments_t::dataObjects
int dataObjects
Definition: parseCommandLine.h:33
rodsArguments_t::numberValue
int numberValue
Definition: parseCommandLine.h:69
rodsArguments_t::size
rodsLong_t size
Definition: parseCommandLine.h:91
rodsArguments_t::var
int var
Definition: parseCommandLine.h:113
rodsArguments_t::silent
int silent
Definition: parseCommandLine.h:128
rodsArguments_t::user
int user
Definition: parseCommandLine.h:104
rodsArguments_t::reconnect
int reconnect
Definition: parseCommandLine.h:103
rodsArguments_t::replNumValue
char * replNumValue
Definition: parseCommandLine.h:64
rodsArguments_t::restart
int restart
Definition: parseCommandLine.h:116
rodsArguments_t::dataType
int dataType
Definition: parseCommandLine.h:54
rodsLong_t
long long rodsLong_t
Definition: rodsType.h:32
rodsArguments_t::number
int number
Definition: parseCommandLine.h:68