forked from irods/irods
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[7229] Refactor startup/shutdown logic.
- Loading branch information
1 parent
8e51ce5
commit 80df3ee
Showing
272 changed files
with
91,486 additions
and
7,009 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
#ifndef IRODS_DELAY_RULE_TAG_H | ||
#define IRODS_DELAY_RULE_TAG_H | ||
|
||
/// \file | ||
|
||
#include "irods/objInfo.h" | ||
|
||
struct RcComm; | ||
|
||
/// TODO | ||
/// | ||
/// \since 5.0.0 | ||
typedef struct DelayRuleTagInput | ||
{ | ||
char rule_id[32]; // NOLINT(cppcoreguidelines-avoid-c-arrays, modernize-avoid-c-arrays) | ||
char tag[300]; // NOLINT(cppcoreguidelines-avoid-c-arrays, modernize-avoid-c-arrays) | ||
struct KeyValPair condInput; | ||
} delayRuleTagInp_t; | ||
|
||
// NOLINTNEXTLINE(cppcoreguidelines-macro-usage) | ||
#define DelayRuleTagInput_PI "str rule_id[32]; str tag[300]; struct KeyValPair_PI;" | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
/// TODO | ||
/// | ||
/// \param[in] _comm A pointer to a RcComm. | ||
/// \param[in] _input | ||
/// | ||
/// \return An integer. | ||
/// \retval 0 On success. | ||
/// \retval non-zero On failure. | ||
/// | ||
/// \since 5.0.0 | ||
int rc_delay_rule_tag(struct RcComm* _comm, struct DelayRuleTagInput* _input); | ||
|
||
#ifdef __cplusplus | ||
} // extern "C" | ||
#endif | ||
|
||
#endif // IRODS_DELAY_RULE_TAG_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
#ifndef IRODS_DELAY_RULE_TAG_CLEAR_H | ||
#define IRODS_DELAY_RULE_TAG_CLEAR_H | ||
|
||
/// \file | ||
|
||
#include "irods/objInfo.h" | ||
|
||
struct RcComm; | ||
|
||
/// TODO | ||
/// | ||
/// \since 5.0.0 | ||
typedef struct DelayRuleTagClearInput | ||
{ | ||
char rule_id[32]; // NOLINT(cppcoreguidelines-avoid-c-arrays, modernize-avoid-c-arrays) | ||
struct KeyValPair condInput; | ||
} delayRuleTagClearInp_t; | ||
|
||
// NOLINTNEXTLINE(cppcoreguidelines-macro-usage) | ||
#define DelayRuleTagClearInput_PI "str rule_id[32]; str tag[32]; struct KeyValPair_PI;" | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
/// TODO | ||
/// | ||
/// \param[in] _comm A pointer to a RcComm. | ||
/// \param[in] _input | ||
/// | ||
/// \return An integer. | ||
/// \retval 0 On success. | ||
/// \retval non-zero On failure. | ||
/// | ||
/// \since 5.0.0 | ||
int rc_delay_rule_tag_clear(struct RcComm* _comm, struct DelayRuleTagClearInput* _input); | ||
|
||
#ifdef __cplusplus | ||
} // extern "C" | ||
#endif | ||
|
||
#endif // IRODS_DELAY_RULE_TAG_CLEAR_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
#ifndef IRODS_GET_ACTIVE_AGENTS_H | ||
#define IRODS_GET_ACTIVE_AGENTS_H | ||
|
||
/// \file | ||
|
||
#include "irods/objInfo.h" | ||
|
||
struct RcComm; | ||
|
||
/// TODO | ||
/// | ||
/// \since 5.0.0 | ||
typedef struct GetActiveAgentsInput | ||
{ | ||
char hostname[65]; // NOLINT(cppcoreguidelines-avoid-c-arrays, modernize-avoid-c-arrays) | ||
char zone[250]; // NOLINT(cppcoreguidelines-avoid-c-arrays, modernize-avoid-c-arrays) | ||
struct KeyValPair condInput; | ||
} getActiveAgentsInp_t; | ||
|
||
// NOLINTNEXTLINE(cppcoreguidelines-macro-usage) | ||
#define GetActiveAgentsInput_PI "str hostname[65]; str zone[250]; struct KeyValPair_PI;" | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
/// TODO | ||
/// | ||
/// \param[in] _comm A pointer to a RcComm. | ||
/// \param[in] _input | ||
/// \param[in,out] _info | ||
/// | ||
/// \return An integer. | ||
/// \retval 0 On success. | ||
/// \retval non-zero On failure. | ||
/// | ||
/// \since 5.0.0 | ||
int rc_get_active_agents(struct RcComm* _comm, struct GetActiveAgentsInput* _input, char** _info); | ||
|
||
#ifdef __cplusplus | ||
} // extern "C" | ||
#endif | ||
|
||
#endif // IRODS_GET_ACTIVE_AGENTS_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#include "irods/delay_rule_tag.h" | ||
|
||
#include "irods/apiNumber.h" | ||
#include "irods/procApiRequest.h" | ||
#include "irods/rodsErrorTable.h" | ||
|
||
auto rc_delay_rule_tag(RcComm* _comm, DelayRuleTagInput* _input) -> int | ||
{ | ||
if (!_comm || !_input) { | ||
return SYS_INVALID_INPUT_PARAM; | ||
} | ||
|
||
return procApiRequest(_comm, DELAY_RULE_TAG_AN, _input, nullptr, nullptr, nullptr); | ||
} // rc_delay_rule_tag |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#include "irods/delay_rule_tag_clear.h" | ||
|
||
#include "irods/apiNumber.h" | ||
#include "irods/procApiRequest.h" | ||
#include "irods/rodsErrorTable.h" | ||
|
||
auto rc_delay_rule_tag_clear(RcComm* _comm, DelayRuleTagClearInput* _input) -> int | ||
{ | ||
if (!_comm || !_input) { | ||
return SYS_INVALID_INPUT_PARAM; | ||
} | ||
|
||
return procApiRequest(_comm, DELAY_RULE_TAG_CLEAR_AN, _input, nullptr, nullptr, nullptr); | ||
} // rc_delay_rule_tag_clear |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.