First round of merging various UUID structures.
authorJim McDonough <jmcd@samba.org>
Thu, 30 Oct 2003 16:38:39 +0000 (16:38 +0000)
committerJim McDonough <jmcd@samba.org>
Thu, 30 Oct 2003 16:38:39 +0000 (16:38 +0000)
commit1532b5d2e3c61df232b16394acedf6eac387588b
treee890ae3921cb0d1c3ada79415f04e0ce9c7102de
parent2cc43e760b02f2088a0222d1f5080913a96f3e5a
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.
17 files changed:
source/include/ntdomain.h
source/include/rpc_dce.h
source/include/rpc_ds.h
source/include/rpc_epmapper.h
source/lib/util_sid.c
source/lib/util_uuid.c
source/libads/ldap.c
source/passdb/secrets.c
source/rpc_parse/parse_ds.c
source/rpc_parse/parse_epmapper.c
source/rpc_parse/parse_rpc.c
source/rpc_server/srv_epmapper_nt.c
source/rpc_server/srv_pipe.c
source/rpc_server/srv_spoolss_nt.c
source/rpcclient/cmd_epmapper.c
source/rpcclient/cmd_lsarpc.c
source/utils/net_ads_cldap.c