First round of merging various UUID structures.
commit523444b7b69fd14798a70cbf98b4f5f0177bfd2a
authorJim McDonough <jmcd@samba.org>
Thu, 30 Oct 2003 16:38:39 +0000 (30 16:38 +0000)
committerJim McDonough <jmcd@samba.org>
Thu, 30 Oct 2003 16:38:39 +0000 (30 16:38 +0000)
tree66f9e9607d09c56516366e1c0c88a46f49247822
parent11e6f4b5185f6d3ee4e8c91cf598839a7f1d5002
First round of merging various UUID structures.

This eliminates RPC_UUID.  It creates the following struct:

struct uuid
{
  uint32 time_low;
  uint16 time_mid;
  uint16 time_hi_and_version;
  uint8  clock_seq[2];
  uint8  node[6];
};
which replaces RPC_UUID and various random struct uuid definitions

and a flat version:
#define UUID_FLAT_SIZE 16
typedef struct uuid_flat
{
uint8 info[UUID_FLAT_SIZE];
} UUID_FLAT;

which pretty much looks like GUID (which I will start eliminating).

I want us to use the FLAT one only on the wire (perhaps in files, too?), and
I want it to be obvious to the coder that it is the FLAT version.

This leaves a couple of compiler warnings, where GUID isn't completely
replaced by FLAT_UUID yet...I'll get to those soon.
(This used to be commit 1532b5d2e3c61df232b16394acedf6eac387588b)
17 files changed:
source3/include/ntdomain.h
source3/include/rpc_dce.h
source3/include/rpc_ds.h
source3/include/rpc_epmapper.h
source3/lib/util_sid.c
source3/lib/util_uuid.c
source3/libads/ldap.c
source3/passdb/secrets.c
source3/rpc_parse/parse_ds.c
source3/rpc_parse/parse_epmapper.c
source3/rpc_parse/parse_rpc.c
source3/rpc_server/srv_epmapper_nt.c
source3/rpc_server/srv_pipe.c
source3/rpc_server/srv_spoolss_nt.c
source3/rpcclient/cmd_epmapper.c
source3/rpcclient/cmd_lsarpc.c
source3/utils/net_ads_cldap.c