7e623d851e99e1ff8b6ec803b7661a3f045a58fb
[moonshot-firefox.git] / nsMoonshotSessionState.h
1 #ifndef _nsMoonshotSessionState_h__
2 #define _nsMoonshotSessionState_h__
3
4 #include <nsISupportsUtils.h>
5 #include <gssapi.h>
6
7 typedef enum {
8     GSS_CTX_EMPTY,
9     GSS_CTX_IN_PROGRESS,
10     GSS_CTX_ESTABLISHED
11 } gss_state_t;
12
13 class nsMoonshotSessionState : public nsISupports
14 {
15     public:
16         NS_DECL_ISUPPORTS
17
18         nsMoonshotSessionState();
19         virtual ~nsMoonshotSessionState();
20         void Reset();
21
22         gss_state_t gss_state;
23         gss_cred_id_t gss_cred;
24         gss_ctx_id_t gss_ctx;
25 };
26
27 #endif