diff options
author | Volker Lendecke <vlendec@samba.org> | 2007-01-31 13:47:37 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:17:34 -0500 |
commit | c24854433a28cc066072a7107e29aa7fe2bec3c8 (patch) | |
tree | bc27f30c6e3697b6c7ef0d4551b7f5992fccc97d /source/include | |
parent | 65f473d22bd8f3b04becfc0be369758898fdadb6 (diff) | |
download | samba-c24854433a28cc066072a7107e29aa7fe2bec3c8.tar.gz |
r21084: Make the Samba4 files compile in Samba3, not activated yet.
Volker
Diffstat (limited to 'source/include')
-rw-r--r-- | source/include/nt_status.h | 5 | ||||
-rw-r--r-- | source/include/smb.h | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/source/include/nt_status.h b/source/include/nt_status.h index 968657ca44f..471ac47927a 100644 --- a/source/include/nt_status.h +++ b/source/include/nt_status.h @@ -66,6 +66,11 @@ typedef uint32 WERROR; }\ } while (0) +#define NT_STATUS_NOT_OK_RETURN(x) do { \ + if (!NT_STATUS_IS_OK(x)) {\ + return x;\ + }\ +} while (0) /* The top byte in an NTSTATUS code is used as a type field. * Windows only uses value 0xC0 as an indicator for an NT error diff --git a/source/include/smb.h b/source/include/smb.h index 3af3dd63dc5..0fe5a44e3cb 100644 --- a/source/include/smb.h +++ b/source/include/smb.h @@ -446,6 +446,11 @@ struct notify_change { }; struct notify_mid_map; +struct sys_notify_backend; +struct sys_notify_context { + struct event_context *ev; + void *private_data; +}; struct notify_change_request { struct notify_change_request *prev, *next; |