#ifndef _nsMoonshotSessionState_h__
#define _nsMoonshotSessionState_h__
+#include <nsISupportsUtils.h>
#include <gssapi.h>
-class nsMoonshotSessionState : public nsISupports
+typedef enum {
+ GSS_CTX_EMPTY,
+ GSS_CTX_IN_PROGRESS,
+ GSS_CTX_ESTABLISHED
+} gss_state_t;
+
+class NS_EXPORT
+nsMoonshotSessionState : public nsISupports
{
public:
- NS_DECL_ISUPPORTS;
+ NS_DECL_ISUPPORTS
nsMoonshotSessionState();
virtual ~nsMoonshotSessionState();
- NS_IMETHOD Reset();
-
- enum {
- GSS_CTX_EMPTY,
- GSS_CTX_IN_PROGRESS,
- GSS_CTX_ESTABLISHED
- } gss_state;
+ void Reset();
+ gss_state_t gss_state;
gss_cred_id_t gss_cred;
-
- private:
-}
+ gss_ctx_id_t gss_ctx;
+};
#endif