From d875327b10ca0fd3d548b4e9088ffcc7ef421baf Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 18 Mar 2012 18:46:18 +0100 Subject: Move NS_GUID_string and NS_GUID_from_string to dsdb-common. --- source4/dsdb/common/util.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'source4/dsdb/common/util.h') diff --git a/source4/dsdb/common/util.h b/source4/dsdb/common/util.h index 5ec19fb776..c16ce81c2c 100644 --- a/source4/dsdb/common/util.h +++ b/source4/dsdb/common/util.h @@ -19,6 +19,9 @@ along with this program. If not, see . */ +#ifndef __DSDB_COMMON_UTIL_H__ +#define __DSDB_COMMON_UTIL_H__ + /* flags for dsdb_request_add_controls(). For the module functions, the upper 16 bits are in dsdb/samdb/ldb_modules/util.h @@ -57,3 +60,10 @@ bool is_attr_in_list(const char * const * attrs, const char *attr); #define DSDB_SECRET_ATTRIBUTES_COMMA , #define DSDB_SECRET_ATTRIBUTES DSDB_SECRET_ATTRIBUTES_EX(DSDB_SECRET_ATTRIBUTES_COMMA) + +struct GUID; + +char *NS_GUID_string(TALLOC_CTX *mem_ctx, const struct GUID *guid); +NTSTATUS NS_GUID_from_string(const char *s, struct GUID *guid); + +#endif /* __DSDB_COMMON_UTIL_H__ */ -- cgit