"Fossies" - the Fresh Open Source Software Archive

Member "irods-4.2.8/lib/api/include/authCheck.h" (14 May 2020, 574 Bytes) of package /linux/misc/irods-4.2.8.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "authCheck.h" see the Fossies "Dox" file reference documentation.

    1 #ifndef AUTH_CHECK_H__
    2 #define AUTH_CHECK_H__
    3 
    4 #include "rcConnect.h"
    5 
    6 typedef struct {
    7     char *challenge;
    8     char *response;
    9     char *username;
   10 } authCheckInp_t;
   11 
   12 typedef struct {
   13     int  privLevel;
   14     int  clientPrivLevel;
   15     char *serverResponse;
   16 } authCheckOut_t;
   17 
   18 #define authCheckInp_PI "str *challenge; str *response; str *username;"
   19 #define authCheckOut_PI "int privLevel; int clientPrivLevel; str *serverResponse;"
   20 
   21 
   22 #ifdef __cplusplus
   23 extern "C"
   24 #endif
   25 int rcAuthCheck( rcComm_t *conn, authCheckInp_t *authCheckInp, authCheckOut_t **authCheckOut );
   26 
   27 #endif