Print this page
NEX-16818 Add fksmbcl development tool
NEX-17264 SMB client test tp_smbutil_013 fails after NEX-14666
Reviewed by: Evan Layton <evan.layton@nexenta.com>
Reviewed by: Matt Barden <matt.barden@nexenta.com>
and: (fix ref leaks)


  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 /*
  22  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  23  * Use is subject to license terms.
  24  */
  25 
  26 #ifndef _SYS_MODHASH_H
  27 #define _SYS_MODHASH_H
  28 
  29 /*
  30  * Generic hash implementation for the kernel.
  31  */
  32 
  33 #ifdef __cplusplus
  34 extern "C" {
  35 #endif
  36 
  37 #ifdef _KERNEL
  38 
  39 #include <sys/types.h>
  40 
  41 /*
  42  * Opaque data types for storing keys and values
  43  */
  44 typedef void *mod_hash_val_t;
  45 typedef void *mod_hash_key_t;
  46 
  47 /*
  48  * Opaque data type for reservation
  49  */
  50 typedef void *mod_hash_hndl_t;
  51 
  52 /*
  53  * Opaque type for hash itself.
  54  */
  55 struct mod_hash;
  56 typedef struct mod_hash mod_hash_t;
  57 




  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 /*
  22  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  23  * Use is subject to license terms.
  24  */
  25 
  26 #ifndef _SYS_MODHASH_H
  27 #define _SYS_MODHASH_H
  28 
  29 /*
  30  * Generic hash implementation for the kernel.
  31  */
  32 
  33 #ifdef __cplusplus
  34 extern "C" {
  35 #endif
  36 
  37 #if defined(_KERNEL) || defined(_FAKE_KERNEL)
  38 
  39 #include <sys/types.h>
  40 
  41 /*
  42  * Opaque data types for storing keys and values
  43  */
  44 typedef void *mod_hash_val_t;
  45 typedef void *mod_hash_key_t;
  46 
  47 /*
  48  * Opaque data type for reservation
  49  */
  50 typedef void *mod_hash_hndl_t;
  51 
  52 /*
  53  * Opaque type for hash itself.
  54  */
  55 struct mod_hash;
  56 typedef struct mod_hash mod_hash_t;
  57