return empty_str;
}
-string& RGWHTTPArgs::get(const char *name, bool *exists)
-{
- string s(name);
- return get(s, exists);
-}
-
-
int RGWHTTPArgs::get_bool(const string& name, bool *val, bool *exists)
{
map<string, string>::iterator iter;
return e ? iter->second : string();
}
-string RGWHTTPArgs::sys_get(const char * const name, bool * const exists)
-{
- return sys_get(string(name), exists);
-}
-
bool verify_requester_payer_permission(struct req_state *s)
{
if (!s->bucket_info.requester_pays)
int parse();
/** Get the value for a specific argument parameter */
string& get(const string& name, bool *exists = NULL);
- string& get(const char *name, bool *exists = NULL);
int get_bool(const string& name, bool *val, bool *exists);
int get_bool(const char *name, bool *val, bool *exists);
void get_bool(const char *name, bool *val, bool def_val);
/** Get the value for specific system argument parameter */
string sys_get(const string& name, bool *exists = nullptr);
- string sys_get(const char *name, bool *exists = nullptr);
/** see if a parameter is contained in this RGWHTTPArgs */
bool exists(const char *name) {