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.
[7554] Deprecate rxGeneralUpdate API endpoint.
- Loading branch information
1 parent
084e1da
commit 39f7f7f
Showing
3 changed files
with
22 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,19 @@ | ||
#ifndef GENERAL_UPDATE_H__ | ||
#define GENERAL_UPDATE_H__ | ||
#ifndef IRODS_GENERAL_UPDATE_H | ||
#define IRODS_GENERAL_UPDATE_H | ||
|
||
#include "irods/rcConnect.h" | ||
#include "irods/rodsGeneralUpdate.h" | ||
|
||
#ifdef __cplusplus | ||
extern "C" | ||
extern "C" { | ||
#endif | ||
int rcGeneralUpdate( rcComm_t *conn, generalUpdateInp_t *generalUpdateInp ); | ||
|
||
int rcGeneralUpdate(rcComm_t* conn, generalUpdateInp_t* generalUpdateInp) | ||
__attribute__((deprecated("rcGeneralUpdate is deprecated and will be removed in a later release. If you are " | ||
"reaching for this, consider revising your approach."))); | ||
|
||
#ifdef __cplusplus | ||
} // extern "C" | ||
#endif | ||
|
||
#endif // IRODS_GENERAL_UPDATE_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 |
---|---|---|
@@ -1,10 +1,14 @@ | ||
#ifndef RS_GENERAL_UPDATE_HPP | ||
#define RS_GENERAL_UPDATE_HPP | ||
#ifndef IRODS_RS_GENERAL_UPDATE_HPP | ||
#define IRODS_RS_GENERAL_UPDATE_HPP | ||
|
||
#include "irods/rcConnect.h" | ||
#include "irods/rodsGeneralUpdate.h" | ||
|
||
int rsGeneralUpdate( rsComm_t *rsComm, generalUpdateInp_t *generalUpdateInp ); | ||
int rsGeneralUpdate(rsComm_t* rsComm, generalUpdateInp_t* generalUpdateInp) | ||
__attribute__((deprecated("rsGeneralUpdate is deprecated and will be removed in a later release. If you are " | ||
"reaching for this, consider revising your approach."))); | ||
|
||
// TODO Leading underscores are not allowed in the global namespace. | ||
int _rsGeneralUpdate( generalUpdateInp_t *generalUpdateInp ); | ||
|
||
#endif | ||
#endif // IRODS_RS_GENERAL_UPDATE_HPP |
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