1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s3:registry: move reg_objects.h to registry/ and use it only where needed

Every place outside of registry/ where this is used, should probably
be changed to use pure reg_api.c code.
This commit is contained in:
Michael Adam 2010-05-25 01:00:37 +02:00
parent 552e505cee
commit 0fe1ff99a1
24 changed files with 22 additions and 3 deletions

View File

@ -1,8 +1,6 @@
#ifndef _REGISTRY_H
#define _REGISTRY_H
#include "reg_objects.h"
/*
* A REG_SZ string is not necessarily NULL terminated. When retrieving it from
* the net, we guarantee this however. A server might want to push it without

View File

@ -21,6 +21,7 @@
#include "../librpc/gen_ndr/cli_spoolss.h"
#include "rpc_client/cli_spoolss.h"
#include "registry.h"
#include "registry/reg_objects.h"
#ifdef HAVE_ADS

View File

@ -23,6 +23,7 @@
#include "librpc/gen_ndr/messaging.h"
#include "printing/pcap.h"
#include "registry.h"
#include "registry/reg_objects.h"
static TDB_CONTEXT *tdb_forms; /* used for forms files */
static TDB_CONTEXT *tdb_drivers; /* used for driver files */

View File

@ -70,6 +70,7 @@
#include "reg_backend_db.h"
#include "reg_dispatcher.h"
#include "reg_util_marshalling.h"
#include "reg_objects.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_REGISTRY

View File

@ -27,6 +27,7 @@
#include "includes.h"
#include "registry.h"
#include "reg_util_internal.h"
#include "reg_objects.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_REGISTRY

View File

@ -25,6 +25,7 @@
#include "reg_db.h"
#include "reg_util_internal.h"
#include "reg_backend_db.h"
#include "reg_objects.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_REGISTRY

View File

@ -27,6 +27,7 @@
#include "includes.h"
#include "registry.h"
#include "reg_perfcount.h"
#include "reg_objects.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_REGISTRY

View File

@ -26,6 +26,7 @@
#include "includes.h"
#include "registry.h"
#include "reg_objects.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_REGISTRY

View File

@ -28,6 +28,7 @@
#include "registry.h"
#include "reg_util_internal.h"
#include "reg_perfcount.h"
#include "reg_objects.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_REGISTRY

View File

@ -23,6 +23,7 @@
#include "registry.h"
#include "reg_util_internal.h"
#include "reg_backend_db.h"
#include "reg_objects.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_REGISTRY

View File

@ -26,6 +26,7 @@
#include "includes.h"
#include "registry.h"
#include "reg_objects.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_REGISTRY

View File

@ -21,6 +21,7 @@
#include "includes.h"
#include "registry.h"
#include "reg_objects.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_REGISTRY

View File

@ -26,6 +26,7 @@
#include "includes.h"
#include "registry.h"
#include "reg_objects.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_REGISTRY

View File

@ -24,6 +24,7 @@
#include "registry.h"
#include "reg_backend_db.h"
#include "reg_eventlog.h"
#include "reg_objects.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_REGISTRY

View File

@ -21,6 +21,7 @@
#include "includes.h"
#include "registry.h"
#include "reg_objects.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_REGISTRY

View File

@ -22,6 +22,7 @@
#include "includes.h"
#include "../librpc/gen_ndr/srv_ntsvcs.h"
#include "registry.h"
#include "registry/reg_objects.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_RPC_SRV

View File

@ -32,6 +32,7 @@
#include "rpc_client/init_spoolss.h"
#include "librpc/gen_ndr/messaging.h"
#include "registry.h"
#include "registry/reg_objects.h"
/* macros stolen from s4 spoolss server */
#define SPOOLSS_BUFFER_UNION(fn,info,level) \

View File

@ -26,6 +26,7 @@
#include "../librpc/gen_ndr/srv_svcctl.h"
#include "services/services.h"
#include "registry.h"
#include "registry/reg_objects.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_RPC_SRV

View File

@ -28,6 +28,7 @@
#include "rpc_client/cli_spoolss.h"
#include "rpc_client/init_spoolss.h"
#include "registry.h"
#include "registry/reg_objects.h"
#define RPCCLIENT_PRINTERNAME(_printername, _cli, _arg) \
{ \

View File

@ -25,6 +25,7 @@
#include "registry.h"
#include "registry/reg_util_legacy.h"
#include "registry/reg_dispatcher.h"
#include "registry/reg_objects.h"
struct rcinit_file_information {
char *description;

View File

@ -21,6 +21,7 @@
#include "../librpc/gen_ndr/cli_spoolss.h"
#include "rpc_client/cli_spoolss.h"
#include "registry.h"
#include "registry/reg_objects.h"
/* support itanium as well */
static const struct print_architecture_table_node archi_table[]= {

View File

@ -24,6 +24,7 @@
#include "regfio.h"
#include "../librpc/gen_ndr/cli_winreg.h"
#include "registry/reg_util_marshalling.h"
#include "registry/reg_objects.h"
/*******************************************************************
connect to a registry hive root (open a registry policy)

View File

@ -20,7 +20,7 @@
*/
#include "includes.h"
#include "reg_objects.h"
#include "registry/reg_objects.h"
#include "regfio.h"
/* GLOBAL VARIABLES */