-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#4] actually moved krbAuthRequest.hpp
- Loading branch information
Showing
1 changed file
with
44 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/*** Copyright (c), The Regents of the University of California *** | ||
*** For more information please refer to files in the COPYRIGHT directory ***/ | ||
/* krbAuthRequest.h | ||
*/ | ||
|
||
#ifndef KRB_AUTH_REQUEST_HPP | ||
#define KRB_AUTH_REQUEST_HPP | ||
|
||
/* This is a Metadata API call */ | ||
|
||
#include "rods.hpp" | ||
#include "rcMisc.hpp" | ||
#include "procApiRequest.hpp" | ||
#include "apiNumber.hpp" | ||
#include "initServer.hpp" | ||
#include "icatDefines.hpp" | ||
|
||
typedef struct { | ||
char *serverName; | ||
} krbAuthRequestOut_t; | ||
|
||
#define krbAuthRequestOut_PI "str *ServerName;" | ||
|
||
|
||
#if defined(RODS_SERVER) | ||
#define RS_KRB_AUTH_REQUEST rsKrbAuthRequest | ||
/* prototype for the server handler */ | ||
int | ||
rsKrbAuthRequest( rsComm_t *rsComm, krbAuthRequestOut_t **krbAuthRequestOut ); | ||
|
||
#else | ||
#define RS_KRB_AUTH_REQUEST NULL | ||
#endif | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
/* prototype for the client call */ | ||
int | ||
rcKrbAuthRequest( rcComm_t *conn, krbAuthRequestOut_t **krbAuthRequestOut ); | ||
#ifdef __cplusplus | ||
} | ||
#endif | ||
#endif /* KRB_AUTH_REQUEST_H */ |