diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2003-04-28 17:48:48 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2003-04-28 17:48:48 +0000 |
commit | bc4b51bcb2daa7271c884cb83bf8bdba6d3a9b6d (patch) | |
tree | db57cdb240c54b4b980720385535abf4f087c5a8 /source/include | |
parent | e112dc1641c47c7185e098918980df1a4d950bd7 (diff) | |
download | samba-bc4b51bcb2daa7271c884cb83bf8bdba6d3a9b6d.tar.gz samba-bc4b51bcb2daa7271c884cb83bf8bdba6d3a9b6d.tar.xz samba-bc4b51bcb2daa7271c884cb83bf8bdba6d3a9b6d.zip |
Use NTSTATUS as return value for smb_register_*() functions and init_module()
function. Patch by metze with some minor modifications.
Diffstat (limited to 'source/include')
-rw-r--r-- | source/include/rpc_misc.h | 2 | ||||
-rw-r--r-- | source/include/smb.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/include/rpc_misc.h b/source/include/rpc_misc.h index 77104894351..d04a84d5083 100644 --- a/source/include/rpc_misc.h +++ b/source/include/rpc_misc.h @@ -26,7 +26,7 @@ #ifndef _RPC_MISC_H /* _RPC_MISC_H */ #define _RPC_MISC_H - +#define SMB_RPC_INTERFACE_VERSION 1 /* well-known RIDs - Relative IDs */ diff --git a/source/include/smb.h b/source/include/smb.h index 62cc95ecb08..5ee6b971721 100644 --- a/source/include/smb.h +++ b/source/include/smb.h @@ -1736,6 +1736,6 @@ typedef struct { #include "popt_common.h" /* Module support */ -typedef int (init_module_function) (void); +typedef NTSTATUS (init_module_function) (void); #endif /* _SMB_H */ |