]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - sshgss.h
Change how we handle the Ssh_gss_buf type. Previously, we defined it
[PuTTY.git] / sshgss.h
index dfd5e660eaf82bfb1e1afa2c443fd7c175beb327..c188464a3d4f9cadd142eb1dea5f47f7b3f371cc 100644 (file)
--- a/sshgss.h
+++ b/sshgss.h
@@ -12,16 +12,9 @@ typedef enum Ssh_gss_stat {
 
 #define SSH_GSS_S_COMPLETE SSH_GSS_OK
 
-typedef struct Ssh_gss_buf {
-    int len;
-    char *data;
-} Ssh_gss_buf;
-
-#define SSH_GSS_EMPTY_BUF (Ssh_gss_buf) {0,NULL}
-
 #define SSH_GSS_CLEAR_BUF(buf) do {            \
-    (*buf).len = 0;                            \
-    (*buf).data = NULL;                                \
+    (*buf).length = 0;                         \
+    (*buf).value = NULL;                               \
 } while (0)
 
 /* Functions, provided by either wingss.c or uxgss.c */