svn commit: samba r25193 - in branches/SAMBA_4_0: . source
source/auth/credentials source/lib/registry source/lib/util
jelmer at samba.org
jelmer at samba.org
Sun Sep 16 19:14:47 GMT 2007
Author: jelmer
Date: 2007-09-16 19:14:46 +0000 (Sun, 16 Sep 2007)
New Revision: 25193
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25193
Log:
Update headers to easy use by external apps.
Modified:
branches/SAMBA_4_0/
branches/SAMBA_4_0/source/auth/credentials/credentials.h
branches/SAMBA_4_0/source/headermap.txt
branches/SAMBA_4_0/source/lib/registry/hive.h
branches/SAMBA_4_0/source/lib/registry/interface.c
branches/SAMBA_4_0/source/lib/registry/local.c
branches/SAMBA_4_0/source/lib/registry/registry.h
branches/SAMBA_4_0/source/lib/registry/util.c
branches/SAMBA_4_0/source/lib/util/data_blob.h
branches/SAMBA_4_0/source/lib/util/time.h
Changeset:
Property changes on: branches/SAMBA_4_0
___________________________________________________________________
Name: bzr:revision-info
...skipped...
Name: bzr:revision-id:v3-trunk0
...skipped...
Modified: branches/SAMBA_4_0/source/auth/credentials/credentials.h
===================================================================
--- branches/SAMBA_4_0/source/auth/credentials/credentials.h 2007-09-16 15:12:04 UTC (rev 25192)
+++ branches/SAMBA_4_0/source/auth/credentials/credentials.h 2007-09-16 19:14:46 UTC (rev 25193)
@@ -22,6 +22,7 @@
#ifndef __CREDENTIALS_H__
#define __CREDENTIALS_H__
+#include "util/data_blob.h"
#include "librpc/gen_ndr/misc.h"
struct ccache_container;
Modified: branches/SAMBA_4_0/source/headermap.txt
===================================================================
--- branches/SAMBA_4_0/source/headermap.txt 2007-09-16 15:12:04 UTC (rev 25192)
+++ branches/SAMBA_4_0/source/headermap.txt 2007-09-16 19:14:46 UTC (rev 25193)
@@ -4,7 +4,6 @@
lib/util/util.h: util.h
lib/util/debug.h: util/debug.h
lib/util/mutex.h: util/mutex.h
-nt_status.h: core/nt_status.h
lib/util/byteorder.h: util/byteorder.h
lib/util/safe_string.h: util/safe_string.h
lib/util/xfile.h: util/xfile.h
Modified: branches/SAMBA_4_0/source/lib/registry/hive.h
===================================================================
--- branches/SAMBA_4_0/source/lib/registry/hive.h 2007-09-16 15:12:04 UTC (rev 25192)
+++ branches/SAMBA_4_0/source/lib/registry/hive.h 2007-09-16 19:14:46 UTC (rev 25193)
@@ -23,6 +23,7 @@
#include <talloc.h>
#include "librpc/gen_ndr/security.h"
+#include "libcli/util/nt_status.h"
/**
* This file contains the hive API. This API is generally used for
Modified: branches/SAMBA_4_0/source/lib/registry/interface.c
===================================================================
--- branches/SAMBA_4_0/source/lib/registry/interface.c 2007-09-16 15:12:04 UTC (rev 25192)
+++ branches/SAMBA_4_0/source/lib/registry/interface.c 2007-09-16 19:14:46 UTC (rev 25193)
@@ -104,11 +104,9 @@
* Get value by index
*/
_PUBLIC_ WERROR reg_key_get_value_by_index(TALLOC_CTX *mem_ctx,
- const struct registry_key *key,
- uint32_t idx,
- const char **name,
- uint32_t *type,
- DATA_BLOB *data)
+ const struct registry_key *key,
+ uint32_t idx, const char **name,
+ uint32_t *type, DATA_BLOB *data)
{
if (key == NULL)
return WERR_INVALID_PARAM;
Modified: branches/SAMBA_4_0/source/lib/registry/local.c
===================================================================
--- branches/SAMBA_4_0/source/lib/registry/local.c 2007-09-16 15:12:04 UTC (rev 25192)
+++ branches/SAMBA_4_0/source/lib/registry/local.c 2007-09-16 19:14:46 UTC (rev 25193)
@@ -49,10 +49,10 @@
};
-struct registry_key *reg_import_hive_key(struct registry_context *ctx,
- struct hive_key *hive,
- uint32_t predefined_key,
- const char **elements)
+struct registry_key *reg_import_hive_key(struct registry_context *ctx,
+ struct hive_key *hive,
+ uint32_t predefined_key,
+ const char **elements)
{
struct local_key *local_key;
struct reg_key_path parent_path;
Modified: branches/SAMBA_4_0/source/lib/registry/registry.h
===================================================================
--- branches/SAMBA_4_0/source/lib/registry/registry.h 2007-09-16 15:12:04 UTC (rev 25192)
+++ branches/SAMBA_4_0/source/lib/registry/registry.h 2007-09-16 19:14:46 UTC (rev 25193)
@@ -26,6 +26,7 @@
#include <talloc.h>
#include "librpc/gen_ndr/security.h"
#include "lib/registry/hive.h"
+#include "libcli/util/nt_status.h"
/* Handles for the predefined keys */
#define HKEY_CLASSES_ROOT 0x80000000
Modified: branches/SAMBA_4_0/source/lib/registry/util.c
===================================================================
--- branches/SAMBA_4_0/source/lib/registry/util.c 2007-09-16 15:12:04 UTC (rev 25192)
+++ branches/SAMBA_4_0/source/lib/registry/util.c 2007-09-16 19:14:46 UTC (rev 25193)
@@ -51,7 +51,7 @@
}
_PUBLIC_ char *reg_val_data_string(TALLOC_CTX *mem_ctx, uint32_t type,
- const DATA_BLOB data)
+ const DATA_BLOB data)
{
char *ret = NULL;
Modified: branches/SAMBA_4_0/source/lib/util/data_blob.h
===================================================================
--- branches/SAMBA_4_0/source/lib/util/data_blob.h 2007-09-16 15:12:04 UTC (rev 25192)
+++ branches/SAMBA_4_0/source/lib/util/data_blob.h 2007-09-16 19:14:46 UTC (rev 25193)
@@ -24,6 +24,7 @@
#endif
#include <talloc.h>
+#include <stdint.h>
/* used to hold an arbitrary blob of data */
typedef struct datablob {
Modified: branches/SAMBA_4_0/source/lib/util/time.h
===================================================================
--- branches/SAMBA_4_0/source/lib/util/time.h 2007-09-16 15:12:04 UTC (rev 25192)
+++ branches/SAMBA_4_0/source/lib/util/time.h 2007-09-16 19:14:46 UTC (rev 25193)
@@ -19,6 +19,10 @@
#ifndef _SAMBA_TIME_H_
#define _SAMBA_TIME_H_
+#ifndef _PUBLIC_
+#define _PUBLIC_
+#endif
+
/* 64 bit time (100 nanosec) 1601 - cifs6.txt, section 3.5, page 30, 4 byte aligned */
typedef uint64_t NTTIME;
More information about the samba-cvs
mailing list