summaryrefslogtreecommitdiff
path: root/source3/include/smb.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-07-06 03:53:49 +0000
committerAndrew Tridgell <tridge@samba.org>2000-07-06 03:53:49 +0000
commita7f6c0a642428372f5fab30a5eb94f9bcc0f6173 (patch)
treefaf7b7926a6816d6f17ba6d6ab115449a53ce6d0 /source3/include/smb.h
parentda74939852e95cc44d1748e54e1a6bc6a9caba3d (diff)
downloadsamba-a7f6c0a642428372f5fab30a5eb94f9bcc0f6173.tar.gz
samba-a7f6c0a642428372f5fab30a5eb94f9bcc0f6173.tar.bz2
samba-a7f6c0a642428372f5fab30a5eb94f9bcc0f6173.zip
don't need shmem any more
(This used to be commit a81371a4fd6f7972b054bea90428d1d2fd6d1d22)
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r--source3/include/smb.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index fdd987457b..67ca5ef173 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -680,35 +680,6 @@ typedef struct
#define SHAREMODE_FN(fn) \
void (*fn)(share_mode_entry *, char*)
-/* each implementation of the share mode code needs
- to support the following operations */
-struct share_ops {
- BOOL (*stop_mgmt)(void);
- BOOL (*lock_entry)(connection_struct *, SMB_DEV_T , SMB_INO_T , int *);
- BOOL (*unlock_entry)(connection_struct *, SMB_DEV_T , SMB_INO_T , int );
- int (*get_entries)(connection_struct *, int , SMB_DEV_T , SMB_INO_T , share_mode_entry **);
- void (*del_entry)(int , files_struct *);
- BOOL (*set_entry)(int, files_struct *, uint16 , uint16 );
- BOOL (*mod_entry)(int, files_struct *, void (*)(share_mode_entry *, SMB_DEV_T, SMB_INO_T, void *), void *);
- int (*forall)(void (*)(share_mode_entry *, char *));
- void (*status)(FILE *);
-};
-
-/* each implementation of the shared memory code needs
- to support the following operations */
-struct shmem_ops {
- BOOL (*shm_close)( void );
- int (*shm_alloc)(int );
- BOOL (*shm_free)(int );
- int (*get_userdef_off)(void);
- void *(*offset2addr)(int );
- int (*addr2offset)(void *addr);
- BOOL (*lock_hash_entry)(unsigned int);
- BOOL (*unlock_hash_entry)( unsigned int );
- BOOL (*get_usage)(int *,int *,int *);
- unsigned (*hash_size)(void);
-};
-
/*
* Each implementation of the password database code needs
* to support the following operations.