/* pam_sscs.h */ #ifndef _PAM_SSCS_H #define _PAM_SSCS_H #include #include #include #include #include #include #include #include #include #include extern void pam_sscs_log(int priority, const char *format,...); #define WORKSTATION_SECRET_ID "Desktop" #define WORKSTATION_SHARED_SECRET_ID "DefaultSharedSecret" #define NSSCSIDK_LIB "libmicasa.so" #define NOVELL_CSSS_CONTEXT "NOVELL_CSSS_CONTEXT" #ifdef DEBUG #define PRINT_FN_NAME pam_sscs_log(LOG_DEBUG,"In function : %s\n",__func__); #else #define PRINT_FN_NAME #endif void* (*pNSSCSOpenSecretStoreCache) ( SSCS_SECRETSTORE_T* ssid, unsigned long ssFlags, SSCS_EXT_T *ext); int (*pNSSCSCloseSecretStoreCache) ( void *context, unsigned long ssFlags, SSCS_EXT_T *ext); int (*pNSSCSSetCredential) ( unsigned long ssFlags, SSCS_SECRET_ID_T *appSecretID, SSCS_SECRET_ID_T *sharedSecretID, int credentialType, void *credential, SSCS_EXT_T *ext); /* The structure to hold all the possible options * for this PAM module. */ typedef struct options_t { unsigned int debug; }Options; #endif