r5034: - added a type mapping function in pidl, so the type names in our IDL
authorAndrew Tridgell <tridge@samba.org>
Thu, 27 Jan 2005 06:16:59 +0000 (06:16 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:09:15 +0000 (13:09 -0500)
commit3dd17f128831e09c230a8d56e34495d3b31dbacb
tree962c0357cf7e14bf2c7950461185d0a9d35b1c96
parent00169404eddd859262ef6f0684143efbedcd7bf7
r5034: - added a type mapping function in pidl, so the type names in our IDL
  files don't need to match the type names in the generated headers

- with this type mapping we no longer need definitions for the
  deprecated "int32", "uint8" etc form of types. We can now force
  everyone to use the standard types int32_t, uint8_t etc.

- fixed all the code that used the deprecated types

- converted the IDL types "int64" and "uint64" to "dlong" and
  "udlong". These are the 4 byte aligned 64 bit integers that
  Microsoft internally define as two 32 bit integers in a
  structure. After discussions with Ronnie Sahlberg we decided that
  calling these "int64" was confusing, as it implied a true 8 byte
  aligned type

- fixed all the cases where we incorrectly used things like
  "NTTIME_hyper" in our C code. The generated API now uses a NTTIME for
  those. The fact that it is hyper-aligned on the wire is not relevant
  to the API, and should remain just a IDL property
(This used to be commit f86521677d7ff16bdc4815f9524e5286026f10f3)
18 files changed:
source4/build/pidl/eparser.pm
source4/build/pidl/header.pm
source4/build/pidl/parser.pm
source4/build/pidl/util.pm
source4/include/includes.h
source4/include/smb.h
source4/lib/dcom/common/dcom.h
source4/lib/dcom/common/main.c
source4/libcli/ldap/ldap.h
source4/librpc/idl/netlogon.idl
source4/librpc/idl/samr.idl
source4/librpc/idl/xattr.idl
source4/librpc/ndr/libndr.h
source4/librpc/ndr/ndr_basic.c
source4/rpc_server/dcom/oxidresolver.c
source4/rpc_server/lsa/dcesrv_lsa.c
source4/torture/rpc/drsuapi.c
source4/torture/rpc/oxidresolve.c