merge
This commit is contained in:
commit
ff1be48001
38 changed files with 2292 additions and 35 deletions
|
|
@ -2095,6 +2095,29 @@ int xce_clear_reason_req(endpoint_t* ep, xce_clear_reason_t* reason)
|
|||
return xce_request(ep, &request);
|
||||
}
|
||||
|
||||
int xce_fetchfile_req(endpoint_t* ep, xce_fetchfile_t* msg)
|
||||
{
|
||||
/* clang-format off */
|
||||
xce_request_t request = {
|
||||
.opcode = OPCode_fetchfile,
|
||||
.body_which = Request_body_fetchfilemsg,
|
||||
.body = {
|
||||
.fetchfilemsg = msg
|
||||
}
|
||||
};
|
||||
/* clang-format on */
|
||||
|
||||
if ((ep == NULL) || (msg == NULL)) {
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
if (msg->filepath == NULL || msg->filepath[0] == '\0') {
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
return xce_request(ep, &request);
|
||||
}
|
||||
|
||||
/* ── Client-Side Transparent Retry tunables (Req 6.1, 6.2) ─────────────────
|
||||
*
|
||||
* XCE_RETRY_DEFAULTS provides safe production defaults for the failover retry
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue