Move util_ files into utils directory, move main.cpp into src
[gssweb.git] / json_gssapi / src / datamodel / GSSCredential.h
index efbd77e..40e03a0 100644 (file)
@@ -8,9 +8,11 @@
 #ifndef GSSCREDENTIAL_H
 #define GSSCREDENTIAL_H
 
+#include "utils/util_json.h"
 #include <gssapi/gssapi.h>
+#include <string>
 
-typedef OM_uint32 (*gss_acq_cred_type)(
+typedef OM_uint32 (KRB5_CALLCONV *gss_acq_cred_type)(
     OM_uint32 *,        /* minor_status */
     gss_name_t,         /* desired_name */
     OM_uint32,          /* time_req */
@@ -35,6 +37,7 @@ public:
     gss_cred_id_t toGss() const { return(credential); }
     
     void setValue(gss_cred_id_t cred) { this->credential = cred; }
+    JSONObject *toJSONValue() { return( new JSONObject("not now") ); }
     
 private:
     gss_cred_id_t credential;