X-Git-Url: http://www.project-moonshot.org/gitweb/?p=moonshot-firefox.git;a=blobdiff_plain;f=nsMoonshotSessionState.h;h=7e623d851e99e1ff8b6ec803b7661a3f045a58fb;hp=c29ef1bb07d6a115f382e75d2bb1ec391800388d;hb=e59390a18769e211fbd02a4182eeff0551806916;hpb=67fd5d1985181cff3142651d043d2c5c8515dbcf diff --git a/nsMoonshotSessionState.h b/nsMoonshotSessionState.h index c29ef1b..7e623d8 100644 --- a/nsMoonshotSessionState.h +++ b/nsMoonshotSessionState.h @@ -1,26 +1,27 @@ #ifndef _nsMoonshotSessionState_h__ #define _nsMoonshotSessionState_h__ +#include #include +typedef enum { + GSS_CTX_EMPTY, + GSS_CTX_IN_PROGRESS, + GSS_CTX_ESTABLISHED +} gss_state_t; + class 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