Print this page
195 Need replacement for nfs/lockd+klm
Reviewed by: Gordon Ross <gordon.ross@nexenta.com>
Reviewed by: Jeremy Jones <jeremy@delphix.com>
Reviewed by: Jeff Biseda <jbiseda@delphix.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/fs.d/nfs/lib/smfcfg.h
          +++ new/usr/src/cmd/fs.d/nfs/lib/smfcfg.h
↓ open down ↓ 82 lines elided ↑ open up ↑
  83   83  
  84   84  /*
  85   85   * ERRORS
  86   86   */
  87   87  #define SMF_OK                  0
  88   88  #define SMF_SYSTEM_ERR          -1
  89   89  #define STATE_INITIALIZING      1
  90   90  #define SMF_NO_PERMISSION       2
  91   91  #define SMF_NO_PGTYPE           3
  92   92  
       93 +extern int nfs_smf_get_iprop(char *, int *, char *, scf_type_t, char *);
  93   94  extern int nfs_smf_get_prop(char *, char *, char *, scf_type_t, char *, int *);
  94   95  extern int fs_smf_get_prop(smf_fstype_t,  char *, char *, char *, scf_type_t,
  95   96          char *, int *);
  96   97  extern int nfs_smf_set_prop(char *, char *, char *, scf_type_t, char *);
  97   98  extern int fs_smf_set_prop(smf_fstype_t, char *, char *,
  98   99      char *, scf_type_t, char *);
  99  100  extern int autofs_smf_set_prop(char *, char *, char *, scf_type_t, char *);
 100  101  extern int autofs_smf_get_prop(char *, char *, char *, scf_type_t,
 101  102      char *, int *);
 102  103  extern void fs_smf_fini(fs_smfhandle_t *);
 103  104  extern boolean_t string_to_boolean(const char *);
 104  105  
 105  106  #ifdef  __cplusplus
 106  107  }
 107  108  #endif
 108  109  
 109  110  #endif  /* _SMFCFG_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX