Whamcloud - gitweb
LU-9243 gss: fix GSS struct definition badness
[fs/lustre-release.git] / lustre / utils / gss / lsupport.h
index b1897e7..7a6ec0b 100644 (file)
@@ -28,7 +28,6 @@
  */
 /*
  * This file is part of Lustre, http://www.lustre.org/
- * Lustre is a trademark of Sun Microsystems, Inc.
  *
  * lustre/utils/gss/lsupport.h
  */
 
 #include <assert.h>
 #include <unistd.h>
+#include <stdbool.h>
 #include <stdint.h>
 
-#include <lnet/types.h>
+#include <libcfs/util/list.h>
+#include <linux/lnet/lnet-types.h>
+#include <linux/lnet/nidstr.h>
 
 #define GSSD_CLI        (0)
 #define GSSD_SVC        (1)
@@ -95,21 +97,6 @@ struct lgssd_upcall_data {
 #define GSSD_INTERFACE_VERSION_V2       (2)
 #define GSSD_INTERFACE_VERSION_V1       (1)
 
-struct lgssd_ioctl_param {
-        int             version;        /* in   */
-        int             secid;          /* in   */
-        char           *uuid;           /* in   */
-        int             lustre_svc;     /* in   */
-        uid_t           uid;            /* in   */
-        gid_t           gid;            /* in   */
-        long            send_token_size;/* in   */
-        char           *send_token;     /* in   */
-        long            reply_buf_size; /* in   */
-        char           *reply_buf;      /* in   */
-        long            status;         /* out  */
-        long            reply_length;   /* out  */
-};
-
 #define GSSD_DEFAULT_GETHOSTNAME_EX     "/etc/lustre/nid2hostname"
 #define MAPPING_DATABASE_FILE           "/etc/lustre/idmap.conf"