1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

Add a macro to check whether module-specific data set already or not. Returns True or False. Should support further encapsulation of VFS-specific structs

(This used to be commit 180e617f54021ced270c7c8cb86dd478d809d041)
This commit is contained in:
Alexander Bokovoy 2003-07-24 14:23:54 +00:00
parent ae6a63fa46
commit 27db257734

View File

@ -466,6 +466,9 @@ typedef struct vfs_handle_struct {
} \
}
/* Check whether module-specific data handle was already allocated or not */
#define SMB_VFS_HANDLE_TEST_DATA(handle) ( !(handle) || !(handle)->data ? False : True )
#define SMB_VFS_OP(x) ((void *) x)