git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a30361e
)
Add LIBNETAPI_LOCAL_SERVER() macro.
author
Günther Deschner
<gd@samba.org>
Fri, 25 Jan 2008 14:46:11 +0000
(15:46 +0100)
committer
Günther Deschner
<gd@samba.org>
Fri, 25 Jan 2008 16:21:29 +0000
(17:21 +0100)
Guenther
(This used to be commit
4bdcf07bcc3aaf7c3f7245cfdda06433bcf4ae60
)
source3/lib/netapi/netapi.h
patch
|
blob
|
history
diff --git
a/source3/lib/netapi/netapi.h
b/source3/lib/netapi/netapi.h
index c2f1b488db798252f8003b09017b3f39b9e1dcb6..002fc37762038cbbfe55bafe5e52cc9cc6421941 100644
(file)
--- a/
source3/lib/netapi/netapi.h
+++ b/
source3/lib/netapi/netapi.h
@@
-36,6
+36,11
@@
/****************************************************************
****************************************************************/
+#define LIBNETAPI_LOCAL_SERVER(x) (!x || is_myname_or_ipaddr(x))
+
+/****************************************************************
+****************************************************************/
+
struct libnetapi_ctx {
char *debuglevel;
char *error_string;