summaryrefslogtreecommitdiff
path: root/source4/include
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-12-23 12:29:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:47:40 -0500
commit52728b7d416f7837fc3460a9e131355094649b15 (patch)
tree186bb015efcda9ce5e602c76fb26f1e8747e5a10 /source4/include
parent4bbb73894c7e30a33cda97480e42aadb6fa56c92 (diff)
downloadsamba-52728b7d416f7837fc3460a9e131355094649b15.tar.gz
samba-52728b7d416f7837fc3460a9e131355094649b15.tar.bz2
samba-52728b7d416f7837fc3460a9e131355094649b15.zip
r12446: Merge mkproto.sh's functionality into mkproto.pl
Allow specifying the _PUBLIC_ keyword on functions to indicate a function is public. Public prototypes can now be written to a seperate header, although this functionality is not used yet. (This used to be commit e3466df6dfb62bbf8bee3acfa92996945054c2dd)
Diffstat (limited to 'source4/include')
-rw-r--r--source4/include/includes.h2
-rw-r--r--source4/include/structs.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/source4/include/includes.h b/source4/include/includes.h
index 18fc38031c..9f5679fa80 100644
--- a/source4/include/includes.h
+++ b/source4/include/includes.h
@@ -160,4 +160,6 @@ extern int DEBUGLEVEL;
#define discard_const(ptr) ((void *)((intptr_t)(ptr)))
#define discard_const_p(type, ptr) ((type *)discard_const(ptr))
+#define _PUBLIC_
+
#endif /* _INCLUDES_H */
diff --git a/source4/include/structs.h b/source4/include/structs.h
index b652579edd..a7dd758b5c 100644
--- a/source4/include/structs.h
+++ b/source4/include/structs.h
@@ -370,3 +370,5 @@ struct smb2_handle;
struct com_context;
struct IUnknown;
struct IUnknown_vtable;
+
+struct MprVar;