Skip to content

Commit

Permalink
[#4] actually moved krbAuthRequest.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
tempoz committed Feb 18, 2015
1 parent 3605720 commit 01a2566
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions krb/krbAuthRequest.hpp
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 */

0 comments on commit 01a2566

Please sign in to comment.