Print this page
1575 untangle libmlrpc ... (smbsrv)


  27 #ifndef _LIBSMB_H
  28 #define _LIBSMB_H
  29 
  30 #ifdef  __cplusplus
  31 extern "C" {
  32 #endif
  33 
  34 #include <sys/types.h>
  35 #include <sys/list.h>
  36 #include <sys/avl.h>
  37 #include <arpa/inet.h>
  38 #include <net/if.h>       /* LIFNAMSIZ */
  39 #include <netdb.h>
  40 #include <stdlib.h>
  41 #include <libscf.h>
  42 #include <libshare.h>
  43 #include <uuid/uuid.h>
  44 #include <synch.h>
  45 #include <stdarg.h>
  46 




  47 #include <smbsrv/string.h>
  48 #include <smbsrv/smb_idmap.h>
  49 #include <smbsrv/netbios.h>
  50 #include <smbsrv/smb_share.h>
  51 #include <smb/nterror.h>
  52 #include <smb/ntstatus.h>
  53 #include <smbsrv/smb_door.h>
  54 #include <smbsrv/alloc.h>
  55 #include <smbsrv/hash_table.h>
  56 #include <smbsrv/msgbuf.h>
  57 #include <smbsrv/wintypes.h>
  58 #include <smbsrv/smb_xdr.h>
  59 #include <smbsrv/smbinfo.h>
  60 #include <smbsrv/ntifs.h>
  61 
  62 #define SMB_VARSMB_DIR "/var/smb"
  63 #define SMB_VARRUN_DIR "/var/run/smb"
  64 #define SMB_CCACHE_FILE "ccache"
  65 #define SMB_CCACHE_PATH SMB_VARRUN_DIR "/" SMB_CCACHE_FILE
  66 
  67 
  68 /* Max value length of all SMB properties */
  69 #define MAX_VALUE_BUFLEN        512
  70 
  71 #define SMBD_FMRI_PREFIX                "network/smb/server"
  72 #define SMBD_DEFAULT_INSTANCE_FMRI      "svc:/network/smb/server:default"
  73 #define SMBD_PG_NAME                    "smbd"
  74 #define SMBD_PROTECTED_PG_NAME          "read"
  75 #define SMBD_EXEC_PG_NAME               "exec"
  76 
  77 #define SMBD_SMF_OK             0




  27 #ifndef _LIBSMB_H
  28 #define _LIBSMB_H
  29 
  30 #ifdef  __cplusplus
  31 extern "C" {
  32 #endif
  33 
  34 #include <sys/types.h>
  35 #include <sys/list.h>
  36 #include <sys/avl.h>
  37 #include <arpa/inet.h>
  38 #include <net/if.h>       /* LIFNAMSIZ */
  39 #include <netdb.h>
  40 #include <stdlib.h>
  41 #include <libscf.h>
  42 #include <libshare.h>
  43 #include <uuid/uuid.h>
  44 #include <synch.h>
  45 #include <stdarg.h>
  46 
  47 #include <smb/nterror.h>
  48 #include <smb/ntstatus.h>
  49 #include <smb/wintypes.h>
  50 
  51 #include <smbsrv/string.h>
  52 #include <smbsrv/smb_idmap.h>
  53 #include <smbsrv/netbios.h>
  54 #include <smbsrv/smb_share.h>


  55 #include <smbsrv/smb_door.h>
  56 #include <smbsrv/alloc.h>
  57 #include <smbsrv/hash_table.h>
  58 #include <smbsrv/msgbuf.h>

  59 #include <smbsrv/smb_xdr.h>
  60 #include <smbsrv/smbinfo.h>
  61 #include <smbsrv/ntifs.h>
  62 
  63 #define SMB_VARSMB_DIR "/var/smb"
  64 #define SMB_VARRUN_DIR "/var/run/smb"
  65 #define SMB_CCACHE_FILE "ccache"
  66 #define SMB_CCACHE_PATH SMB_VARRUN_DIR "/" SMB_CCACHE_FILE
  67 
  68 
  69 /* Max value length of all SMB properties */
  70 #define MAX_VALUE_BUFLEN        512
  71 
  72 #define SMBD_FMRI_PREFIX                "network/smb/server"
  73 #define SMBD_DEFAULT_INSTANCE_FMRI      "svc:/network/smb/server:default"
  74 #define SMBD_PG_NAME                    "smbd"
  75 #define SMBD_PROTECTED_PG_NAME          "read"
  76 #define SMBD_EXEC_PG_NAME               "exec"
  77 
  78 #define SMBD_SMF_OK             0