First shot of the state class
[moonshot-firefox.git] / nsMoonshotSessionState.h
diff --git a/nsMoonshotSessionState.h b/nsMoonshotSessionState.h
new file mode 100644 (file)
index 0000000..c29ef1b
--- /dev/null
@@ -0,0 +1,26 @@
+#ifndef _nsMoonshotSessionState_h__
+#define _nsMoonshotSessionState_h__
+
+#include <gssapi.h>
+
+class nsMoonshotSessionState : public nsISupports
+{
+    public:
+       NS_DECL_ISUPPORTS;
+
+       nsMoonshotSessionState();
+       virtual ~nsMoonshotSessionState();
+       NS_IMETHOD Reset();
+
+       enum {
+           GSS_CTX_EMPTY,
+           GSS_CTX_IN_PROGRESS,
+           GSS_CTX_ESTABLISHED
+       } gss_state;
+
+       gss_cred_id_t gss_cred;
+
+    private:
+}
+
+#endif