Skip to content

Commit

Permalink
structs need typenames...
Browse files Browse the repository at this point in the history
  • Loading branch information
alanking committed Sep 13, 2023
1 parent d8e1437 commit 8cb38ff
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions lib/api/include/irods/getLimitedPassword.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
#include "irods/rcConnect.h"
#include "irods/authenticate.h"

typedef struct {
typedef struct GetLimitedPasswordInp {
int ttl;
char *unused1; // currently unused, but available without protocol change if needed
} getLimitedPasswordInp_t;
#define getLimitedPasswordInp_PI "int ttl; str *unused1;"

typedef struct {
typedef struct GetLimitedPasswordOut {
char stringToHashWith[MAX_PASSWORD_LEN];
} getLimitedPasswordOut_t;
#define getLimitedPasswordOut_PI "str stringToHashWith[MAX_PASSWORD_LEN];"
Expand Down
12 changes: 6 additions & 6 deletions server/api/include/irods/rsGetLimitedPassword.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
#define RS_GET_LIMITED_PASSWORD_HPP

struct RsComm;
struct getLimitedPasswordInp_t;
struct getLimitedPasswordOut_t;
struct GetLimitedPasswordInp;
struct GetLimitedPasswordOut;

int rsGetLimitedPassword(RsComm* rsComm,
getLimitedPasswordInp_t* getLimitedPasswordInp,
getLimitedPasswordOut_t** getLimitedPasswordOut);
GetLimitedPasswordInp* getLimitedPasswordInp,
GetLimitedPasswordOut** getLimitedPasswordOut);
int _rsGetLimitedPassword(RsComm* rsComm,
getLimitedPasswordInp_t* getLimitedPasswordInp,
getLimitedPasswordOut_t** getLimitedPasswordOut);
GetLimitedPasswordInp* getLimitedPasswordInp,
GetLimitedPasswordOut** getLimitedPasswordOut);

#endif

0 comments on commit 8cb38ff

Please sign in to comment.